- Timestamp:
- 05/03/25 18:16:27 (2 weeks ago)
- Branches:
- master
- Children:
- 77b2536
- Parents:
- 59b2e9c
- Location:
- music
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
music/views.py
r59b2e9c rac66823 19 19 return redirect('home_page') 20 20 21 ## LIST OF ALL ## 21 22 def album_list(request): 22 23 heading = request.GET.get('model', 'All Albums') … … 38 39 39 40 40 # VIEWS41 ## VIEWS ## 41 42 def tracks_count_per_genre(request): 42 43 with connection.cursor() as cursor: … … 108 109 return render(request, 'most_listened_genre_per_customer.html', {'data': data}) 109 110 111 112 ## QUERRIES ## 110 113 111 114 def genres_per_customer(request):
Note:
See TracChangeset
for help on using the changeset viewer.