Kevin Mok
9875cbeb68
Moved script to create genre graph to static file
- sorted artists in bar by most to least, bottom to top
- wrap x-axis labels by bar width
- increased track name length (program crashed on a track name)
7 years ago
Chris Shyi
3e35e52f45
Retrieve audio feature data from frontend
Added user_secret field to User. Set up a basic JavaScript function for
querying audio feature data from the frontend.
7 years ago
Kevin Mok
ea5990d048
Fixed duplicate key error in save_track_obj
Can't create Track object without the artists/user so get_or_create
doesn't work properly.
7 years ago
Chris Shyi
92d5d174e8
Modify maximum field length
Artist.genre and Track.name had maximum lengths that were not long enough, now increased.
7 years ago
Chris Shyi
90dbda4336
Removed UserAudioSummary class
7 years ago
Chris Shyi
797115e9cb
Clean up utils.py to use database
Uses of the original library_stats dictionary in utils.py were either removed or commented out, replaced by the saving of models into the database.
7 years ago
Kevin Mok
62cc6c8ccd
Setup AudioFeatures table
7 years ago
Kevin Mok
cdcc33c014
Setup Track table, modified models to data
Recreated migrations from scratch to fix bug with initializing Track
objects.
7 years ago
Chris Shyi
27718743d7
Change artists field in Track
artists is now a ManyToManyField in Track, which is cleaner than
using a unique_together clause in the Meta class.
7 years ago
Chris Shyi
b735887899
Bug fixes
Server crashes as of the last commit, now fixed.
7 years ago
Chris Shyi
248e9b0ab6
Change database settings
Edited settings.py to use PostgreSQL. Made some minor changes
in views.py to incorporate the new models.
7 years ago
Kevin Mok
e07fd0965a
Added Vim folds to models.py and utils.py
7 years ago
Kevin Mok
53b7bb5d41
Started on (flawed) database models
7 years ago
Chris
1f63c2d2e7
Initial commit
Sets up basic Django app directory structure.
7 years ago