from django.conf.urls import patterns, include, url
from django.conf.urls.i18n import i18n_patterns
# from django.contrib import admin

urlpatterns = patterns(
    '',

    url(r'^$', 'qcat.views.home', name='home'),
    url(r'^about/$', 'qcat.views.about', name='about'),

    # View to change language
    url(r'^i18n/', include('django.conf.urls.i18n')),

    # url(r'^admin/', include(admin.site.urls)),
)

# The following urls are created with the locale as prefix, eg.
# en/questionnaire
urlpatterns += i18n_patterns(
    '',
    url(r'^questionnaire/', include('questionnaire.urls')),
)

4bac04c8e1b19adea4a6e54f00acd9e07d1eb5ef
<mask token>

<mask token>
urlpatterns += i18n_patterns('', url('^questionnaire/', include(
    'questionnaire.urls')))

<mask token>
urlpatterns = patterns('', url('^$', 'qcat.views.home', name='home'), url(
    '^about/$', 'qcat.views.about', name='about'), url('^i18n/', include(
    'django.conf.urls.i18n')))
urlpatterns += i18n_patterns('', url('^questionnaire/', include(
    'questionnaire.urls')))

from django.conf.urls import patterns, include, url
from django.conf.urls.i18n import i18n_patterns
urlpatterns = patterns('', url('^$', 'qcat.views.home', name='home'), url(
    '^about/$', 'qcat.views.about', name='about'), url('^i18n/', include(
    'django.conf.urls.i18n')))
urlpatterns += i18n_patterns('', url('^questionnaire/', include(
    'questionnaire.urls')))

from django.conf.urls import patterns, include, url
from django.conf.urls.i18n import i18n_patterns
# from django.contrib import admin

urlpatterns = patterns(
    '',

    url(r'^$', 'qcat.views.home', name='home'),
    url(r'^about/$', 'qcat.views.about', name='about'),

    # View to change language
    url(r'^i18n/', include('django.conf.urls.i18n')),

    # url(r'^admin/', include(admin.site.urls)),
)

# The following urls are created with the locale as prefix, eg.
# en/questionnaire
urlpatterns += i18n_patterns(
    '',
    url(r'^questionnaire/', include('questionnaire.urls')),
)
