소스 검색

Fix custom menu command

Denis K 8 년 전
부모
커밋
782b5a206d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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