Setup Sass for Bootstrap and Darkly theme

Genre graph stopped showing up for whatever reason.
This commit is contained in:
2018-11-18 02:48:24 -05:00
parent a7e4c151cf
commit 4ff1bc6744
101 changed files with 14022 additions and 45 deletions

View File

@@ -142,7 +142,8 @@ def get_artist_data(request, user_secret):
filter=Q(track__users=user)))
processed_artist_counts = [{'name': artist.name, 'num_songs': artist.num_songs}
for artist in artist_counts]
pprint(processed_artist_counts)
if CONSOLE_LOGGING:
pprint(processed_artist_counts)
return JsonResponse(data=processed_artist_counts, safe=False)
# }}} get_artist_data #
@@ -207,8 +208,9 @@ def get_genre_data(request, user_secret):
},...
]
'''
print("*** Genre Breakdown ***")
pprint(list(genre_counts))
if CONSOLE_LOGGING:
print("*** Genre Breakdown ***")
pprint(list(genre_counts))
return JsonResponse(data=list(genre_counts), safe=False)
# }}} get_genre_data #