Django CMS 2.4.x Documentation
South 3. Configuration 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. middleware.multilingual.MultilingualURLMiddleware from your settings. Be sure django.middleware.locale.LocaleMiddleware is in your settings, and that it comes after the SessionMiddleware. Be sure that django.conf import settings admin.autodiscover() urlpatterns = i18n_patterns('', url(r'^admin/', include(admin.site.urls)), url(r'^', include('cms.urls')), ) if settings.DEBUG: urlpatterns0 码力 | 156 页 | 727.78 KB | 6 月前3django cms 3.3.x Documentation
Reference Admin APIs Apphooks Command Line Interface Forms Models Navigation Permissions Plugins Settings and constants Sitemaps Template Tags The Toolbar Content creation wizards Development & community add this application to our project. Add 'polls' to the end of INSTALLED_APPS in your project’s settings.py (see the note on The INSTALLED_APPS setting about ordering ). Add the following line to urlpatterns polls_cms_integration application into the project. Add polls_cms_integration to INSTALLED_APPS in settings.py - and now we’re ready to use it to being integrating Polls with django CMS. We’ll start by developing0 码力 | 386 页 | 1.56 MB | 1 年前3Django CMS 3.9.x Documentation
tutorial. You can of course simply edit the new project’s settings.py file at any time to change or add site languages or amend other settings. The installer creates an admin user for you, with username/password pages in your site will use the fullwidth.html template, the first one listed in the project’s settings.py CMS_TEMPLATES tuple: CMS_TEMPLATES = ( ## Customize this ('fullwidth.html', 'Fullwidth') add this application to our project. Add 'polls' to the end of INSTALLED_APPS in your project’s settings.py (see the note on The INSTALLED_APPS setting about ordering ). Add the poll URL configuration0 码力 | 417 页 | 1.68 MB | 6 月前3Django CMS 3.8.x Documentation
tutorial. You can of course simply edit the new project’s settings.py file at any time to change or add site languages or amend other settings. The installer creates an admin user for you, with username/password pages in your site will use the fullwidth.html template, the first one listed in the project’s settings.py CMS_TEMPLATES tuple: CMS_TEMPLATES = ( ## Customize this ('fullwidth.html', 'Fullwidth') add this application to our project. Add 'polls' to the end of INSTALLED_APPS in your project’s settings.py (see the note on The INSTALLED_APPS setting about ordering ). Add the poll URL configuration0 码力 | 413 页 | 1.67 MB | 6 月前3django cms 3.7.x Documentation
tutorial. You can of course simply edit the new project’s settings.py file at any time to change or add site languages or amend other settings. The installer creates an admin user for you, with username/password pages in your site will use the fullwidth.html template, the first one listed in the project’s settings.py CMS_TEMPLATES tuple: CMS_TEMPLATES = ( ## Customize this ('fullwidth.html', 'Fullwidth') add this application to our project. Add 'polls' to the end of INSTALLED_APPS in your project’s settings.py (see the note on The INSTALLED_APPS setting about ordering ). Add the poll URL configuration0 码力 | 409 页 | 1.67 MB | 1 年前3django cms 3.5.x Documentation
tutorial. You can of course simply edit the new project’s settings.py file at any time to change or add site languages or amend other settings. The installer creates an admin user for you, with username/password automatically-created home page’s template, it’s fullwidth.html, the first one listed in the project’s settings.py CMS_TEMPLATES tuple: CMS_TEMPLATES = ( ## Customize this ('fullwidth.html', 'Fullwidth') add this application to our project. Add 'polls' to the end of INSTALLED_APPS in your project’s settings.py (see the note on The INSTALLED_APPS setting about ordering ). Add the following line to urlpatterns0 码力 | 403 页 | 1.69 MB | 1 年前3django cms 3.4.x Documentation
tutorial. You can of course simply edit the new project’s settings.py file at any time to change or add site languages or amend other settings. The installer creates an admin user for you, with username/password automatically-created home page’s template, it’s fullwidth.html, the first one listed in the project’s settings.py CMS_TEMPLATES tuple: CMS_TEMPLATES = ( ## Customize this ('fullwidth.html', 'Fullwidth') add this application to our project. Add 'polls' to the end of INSTALLED_APPS in your project’s settings.py (see the note on The INSTALLED_APPS setting about ordering ). Add the following line to urlpatterns0 码力 | 395 页 | 1.64 MB | 1 年前3Django CMS 3.11.10 Documentation
static/ templates/ base.html __init__.py asgi.py settings.py urls.py wsgi.py manage.py requirements.in cd myproject python -m manage some settings to be modified, however. Minimally-required applications and settings To run django CMS you will only need to modify the settings.py and urls.py files. Open the new project’s settings.py file 2/ref/contrib/sites/#module-django.contrib.sites] framework. You’ll need to set a SITE_ID in the settings - SITE_ID = 1 will suffice. cms and menus are the core django CMS modules. django-treebeard [ht0 码力 | 493 页 | 1.44 MB | 6 月前0.03django cms 2.2.x Documentation
South 5. Configuration 5.1. Required Settings 5.2. Basic Customization 5.3. Editor configuration 5.4. I18N and L10N 5.5. Media Settings 5.6. URLs 5.7. Advanced Settings 6. Navigation 6.1. show_menu 6.2 Installing and configuring django CMS in your Django project Open the file ~/workspace/myproject/settings.py. To make your life easier, add the following at the top of the file: # -*- coding: utf-8 -*- Add the following apps to your INSTALLED_APPS [http://readthedocs.org/docs/django/en/latest/ref/settings.html#std:setting-INSTALLED_APPS] which enable django CMS and required or highly recommended app0 码力 | 105 页 | 679.29 KB | 1 年前3Django CMS 4.1.x Documentation
static/ templates/ base.html __init__.py asgi.py settings.py urls.py wsgi.py manage.py requirements.in requirements.in contains some settings to be modified, however. Minimally-required applications and settings To run django CMS you will only need to modify the settings.py and urls.py files. Open the new project’s settings.py file 2/ref/contrib/sites/#module-django.contrib.sites] framework. You’ll need to set a SITE_ID in the settings - SITE_ID = 1 will suffice. cms and menus are the core django CMS modules. cd myproject python0 码力 | 518 页 | 1.66 MB | 6 月前3
共 93 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10