Skip to content

Commit 2fbf48a

Browse files
Upgraded admin UI to django jet
1 parent d940f9f commit 2fbf48a

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

requirements/base.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ gunicorn
99
psycopg2
1010
python-memcached
1111
django-simple-history
12-
isort
12+
isort
13+
django-jet

sso/settings.py

+2
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@
7171
}
7272

7373
INSTALLED_APPS = (
74+
'jet.dashboard',
75+
'jet',
7476
'django.contrib.admin',
7577
'django.contrib.auth',
7678
'django.contrib.contenttypes',

sso/urls.py

+4
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,17 @@
2525
import application.urls
2626
import user_resource.urls
2727
import widget.urls
28+
import jet.urls
29+
import jet.dashboard.urls
2830

2931
from .views import DocView, IndexView
3032

3133
urlpatterns = [
3234
url(r'^$', IndexView.as_view(), name='index'),
3335
url(r'^doc/$', DocView.as_view(), name='doc'),
3436
url(r'^doc/(?P<tab>[\w-]+\w+)/$', DocView.as_view(), name='doc'),
37+
url(r'^jet/', include(jet.urls, namespace='jet')),
38+
url(r'^jet/dashboard/', include(jet.dashboard.urls, namespace='jet-dashboard')),
3539
url(r'^admin/', include(admin.site.urls)),
3640
url(r'^oauth/', include(application.urls, namespace='oauth')),
3741
url(r'^oauth/', include(oauth2_provider.urls, namespace='oauth2_provider')),

0 commit comments

Comments
 (0)