Skip to content

Commit

Permalink
removed pk from user model
Browse files Browse the repository at this point in the history
  • Loading branch information
raftmsohani committed Jul 12, 2023
1 parent 591ecea commit 84db6ac
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tdrs-backend/tdpservice/users/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,7 @@ class AccountApprovalStatusChoices(models.TextChoices):

class User(AbstractUser):
"""Define user fields and methods."""

class Meta:
"""Define meta user model attributes."""

ordering = ['pk']


id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)

stt = models.ForeignKey(
Expand Down

0 comments on commit 84db6ac

Please sign in to comment.