Closed czheng10 closed 2 years ago
@czheng10 Is this ready to go?
@czheng10 Is this ready to go?
@anastasia yep, just communicating with @nfrieden on making this a pull request.
Edit: just spoke to Nadia, this is ready to go!
Please add the necessary commands to run to make your code work in your description of the PR. Thanks @nfrieden for the heads up!
Excellent work @czheng10 and @nfrieden! Merging
Organizes the paths in urls.py, deleting paths that will no longer be used in the new website, as well as adding new paths for new pages that now exist. Similarly, new methods added to views.py, as well as removing methods may no longer be needed. base.html navbar and index.js also updated to match changes.
To get tags to work, run
python manage.py runanalysis yolo_model
in your terminal.You will now be able to see live tags on the PhotoView page (they may or may not be accurate to the picture, but that is a database issue!). If you click on a tag, it will take you to a TagView page that displays the correct photos from the analysis.
Note: The JS files for unused pages (ex. AnalysisView.js) still exist in the repo