Skip to content

Commit

Permalink
update models.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hoosnick committed Aug 25, 2023
1 parent 2ad5c1e commit 56f8b51
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/shop/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@


class CustomOrderModel(BaseOrder):
user_id = models.IntegerField(null=True, blank=True)
# other fields...
user_id = models.IntegerField(null=True, blank=True) # other fields...

def __str__(self):
return f"ORDER ID: {self.id} - AMOUNT: {self.amount}"

0 comments on commit 56f8b51

Please sign in to comment.