Ticket #24624: urls.py
File urls.py, 446 bytes (added by , 10 years ago) |
---|
Line | |
---|---|
1 | from django.conf import settings |
2 | from django.conf.urls.static import static |
3 | from django.conf.urls import include, url |
4 | from django.contrib import admin |
5 | |
6 | urlpatterns = [ |
7 | url(r'^$', 'chi.views.homepage', name='home'), |
8 | url(r'admin/doc/', include('django.contrib.admindocs.urls')), |
9 | url(r'^admin/', include(admin.site.urls)), |
10 | url(r'^client/', include('client.urls')), |
11 | ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) |