Changeset 4abe330 for music/views.py


Ignore:
Timestamp:
05/01/25 12:32:20 (3 weeks ago)
Author:
ManuelTrajcev <manueltrajcev7@…>
Branches:
master
Children:
59b2e9c
Parents:
611686e
Message:

rank_list_artists view update + bootstrap styling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • music/views.py

    r611686e r4abe330  
    7979        rows = cursor.fetchall()
    8080
    81     data = [{'name': row[0], 'num_invoices': row[1]} for row in rows]
     81    data = [{'name': row[0], 'num_invoices': row[1], 'money_earned': row[2]} for row in rows]
    8282
    8383    return render(request, 'rank_list_artists.html', {'data': data})
Note: See TracChangeset for help on using the changeset viewer.