This pull request introduces several new features and improvements to the access_amherst_backend project, including enhanced event filtering, a new calendar view, and additional template updates. Below are the key changes:
New Features:
Added functions to filter events by category and retrieve unique categories in parse_database.py.
Introduced a new calendar view in views.py and corresponding URL route in urls.py. [1][2]
Template Updates:
Created a new calendar.html template to display events in a weekly calendar view.
Updated home.html, dashboard.html, and map.html templates to include a link to the new calendar view. [1][2][3]
Enhanced home.html to include a category filter dropdown.
Codebase Simplification:
Removed deprecated views related to database commands in views.py and their corresponding URL routes in urls.py. [1][2]
Testing:
Added tests for the new category filtering functions and created a factory fixture for event creation in test_parse_database.py. [1][2]
These changes collectively improve the functionality and user experience of the event management system.…Category Filter to Homepage
This pull request introduces several new features and improvements to the
access_amherst_backend
project, including enhanced event filtering, a new calendar view, and additional template updates. Below are the key changes:New Features:
parse_database.py
.views.py
and corresponding URL route inurls.py
. [1] [2]Template Updates:
calendar.html
template to display events in a weekly calendar view.home.html
,dashboard.html
, andmap.html
templates to include a link to the new calendar view. [1] [2] [3]home.html
to include a category filter dropdown.Codebase Simplification:
views.py
and their corresponding URL routes inurls.py
. [1] [2]Testing:
test_parse_database.py
. [1] [2]These changes collectively improve the functionality and user experience of the event management system.…Category Filter to Homepage