 django cms 3.3.x DocumentationAdd the following apps to your INSTALLED_APPS [https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-INSTALLED_APPS]. This includes django CMS itself as well as its dependencies and other highly default cms_page_media/ relative to MEDIA_ROOT [https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-MEDIA_ROOT]) is writeable by the user under which Django will be running. If you have opted com/etianen/django-reversion] and add it to INSTALLED_APPS [https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-INSTALLED_APPS]: 'reversion' You need to add the django CMS middlewares to your MIDDLEWARE_CLASSES0 码力 | 386 页 | 1.56 MB | 1 年前3 django cms 3.3.x DocumentationAdd the following apps to your INSTALLED_APPS [https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-INSTALLED_APPS]. This includes django CMS itself as well as its dependencies and other highly default cms_page_media/ relative to MEDIA_ROOT [https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-MEDIA_ROOT]) is writeable by the user under which Django will be running. If you have opted com/etianen/django-reversion] and add it to INSTALLED_APPS [https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-INSTALLED_APPS]: 'reversion' You need to add the django CMS middlewares to your MIDDLEWARE_CLASSES0 码力 | 386 页 | 1.56 MB | 1 年前3
 django cms 3.4.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 395 页 | 1.64 MB | 1 年前3 django cms 3.4.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 395 页 | 1.64 MB | 1 年前3
 django cms 3.5.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 403 页 | 1.69 MB | 1 年前3 django cms 3.5.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 403 页 | 1.69 MB | 1 年前3
 django cms 3.7.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 409 页 | 1.67 MB | 1 年前3 django cms 3.7.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 409 页 | 1.67 MB | 1 年前3
 Django CMS 3.9.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] by default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-DATABASES]: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3',0 码力 | 417 页 | 1.68 MB | 6 月前3 Django CMS 3.9.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] by default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-DATABASES]: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3',0 码力 | 417 页 | 1.68 MB | 6 月前3
 Django CMS 3.8.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] by default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 413 页 | 1.67 MB | 6 月前3 Django CMS 3.8.x Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-LANGUAGE_CODE]. For example: LANGUAGES = [ ('en', 'English'), ('de', 'German'), ] by default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 413 页 | 1.67 MB | 6 月前3
 Django CMS 3.11.10 Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-LANGUAGE_CODE]. For example: "django.contrib.sites", "cms", "menus", "treebeard", "djangocms_admin_style" by default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 493 页 | 1.44 MB | 6 月前0.03 Django CMS 3.11.10 Documentationdjango CMS requires you to set the LANGUAGES [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-LANGUAGES] setting. This should list all the languages you want your project to serve, and and must include the language in LANGUAGE_CODE [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-LANGUAGE_CODE]. For example: "django.contrib.sites", "cms", "menus", "treebeard", "djangocms_admin_style" by default in a new Django project’s DATABASES [https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-DATABASES]. Note For deployment, you’ll need to use a production-ready database with Django0 码力 | 493 页 | 1.44 MB | 6 月前0.03
 Django 2.2.x Documentationsimply wraps every view function in the atomic() decorator described below. Note that only the execution of your view is enclosed in the transactions. Middleware runs outside of the transaction, and so the savepoint except SomeError: pass # foo() will be called, but not bar() Order of execution On-commit functions for a given transaction are executed in the order they were registered. Exception behavior as if you’d executed the functions sequentially yourself without on_commit(). Timing of execution Your callbacks are executed after a successful commit, so a failure in a callback will not cause0 码力 | 2915 页 | 2.83 MB | 1 年前3 Django 2.2.x Documentationsimply wraps every view function in the atomic() decorator described below. Note that only the execution of your view is enclosed in the transactions. Middleware runs outside of the transaction, and so the savepoint except SomeError: pass # foo() will be called, but not bar() Order of execution On-commit functions for a given transaction are executed in the order they were registered. Exception behavior as if you’d executed the functions sequentially yourself without on_commit(). Timing of execution Your callbacks are executed after a successful commit, so a failure in a callback will not cause0 码力 | 2915 页 | 2.83 MB | 1 年前3
 Django 2.1.x Documentationsimply wraps every view function in the atomic() decorator described below. Note that only the execution of your view is enclosed in the transactions. Middleware runs outside of the transaction, and so - abort the savepoint except SomeError: pass # foo() will be called, but not bar() Order of execution On-commit functions for a given transaction are executed in the order they were registered. Exception behavior as if you’d executed the functions sequentially yourself without on_commit(). Timing of execution Your callbacks are executed after a successful commit, so a failure in a callback will not cause0 码力 | 1910 页 | 6.49 MB | 1 年前3 Django 2.1.x Documentationsimply wraps every view function in the atomic() decorator described below. Note that only the execution of your view is enclosed in the transactions. Middleware runs outside of the transaction, and so - abort the savepoint except SomeError: pass # foo() will be called, but not bar() Order of execution On-commit functions for a given transaction are executed in the order they were registered. Exception behavior as if you’d executed the functions sequentially yourself without on_commit(). Timing of execution Your callbacks are executed after a successful commit, so a failure in a callback will not cause0 码力 | 1910 页 | 6.49 MB | 1 年前3
 Django 2.1.x Documentationsimply wraps every view function in the atomic() decorator described below. Note that only the execution of your view is enclosed in the transactions. Middleware runs outside of the transaction, and so the savepoint except SomeError: pass # foo() will be called, but not bar() Order of execution On-commit functions for a given transaction are executed in the order they were registered. Exception behavior as if you’d executed the functions sequentially yourself without on_commit(). Timing of execution Your callbacks are executed after a successful commit, so a failure in a callback will not cause0 码力 | 2790 页 | 2.71 MB | 1 年前3 Django 2.1.x Documentationsimply wraps every view function in the atomic() decorator described below. Note that only the execution of your view is enclosed in the transactions. Middleware runs outside of the transaction, and so the savepoint except SomeError: pass # foo() will be called, but not bar() Order of execution On-commit functions for a given transaction are executed in the order they were registered. Exception behavior as if you’d executed the functions sequentially yourself without on_commit(). Timing of execution Your callbacks are executed after a successful commit, so a failure in a callback will not cause0 码力 | 2790 页 | 2.71 MB | 1 年前3
共 83 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9














