urls.py
1.04 KB
# -*- coding: utf-8 -*-
from django.conf.urls import patterns, include, url
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns(
'',
url(r'^$', 'dictionary.views.main_page', name='main_page'),
url(r'^leksemy/$', 'dictionary.views.reader_view', name='reader_view'),
url(r'^wzory/$', 'patterns.views.pattern_reader_view',
name='pattern_reader_view'),
(r'^accounts/', include('accounts.urls')),
(r'^accounts/', include('registration.backends.default.urls')),
(r'^accounts/', include('django.contrib.auth.urls')),
(r'^common/', include('common.urls')),
(r'^i18n/', include('django.conf.urls.i18n')),
(r'^edycja/', include('dictionary.urls')),
(r'^edycja/wzory/', include('patterns.urls')),
(r'^', include('management.urls')),
(r'^paginer/', include('paginer.urls')),
(r'^historia/', include('history.urls')),
(r'^', include('export.urls')),
(r'^admin/', include(admin.site.urls)), # potrzebne do zmiany hasła
)