|
@ -7,12 +7,21 @@ from django.views.generic.base import TemplateView |
|
|
|
|
|
|
|
|
urlpatterns = i18n_patterns('', |
|
|
urlpatterns = i18n_patterns('', |
|
|
|
|
|
|
|
|
|
|
|
# Admin a nastroje |
|
|
url(r'^admin/', include(admin.site.urls)), # NOQA |
|
|
url(r'^admin/', include(admin.site.urls)), # NOQA |
|
|
url(r'^admin_tools/', include('admin_tools.urls')), |
|
|
|
|
|
url(r'^ckeditor/', include('ckeditor.urls')), |
|
|
url(r'^ckeditor/', include('ckeditor.urls')), |
|
|
url(r'^autocomplete/', include('autocomplete_light.urls')), |
|
|
url(r'^autocomplete/', include('autocomplete_light.urls')), |
|
|
|
|
|
|
|
|
|
|
|
# Seminarova aplikace (ma vlastni podadresare) |
|
|
url(r'^', include('seminar.urls')), |
|
|
url(r'^', include('seminar.urls')), |
|
|
|
|
|
|
|
|
|
|
|
# Comments (interni i verejne) |
|
|
|
|
|
url(r'^comments_dj/', include('django_comments.urls')), |
|
|
|
|
|
url(r'^comments_fl/', include('fluent_comments.urls')), |
|
|
|
|
|
|
|
|
|
|
|
# Obsah |
|
|
url(r'^$', TemplateView.as_view(template_name='home.html'), name='home'), |
|
|
url(r'^$', TemplateView.as_view(template_name='home.html'), name='home'), |
|
|
|
|
|
|
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
# This is only needed when using runserver. |
|
|
# This is only needed when using runserver. |
|
|