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

Rename DataBase Models name #42

Open
DiptoChakrabarty opened this issue Sep 30, 2021 · 0 comments
Open

Rename DataBase Models name #42

DiptoChakrabarty opened this issue Sep 30, 2021 · 0 comments

Comments

@DiptoChakrabarty
Copy link
Owner

DiptoChakrabarty commented Sep 30, 2021

Currently the database models defined in resume/models.py are lowercase model names (eg experience , education etc)

It would be good if these model names were modified to something like this EducationModel , ExperienceModel etc.
A tablename should be added to these models and also the corresponding models names in other parts of the code should be modified similarly.

The different models present are

  • userdetails
  • education
  • experience
  • projects
  • skills
  • achievements

To contribute send a PR with modifications in one of the above mentioned models of your choice , do not modify multiple models at a single PR.

Check UserModel

class UserModel(db.Model,UserMixin):
which currently has been modified for this and the routes and forms are making use of the new model name in the other files

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

No branches or pull requests

1 participant