We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d38fa3 commit bc9bf06Copy full SHA for bc9bf06
django_mongoengine/mongo_admin/sites.py
@@ -4,10 +4,11 @@
4
5
from django_mongoengine.mongo_admin.options import DocumentAdmin
6
from django_mongoengine.forms.document_options import DocumentMetaWrapper
7
-#from django_mongoengine.mongo_admin import actions
+# from django_mongoengine.mongo_admin import actions
8
9
system_check_errors = []
10
11
+
12
class AdminSite(sites.AdminSite):
13
index_template = "mongo_admin/index.html"
14
@@ -30,4 +31,4 @@ def unregister(self, model_or_iterable):
30
31
32
# This global object represents the default admin site, for the common case.
33
# You can instantiate AdminSite in your own code to create a custom admin site.
-site = AdminSite(name="mongoadmin")
34
+site = AdminSite(name="mongo_admin")
0 commit comments