Explorar o código

Fix custom menu command

Denis K %!s(int64=8) %!d(string=hai) anos
pai
achega
782b5a206d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      jet/management/commands/jet_custom_apps_example.py

+ 1 - 0
jet/management/commands/jet_custom_apps_example.py

@@ -10,6 +10,7 @@ class Command(NoArgsCommand):
         class User:
             is_active = True
             is_staff = True
+            is_superuser = True
 
             def has_module_perms(self, app):
                 return True