mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-16 02:48:00 +02:00
Transform UserSettings into a normal django model
This commit is contained in:
@ -29,5 +29,4 @@ class Command(BaseCommand):
|
||||
def handle(self, *args, **options):
|
||||
"""handle command line"""
|
||||
for u in User.objects.all():
|
||||
UserSettings.objects.get_or_create(user=u,
|
||||
defaults={'settings': DEFAULT_USER_SETTINGS})
|
||||
UserSettings.objects.get_or_create(user=u)
|
||||
|
Reference in New Issue
Block a user