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

feat(core): add rootuser model to models.py #77

Merged
merged 2 commits into from
Aug 30, 2023

Conversation

Roberamelaek
Copy link
Collaborator

Description

add a model called rootuser in backend models.py and make the model student inherit for rootuser

Fixes #76

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

Its tested locally

@Roberamelaek Roberamelaek self-assigned this Aug 25, 2023
@Roberamelaek Roberamelaek changed the title feat(backend): Add rootuser model to models.py feat(core): Add rootuser model to models.py Aug 25, 2023
@Roberamelaek Roberamelaek changed the title feat(core): Add rootuser model to models.py feat(core): add rootuser model to models.py Aug 25, 2023
Copy link
Collaborator

@dinaolmelak dinaolmelak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍🏼

@kirubeltadesse kirubeltadesse marked this pull request as ready for review August 28, 2023 06:37
Copy link
Collaborator

@kirubeltadesse kirubeltadesse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please make some of this changes.

backend/migrations/0002_mainuser_student.py Outdated Show resolved Hide resolved
backend/models.py Outdated Show resolved Hide resolved
backend/tests/test_models.py Show resolved Hide resolved
@kirubeltadesse kirubeltadesse merged commit 6170e9c into Swarmies:develop Aug 30, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat(backend): Add models to backend
3 participants