clone cms with menus, make menus standalone app

This commit is contained in:
bruks 2026-09-30 15:27:04 +01:00
commit afb096b7a3
1153 changed files with 318897 additions and 37 deletions

View file

@ -1,4 +1,4 @@
from django.utils.translation import ugettext as _
from django.utils.translation import gettext as _
from django.db import models
# Old: http://xml.coverpages.org/country3166.html

View file

@ -40,7 +40,7 @@ class BillingAddress(BaseBillingAddress):
class UserBillingAddress(BaseBillingAddress):
user = models.ForeignKey(CustomUser, related_name='billing_addresses')
user = models.ForeignKey(CustomUser, related_name='billing_addresses', on_delete=models.SET_NULL)
current = models.BooleanField(default=True)
def __str__(self):