Work on admin interface
This commit is contained in:
1 parent
81fe4a6872
commit
11fb603036
233 files changed
+48519
-7
No files matched your search
@@ -154,7 +154,6 @@ AUTH_LDAP_E_ALWAYS_UPDATE_USER = AUTH_LDAP_U_ALWAYS_UPDATE_USER
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||
'rest_framework.authentication.BasicAuthentication',
|
||||
'rest_framework.authentication.SessionAuthentication',
|
||||
)
|
||||
}
|
||||
|
||||
@@ -7,7 +7,8 @@ urlpatterns = patterns(
|
||||
url(r'^$', 'mailadmin.views.home', name='home'),
|
||||
url(r'^api/', include('mailadmin.urls')),
|
||||
url(r'^admin/', include(admin.site.urls)),
|
||||
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))
|
||||
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework')),
|
||||
url(r'^/logout/$', 'django.contrib.auth.views.logout', name='logout')
|
||||
)
|
||||
|
||||
urlpatterns += staticfiles_urlpatterns()
|
||||
Reference in new issue
Block a user