including mellon's urls when it's enabled
This commit is contained in:
parent
10e8bff81c
commit
3a44ae35fc
|
@ -19,3 +19,8 @@ urlpatterns = patterns('',
|
|||
url(r'^accounts/logout', 'django.contrib.auth.views.logout',
|
||||
{'next_page': '/'}, name='logout'),
|
||||
)
|
||||
|
||||
if 'mellon' in settings.INSTALLED_APPS:
|
||||
urlpatterns += patterns('',
|
||||
url(r'^accounts/mellon', include('mellon.urls')),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue