Forráskód Böngészése

Fix custom menu command

Denis K 8 éve
szülő
commit
782b5a206d
1 módosított fájl, 1 hozzáadás és 0 törlés
  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