Skip to content

Rename DataBase Models name #42

@DiptoChakrabarty

Description

@DiptoChakrabarty

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions