Skip to content

Commit

Permalink
On Customer model set related name back to customer
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed Apr 30, 2020
1 parent 98ae22b commit 83d77b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shop/models/customer.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ class BaseCustomer(with_metaclass(deferred.ForeignKeyBuilder, models.Model)):
settings.AUTH_USER_MODEL,
on_delete=models.CASCADE,
primary_key=True,
related_name='customer',
)

recognized = ChoiceEnumField(
Expand Down

0 comments on commit 83d77b8

Please sign in to comment.