Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created preferences page which allows users to change and store their preferences in the DB #46

Closed
wants to merge 1 commit into from

Conversation

Icyviolet23
Copy link

Resolves bonus in #37

Major changes

  1. Added Preferences Model
  2. Added one to one relation between the Preferences Model and the Abstract User model. Each User will have their own preferences.
  3. Added Preferences ModelForm which will be used to collect user preferences
  4. Added view to handle Preferences Form POST request, create an instance of the Preferences model and save it in the DB
  5. Created HTML Template for preferences page
  6. Edited HTML template for navigation.html to add navigation to preferences page

Refer to the following DEMO:
Uploading Home (1).webm…

…tch preferences and display them according. Added model form to allow users to customize their own preferences dynamically
Copy link

codeclimate bot commented Dec 4, 2023

Code Climate has analyzed commit 251c3a5 and detected 51 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 2
Style 49

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant