diff --git a/AUTHORS.rst b/AUTHORS.rst index d6ce322..cfc5e20 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -18,3 +18,4 @@ Developers * Chris Lawlor (@chrislawlor) * Ben Tappin * Allison Kapture (@akapture) +* Roman Gladkov (@d1ffuz0r / d1fffuz0r@gmail.com) \ No newline at end of file diff --git a/djadmin2/core.py b/djadmin2/core.py index 4631d40..46a01e9 100644 --- a/djadmin2/core.py +++ b/djadmin2/core.py @@ -145,7 +145,7 @@ class Admin2(object): url( regex=r'^api/v0/$', view=self.api_index_view.as_view(**self.get_api_index_kwargs()), - name='api-index' + name='api_index' ), ) diff --git a/djadmin2/templates/admin2/bootstrap/base.html b/djadmin2/templates/admin2/bootstrap/base.html index 33178a2..6167490 100644 --- a/djadmin2/templates/admin2/bootstrap/base.html +++ b/djadmin2/templates/admin2/bootstrap/base.html @@ -16,7 +16,7 @@ Django-Admin2