from django.contrib import admin
from django.views.generic import RedirectView
import django.views.static
-from machina.app import board
import catalogue.views
import picture.views
from . import views
url(r'^admin/catalogue/book/import$', catalogue.views.import_book, name='import_book'),
url(r'^admin/catalogue/picture/import$', picture.views.import_picture, name='import_picture'),
url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
- url(r'^admin/', include(admin.site.urls)),
+ url(r'^admin/', admin.site.urls),
# API
url(r'^api/', include('api.urls')),
url(r'^szukaj/', include('search.urls')),
url(r'^i18n/', include('django.conf.urls.i18n')),
- url(r'^forum/', include(board.urls)),
+ url(r'^forum/', include('machina.urls')),
]
urlpatterns += [