Browse Source

I18N zapnuta

remotes/origin/vysl
Bc. Petr Pecha 10 years ago
parent
commit
93bc61607c
  1. 2
      mamweb/settings_common.py
  2. 2
      mamweb/urls.py

2
mamweb/settings_common.py

@ -25,7 +25,7 @@ APPEND_SLASH = False
LANGUAGE_CODE = 'cs' LANGUAGE_CODE = 'cs'
TIME_ZONE = 'Europe/Prague' TIME_ZONE = 'Europe/Prague'
USE_I18N = False USE_I18N = True
USE_L10N = True USE_L10N = True
USE_TZ = True USE_TZ = True

2
mamweb/urls.py

@ -5,7 +5,7 @@ from django.contrib import admin
from django.conf import settings from django.conf import settings
from django.views.generic.base import TemplateView from django.views.generic.base import TemplateView
urlpatterns = i18n_patterns('', urlpatterns = patterns('',
# Admin a nastroje # Admin a nastroje
url(r'^admin/', include(admin.site.urls)), # NOQA url(r'^admin/', include(admin.site.urls)), # NOQA

Loading…
Cancel
Save