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

Added preferences page which allows user to save their own preferences #47

Closed
wants to merge 8 commits into from

Conversation

Icyviolet23
Copy link

@Icyviolet23 Icyviolet23 commented Dec 4, 2023

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
  2. Added view to handle Preferences Form POST request, create an instance of the Preferences model and save it in the DB
  3. Created HTML Template for preferences page
  4. Edited HTML template for navigation.html to add navigation to preferences page

Refer to the following DEMO:
https://www.youtube.com/watch?v=pluG9xmyShA

Icyviolet23 and others added 8 commits November 28, 2023 21:52
…tch preferences and display them according. Added model form to allow users to customize their own preferences dynamically
…er preferences. The mode will be automatically set to the correpsonding preferred mode
Integrated Kyle's changes with my work
Copy link

codeclimate bot commented Dec 7, 2023

Code Climate has analyzed commit 39f0cc9 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.

@Icyviolet23 Icyviolet23 closed this Dec 8, 2023
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.

2 participants