Django CMS 2.1.x Documentation
Creating your first CMS page! 2.4. Troubleshooting 3. Using South with Django-CMS 3.1. Installation 3.2. Basic usage 3.3. More information about South 4. Configuration 4.1. Required Settings 4.2. Basic Customization release of 2.x). Django [http://www.djangoproject.com] 1.2.3 (or a higher release of 1.2). South [http://south.aeracode.org/] 0.7.2 or higher PIL [http://www.pythonware.com/products/pil/] 1.1.6 or higher install python2.6 python-setuptools python-imaging sudo easy_install pip sudo pip install django-cms south django-appmedia Additionally, you need the python driver for your selected database: sudo aptitude0 码力 | 81 页 | 554.09 KB | 6 月前3Django CMS 2.4.x Documentation
Creating templates 1.4. Creating your first CMS Page! 2. Using South with django CMS 2.1. Installation 2.2. Basic usage 2.3. More information about South 3. Configuration 3.1. Required Settings 3.2. Basic Customization 5 (or a higher release of 2.x). Django [http://www.djangoproject.com] 1.4.5, 1.5 or higher South [http://south.aeracode.org/] 0.7.2 or higher django-classy-tags [https://github.com/ojii/django-classy-tags] When installing the django CMS using pip, Django, django-mptt django-classy- tags, django-sekizai, south and html5lib will be installed automatically. Recommended These packages are not required, but they0 码力 | 156 页 | 727.78 KB | 6 月前3Django CMS 2.2.x Documentation
Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.4 Using South with django CMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.5 Configuration 1 Requirements • Python 2.5 (or a higher release of 2.x). • Django 1.2.5 (or a 1.3.x release). • South 0.7.2 or higher • PIL 1.1.6 or higher • django-classy-tags 0.3.4.1 or higher • django-mptt 0.4.2 or When installing the django CMS using pip, Django, django-mptt django-classy-tags, django-sekizai, south and html5lib will be installed automatically. Recommended • django-filer with its django CMS plugins0 码力 | 76 页 | 627.98 KB | 6 月前3Django CMS 2.1.x Documentation
Tutorial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.3 Using South with Django-CMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.4 Configuration Requirements • Python 2.5 (or a higher release of 2.x). • Django 1.2.3 (or a higher release of 1.2). • South 0.7.2 or higher • PIL 1.1.6 or higher • django-classy-tags 0.2.2 or higher • An installed and working install python2.6 python-setuptools python-imaging sudo easy_install pip sudo pip install django-cms south django-appmedia Additionally, you need the python driver for your selected database: sudo aptitude0 码力 | 63 页 | 485.38 KB | 6 月前3Django CMS 2.3.x Documentation
Tutorial. 1.1.1 Requirements • Python 2.5 (or a higher release of 2.x). • Django 1.3.1 or 1.4. • South 0.7.2 or higher • PIL 1.1.6 or higher • django-classy-tags 0.3.4.1 or higher • django-mptt 0.5.2 (strict When installing the django CMS using pip, Django, django-mptt django-classy-tags, django-sekizai, south and html5lib will be installed automatically. Recommended • django-filer with its django CMS plugins such as PIL, Django, South and django CMS glob- ally, which is not recommended. We recommend you use virtualenv instead. If you choose to do so, install Django, django CMS and South inside a virtualenv0 码力 | 92 页 | 666.41 KB | 6 月前3Django CMS 2.4.x Documentation
Tutorial. 1.1.1 Requirements • Python 2.5 (or a higher release of 2.x). • Django 1.4.5, 1.5 or higher • South 0.7.2 or higher • django-classy-tags 0.3.4.1 or higher • django-mptt 0.5.2 (strict due to API compatibility When installing the django CMS using pip, Django, django-mptt django-classy-tags, django-sekizai, south and html5lib will be installed automatically. Recommended These packages are not required, but they django-cms, but if you want to lock-in their version, specif Django==1.5.1 django-classy-tags==0.4 South==0.8.1 html5lib==1.0b1 django-mptt==0.5.2 django-sekizai==0.7 six==1.3.0 #Optional, recommended packages0 码力 | 104 页 | 709.98 KB | 6 月前3Django CMS 3.0.x Documentation
that hasn’t already been matched by a previous pattern. Now run the application’s migrations using south: python manage.py migrate polls At this point you should be able to create polls and choices in the add polls_plugin to INSTALLED_APPS and create a database migration to add the plugin table (using South): python manage.py schemamigration polls_plugin --init python manage.py migrate polls_plugin 14 Chapter migrations and needs some extra configuration to work with South. In settings.py: SOUTH_MIGRATION_MODULES = { 'easy_thumbnails': 'easy_thumbnails.south_migrations', } Configure the image thumbnail processors0 码力 | 180 页 | 1.56 MB | 6 月前3Django CMS 3.9.x Documentation
different between the two versions. Schema migrations are not affected as the migration systems (both South and Django) detects the different bases. Data migrations are a different story, though. If your data data migration will always be executed on the “old” database schema and no conflict will exist. For South migrations add this: from distutils.version import LooseVersion import cms USES_TREEBEARD = LooseVersion(cms critical areas of the code explaining the behaviour appropriate test coverage Python 2/3 compatibility South and Django migrations (where applicable) The pull request description must briefly describe the feature0 码力 | 417 页 | 1.68 MB | 6 月前3Django CMS 3.8.x Documentation
different between the two versions. Schema migrations are not affected as the migration systems (both South and Django) detects the different bases. Data migrations are a different story, though. If your data data migration will always be executed on the “old” database schema and no conflict will exist. For South migrations add this: from distutils.version import LooseVersion import cms USES_TREEBEARD = LooseVersion(cms critical areas of the code explaining the behaviour appropriate test coverage Python 2/3 compatibility South and Django migrations (where applicable) The pull request description must briefly describe the feature0 码力 | 413 页 | 1.67 MB | 6 月前3Django CMS 4.0.x Documentation
different between the two versions. Schema migrations are not affected as the migration systems (both South and Django) detects the different bases. Data migrations are a different story, though. If your data data migration will always be executed on the “old” database schema and no conflict will exist. For South migrations add this: from distutils.version import LooseVersion import cms USES_TREEBEARD = LooseVersion(cms areas of the code explaining the behaviour • appropriate test coverage • Python 2/3 compatibility • South and Django migrations (where applicable) The pull request description must briefly describe the feature0 码力 | 296 页 | 1.79 MB | 6 月前3
共 18 条
- 1
- 2