 Django CMS 2.4.x DocumentationConfiguration 3.1. Required Settings 3.2. Basic Customization 3.3. Editor configuration 3.4. I18N and L10N 3.5. Media Settings 3.6. URLs 3.7. Advanced Settings 4. Navigation 4.1. show_menu 4.2. show_menu_below_id helpers. For django 1.4 more infos can be found here: https://docs.djangoproject.com/en/dev/topics/i18n/translation/#internationalizati on-in-url-patterns If you are still running django 1.3 you are able SessionMiddleware. Be sure that the cms.urls is included in a i18n_patterns: from django.conf.urls.defaults import * from django.conf.urls.i18n import i18n_patterns from django.contrib import admin from django0 码力 | 156 页 | 727.78 KB | 6 月前3 Django CMS 2.4.x DocumentationConfiguration 3.1. Required Settings 3.2. Basic Customization 3.3. Editor configuration 3.4. I18N and L10N 3.5. Media Settings 3.6. URLs 3.7. Advanced Settings 4. Navigation 4.1. show_menu 4.2. show_menu_below_id helpers. For django 1.4 more infos can be found here: https://docs.djangoproject.com/en/dev/topics/i18n/translation/#internationalizati on-in-url-patterns If you are still running django 1.3 you are able SessionMiddleware. Be sure that the cms.urls is included in a i18n_patterns: from django.conf.urls.defaults import * from django.conf.urls.i18n import i18n_patterns from django.contrib import admin from django0 码力 | 156 页 | 727.78 KB | 6 月前3
 Django CMS 3.11.10 Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management "context_processors": [ ... "django.template.context_processors.i18n", Middleware in your MIDDLEWARE [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-MIDDLEWARE] cms_settings" to TEMPLATES['OPTIONS'] ['context_processors']. Also add 'django.template.context_processors.i18n' if it’s not already present. cms check should now be unable to identify any further issues with your0 码力 | 493 页 | 1.44 MB | 6 月前0.03 Django CMS 3.11.10 Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management "context_processors": [ ... "django.template.context_processors.i18n", Middleware in your MIDDLEWARE [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-MIDDLEWARE] cms_settings" to TEMPLATES['OPTIONS'] ['context_processors']. Also add 'django.template.context_processors.i18n' if it’s not already present. cms check should now be unable to identify any further issues with your0 码力 | 493 页 | 1.44 MB | 6 月前0.03
 Django CMS 2.4.x Documentation7 django cms Documentation, Release 2.4.3-support https://docs.djangoproject.com/en/dev/topics/i18n/translation/#internationalization-in-url-patterns If you are still running django 1.3 you are able to SessionMiddleware. • Be sure that the cms.urls is included in a i18n_patterns: from django.conf.urls.defaults import * from django.conf.urls.i18n import i18n_patterns from django.contrib import admin from django.conf conf import settings admin.autodiscover() urlpatterns = i18n_patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^', include('cms.urls')), ) if settings.DEBUG: urlpatterns = patterns('', url(r'^media/(0 码力 | 104 页 | 709.98 KB | 6 月前3 Django CMS 2.4.x Documentation7 django cms Documentation, Release 2.4.3-support https://docs.djangoproject.com/en/dev/topics/i18n/translation/#internationalization-in-url-patterns If you are still running django 1.3 you are able to SessionMiddleware. • Be sure that the cms.urls is included in a i18n_patterns: from django.conf.urls.defaults import * from django.conf.urls.i18n import i18n_patterns from django.contrib import admin from django.conf conf import settings admin.autodiscover() urlpatterns = i18n_patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^', include('cms.urls')), ) if settings.DEBUG: urlpatterns = patterns('', url(r'^media/(0 码力 | 104 页 | 709.98 KB | 6 月前3
 Django CMS 3.9.x Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management ordering ). Add the poll URL configuration to urlpatterns in the project’s urls.py: urlpatterns += i18n_patterns( re_path(r'^admin/', include(admin.site.urls)), re_path(r'^polls/', include('polls cms_settings' to TEMPLATES['OPTIONS'] ['context_processors']. Also add 'django.template.context_processors.i18n' if it’s not already present. cms check should now be unable to identify any further issues with your0 码力 | 417 页 | 1.68 MB | 6 月前3 Django CMS 3.9.x Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management ordering ). Add the poll URL configuration to urlpatterns in the project’s urls.py: urlpatterns += i18n_patterns( re_path(r'^admin/', include(admin.site.urls)), re_path(r'^polls/', include('polls cms_settings' to TEMPLATES['OPTIONS'] ['context_processors']. Also add 'django.template.context_processors.i18n' if it’s not already present. cms check should now be unable to identify any further issues with your0 码力 | 417 页 | 1.68 MB | 6 月前3
 Django CMS 4.1.x Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management "context_processors": [ ... "django.template.context_processors.i18n", "sekizai.context_processors.sekizai", ], }, }, ] "django:django cms_settings" to TEMPLATES['OPTIONS'] ['context_processors']. Also add 'django.template.context_processors.i18n' if it’s not already present. cms check should now be unable to identify any further issues with your0 码力 | 518 页 | 1.66 MB | 6 月前3 Django CMS 4.1.x Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management "context_processors": [ ... "django.template.context_processors.i18n", "sekizai.context_processors.sekizai", ], }, }, ] "django:django cms_settings" to TEMPLATES['OPTIONS'] ['context_processors']. Also add 'django.template.context_processors.i18n' if it’s not already present. cms check should now be unable to identify any further issues with your0 码力 | 518 页 | 1.66 MB | 6 月前3
 django cms 3.7.x Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management ordering ). Add the poll URL configuration to urlpatterns in the project’s urls.py: urlpatterns += i18n_patterns( url(r'^admin/', include(admin.site.urls)), url(r'^polls/', include('polls.urls')), cms_settings' to TEMPLATES['OPTIONS'] ['context_processors']. Also add 'django.template.context_processors.i18n' if it’s not already present. cms check should now be unable to identify any further issues with your0 码力 | 409 页 | 1.67 MB | 1 年前3 django cms 3.7.x Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management ordering ). Add the poll URL configuration to urlpatterns in the project’s urls.py: urlpatterns += i18n_patterns( url(r'^admin/', include(admin.site.urls)), url(r'^polls/', include('polls.urls')), cms_settings' to TEMPLATES['OPTIONS'] ['context_processors']. Also add 'django.template.context_processors.i18n' if it’s not already present. cms check should now be unable to identify any further issues with your0 码力 | 409 页 | 1.67 MB | 1 年前3
 Django CMS 3.8.x Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management ordering ). Add the poll URL configuration to urlpatterns in the project’s urls.py: urlpatterns += i18n_patterns( re_path(r'^admin/', include(admin.site.urls)), re_path(r'^polls/', include('polls cms_settings' to TEMPLATES['OPTIONS'] ['context_processors']. Also add 'django.template.context_processors.i18n' if it’s not already present. cms check should now be unable to identify any further issues with your0 码力 | 413 页 | 1.67 MB | 6 月前3 Django CMS 3.8.x Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management ordering ). Add the poll URL configuration to urlpatterns in the project’s urls.py: urlpatterns += i18n_patterns( re_path(r'^admin/', include(admin.site.urls)), re_path(r'^polls/', include('polls cms_settings' to TEMPLATES['OPTIONS'] ['context_processors']. Also add 'django.template.context_processors.i18n' if it’s not already present. cms check should now be unable to identify any further issues with your0 码力 | 413 页 | 1.67 MB | 6 月前3
 django cms 3.4.x Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management n = NavigationNode(_('sample root page'), "/", 1) n2 = NavigationNode(_('sample settings page'), "/bye/", 2) n3 = NavigationNode(_('sample account page'), "/hello/", 3) n4 = N my profile page'), "/hello/world/", 4, 3) nodes.append(n) nodes.append(n2) nodes.append(n3) nodes.append(n4) return nodes menu_pool.register_menu(TestMenu) Note0 码力 | 395 页 | 1.64 MB | 1 年前3 django cms 3.4.x Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management n = NavigationNode(_('sample root page'), "/", 1) n2 = NavigationNode(_('sample settings page'), "/bye/", 2) n3 = NavigationNode(_('sample account page'), "/hello/", 3) n4 = N my profile page'), "/hello/world/", 4, 3) nodes.append(n) nodes.append(n2) nodes.append(n3) nodes.append(n4) return nodes menu_pool.register_menu(TestMenu) Note0 码力 | 395 页 | 1.64 MB | 1 年前3
 django cms 3.5.x Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management n = NavigationNode(_('sample root page'), "/", 1) n2 = NavigationNode(_('sample settings page'), "/bye/", 2) n3 = NavigationNode(_('sample account page'), "/hello/", 3) n4 = N my profile page'), "/hello/world/", 4, 3) nodes.append(n) nodes.append(n2) nodes.append(n3) nodes.append(n4) return nodes menu_pool.register_menu(TestMenu) Note0 码力 | 403 页 | 1.69 MB | 1 年前3 django cms 3.5.x Documentationpowers sites both large and small. Here are a few of the key features: robust internationalisation (i18n) support for creating multilingual sites front-end editing, providing rapid access to the content management n = NavigationNode(_('sample root page'), "/", 1) n2 = NavigationNode(_('sample settings page'), "/bye/", 2) n3 = NavigationNode(_('sample account page'), "/hello/", 3) n4 = N my profile page'), "/hello/world/", 4, 3) nodes.append(n) nodes.append(n2) nodes.append(n3) nodes.append(n4) return nodes menu_pool.register_menu(TestMenu) Note0 码力 | 403 页 | 1.69 MB | 1 年前3
 Django CMS 3.0.x Documentationpowers sites both large and small. Here are a few of the key features: • robust internationalisation (i18n) support for creating multilingual sites • virtually unlimited undo history, allowing editors to revert sqlite://localhost/project.db • django CMS version: stable • Django version: 1.6 • Activate Django I18N / L10N setting: yes • Install and configure reversion support: yes • Languages to enable. Option can be context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'django.core.context_processors0 码力 | 180 页 | 1.56 MB | 6 月前3 Django CMS 3.0.x Documentationpowers sites both large and small. Here are a few of the key features: • robust internationalisation (i18n) support for creating multilingual sites • virtually unlimited undo history, allowing editors to revert sqlite://localhost/project.db • django CMS version: stable • Django version: 1.6 • Activate Django I18N / L10N setting: yes • Install and configure reversion support: yes • Languages to enable. Option can be context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'django.core.context_processors0 码力 | 180 页 | 1.56 MB | 6 月前3
共 93 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10














