Skip to content

Commit e22927d

Browse files
fixing general issue
1 parent 79a79bb commit e22927d

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

favourite/models/customer_favourite.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ class CustomerFavourite(BaseModel):
99
branch = models.ForeignKey(
1010
Branch, related_name="customer_favourites", on_delete=models.CASCADE
1111
)
12-
item = models.ForeignKey(Item, related_name="favourites", on_delete=models.CASCADE)
12+
item = models.ForeignKey(
13+
Item, related_name="customer_favourites", on_delete=models.CASCADE
14+
)
1315
note = models.CharField(max_length=200, blank=True, null=True)
1416

1517
def __str__(self):

favourite/urls.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
urlpatterns = []

order/enums/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
from .status import SeatStatus
1+
from .status import OrderStatus
22

3-
__all__ = [SeatStatus]
3+
__all__ = [OrderStatus]

seat/apps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from django.apps import AppConfig
22

33

4-
class OrderConfig(AppConfig):
5-
name = "order"
4+
class SeatConfig(AppConfig):
5+
name = "seat"

0 commit comments

Comments
 (0)