Parcourir la source

Fix custom menu command

Denis K il y a 8 ans
Parent
commit
782b5a206d
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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