Browse Source

Django 1.10 / Update jet_custom_apps_example.py (#121)

Thomas Meitz 8 years ago
parent
commit
7dbd0b7e6a
1 changed files with 5 additions and 1 deletions
  1. 5 1
      jet/management/commands/jet_custom_apps_example.py

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

@@ -1,4 +1,8 @@
-from django.core.management.base import NoArgsCommand
+try:
+    from django.core.management.base import NoArgsCommand
+except ImportError:
+    from django.core.management import BaseCommand as NoArgsCommand
+
 from jet.utils import get_app_list