mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Various live fixes for views and routing issues
This commit is contained in:
7
urls.py
7
urls.py
@@ -18,8 +18,6 @@ urlpatterns = patterns('',
|
||||
(r'^eve/', include('eve_api.urls')),
|
||||
(r'^eveapi/', include('eve_proxy.urls')),
|
||||
(r'^api/', include('api.urls')),
|
||||
(r'^hr/', include('hr.urls')),
|
||||
(r'^groups/', include('groups.urls')),
|
||||
(r'^static/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
|
||||
)
|
||||
|
||||
@@ -28,6 +26,11 @@ if installed('reddit'):
|
||||
('', include('reddit.urls')),
|
||||
)
|
||||
|
||||
if installed('hr'):
|
||||
urlpatterns += patterns('',
|
||||
(r'^hr/', include('hr.urls')),
|
||||
)
|
||||
|
||||
if installed('groups'):
|
||||
urlpatterns += patterns('',
|
||||
(r'^groups/', include('groups.urls')),
|
||||
|
||||
Reference in New Issue
Block a user