Add attributes favorites page
- create many-to-many relationships between the user table and attributes tables (manufacturer / model / location / status / action) - add a checkbox as the first column of the attributes table to add or remove an attribute to the favorites - add a new page to display the favorite attributes JIRA INFRA-283
Showing
- app/inventory/views.py 56 additions, 2 deletionsapp/inventory/views.py
- app/models.py 67 additions, 0 deletionsapp/models.py
- app/static/js/attributes.js 48 additions, 0 deletionsapp/static/js/attributes.js
- app/templates/inventory/attributes.html 7 additions, 1 deletionapp/templates/inventory/attributes.html
- app/templates/inventory/attributes_favorites.html 16 additions, 0 deletionsapp/templates/inventory/attributes_favorites.html
- app/utils.py 11 additions, 0 deletionsapp/utils.py
- migrations/versions/a73eeb144fa1_add_user_favorite_attributes_tables.py 67 additions, 0 deletions...sions/a73eeb144fa1_add_user_favorite_attributes_tables.py
- tests/functional/test_models.py 17 additions, 0 deletionstests/functional/test_models.py
Please register or sign in to comment