django cms 3.1.x Documentationfollowing model: from Django.db import models from Django.core.urlresolvers import reverse import mptt class Category(models.Model): parent = models.ForeignKey('self', blank=True, null=True) get_absolute_url(self): return reverse('category_view', args=[self.pk]) try: mptt.register(Category) exceptmptt.AlreadyRegistered: pass We would now create a menu out of these become public. ## Maintenance and repair ## fix-mptt Occasionally, the MPTT tree can become corrupted (this is one of the reasons for our move away from MPTT to MP in Django CMS 3.1). Typical symptoms include0 码力 | 200 页 | 1.63 MB | 2 年前3
Django CMS 2.4.x Documentation• 4.2. Plugin and apphook management commands • 4.3. Moderation commands • 4.4. MPTT repair command • 5. Permissions • 5.1. View restrictions • 5.2. Page permissions ## Django-classy-tags [https://github.com/ojii/django-classy-tags] 0.3.4.1 or higher - Django-mptt [https://github.com/django-mptt/django-mptt] 0.5.2 (strict due to API compatibility issues) • Django-sekizai [https://github listed in the Databases section. ## Note When installing the Django CMS using pip, Django, Django-mptt, Django-classy-tags, Django-sekizai, south and html5lib will be installed automatically. ## Recommended0 码力 | 156 页 | 727.78 KB | 1 年前3
Django CMS 2.3.x Documentation• 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 due to API compatibility issues) • Django-sekizai 0.6.1 or higher • html5lib 0.90 databases listed in the Databases section. Note: When installing the Django CMS using pip, Django, Django-mptt, Django-classy-tags, Django-sekizai, south and html5lib will be installed automatically. ## Recommended needed anymore. ## Fix MPTT Management command backported Backported from 2.4 a management command for fixing MPTT tree data. The command can be run with: manage.py cms fix-mptt ##### 1.4 2.3.4 release0 码力 | 92 页 | 666.41 KB | 1 年前3
django cms 2.2.x DocumentationDjango-classy-tags [https://github.com/ojii/django-classy-tags] 0.3.4.1 or higher • Django-mptt [https://github.com/django-mptt/django-mptt] 0.4.2 or higher • Django-sekizai [https://github.com/ojii/django-sekizai] listed in the Databases section. ## Note When installing the Django CMS using pip, Django, Django-mptt, Django-classy-tags, Django-sekizai, south and html5lib will be installed automatically. ##### 1 2.1.1.1. What's new in 2.2 ####### 2.1.1.1.1. Django-mptt now a proper dependency django-mptt [https://github.com/django-mptt/django-mptt/] is now used as a proper dependency and is no longer shipped0 码力 | 105 页 | 679.29 KB | 2 年前3
Django CMS 2.4.x DocumentationDjango 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 issues) • Django-sekizai 0.7 or higher • html5lib 0.90 or databases listed in the Databases section. Note: When installing the Django CMS using pip, Django, Django-mptt, Django-classy-tags, Django-sekizai, south and html5lib will be installed automatically. ## Recommended lock-in their version, speci 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 packages Pillow==2.0.0 django-filer==00 码力 | 104 页 | 709.98 KB | 1 年前3
Django CMS 3.9.x Documentationls] is required to create new versions of images in different sizes; Django MPTT [https://github.com/django-mptt/django-mptt/] manages the tree structure of the folders in Django Filer. Pillow, the Python is required to get this running on various operating systems. Add: 'filer', 'easy_thumbnails', 'mptt', to INSTALLED_APPS. You also need to add: THUMBNAIL_HIGH_RESOLUTION = True THUMBNAIL_PROCESSORS save() return HttpResponse("ok") Plugin data migrations Due to the migration from Django MPTT to django-treebeard in version 3.1, the plugin model is different between the two versions. Schema0 码力 | 417 页 | 1.68 MB | 1 年前3
Django CMS 3.8.x Documentationls] is required to create new versions of images in different sizes; Django MPTT [https://github.com/django-mptt/django-mptt/] manages the tree structure of the folders in Django Filer. Pillow, the Python is required to get this running on various operating systems. Add: 'filer', 'easy_thumbnails', 'mptt', to INSTALLED_APPS. You also need to add: THUMBNAIL_HIGH_RESOLUTION = True THUMBNAIL_PROCESSORS save() return HttpResponse("ok") Plugin data migrations Due to the migration from Django MPTT to django-treebeard in version 3.1, the plugin model is different between the two versions. Schema0 码力 | 413 页 | 1.67 MB | 1 年前3
django cms 3.7.x Documentationls] is required to create new versions of images in different sizes; Django MPTT [https://github.com/django-mptt/django-mptt/] manages the tree structure of the folders in Django Filer. Pillow, the Python is required to get this running on various operating systems. Add: 'filer', 'easy_thumbnails', 'mptt', to INSTALLED_APPS. You also need to add: THUMBNAIL_HIGH_RESOLUTION = True THUMBNAIL_PROCESSORS save() return HttpResponse("ok") Plugin data migrations Due to the migration from Django MPTT to django-treebeard in version 3.1, the plugin model is different between the two versions. Schema0 码力 | 409 页 | 1.67 MB | 2 年前3
django cms 3.5.x Documentationls] is required to create new versions of images in different sizes; Django MPTT [https://github.com/django-mptt/django-mptt/] manages the tree structure of the folders in Django Filer. Pillow, the Python this running on various operating systems. ## Add: 'filer', 'easy_thumbnails', 'mptt', to INSTALLED_APPS. You also need to add: THUMBNAIL_HIGH_RESOLUTION = True THUMBNAIL_PROCESSORS return HttpResponse("ok") ## Plugin data migrations Due to the migration from Django MPTT to Django-treebeard in version 3.1, the plugin model is different between the two versions. Schema0 码力 | 403 页 | 1.69 MB | 2 年前3
django cms 3.4.x Documentationls] is required to create new versions of images in different sizes; Django MPTT [https://github.com/django-mptt/django-mptt/] manages the tree structure of the folders in Django Filer. Pillow, the Python this running on various operating systems. ## Add: 'filer', 'easy_thumbnails', 'mptt', to INSTALLED_APPS. You also need to add: THUMBNAIL_HIGH_RESOLUTION = True THUMBNAIL_PROCESSORS return HttpResponse("ok") ## Plugin data migrations Due to the migration from Django MPTT to Django-treebeard in version 3.1, the plugin model is different between the two versions. Schema0 码力 | 395 页 | 1.64 MB | 2 年前3
共 33 条
- 1
- 2
- 3
- 4
相关搜索词
django CMSMPTTDjango-treebeardMaterialized PathpluginDjango CMS依赖项版本要求迁移插件注册新功能弃用功能DjangoPostgreSQLMySQLSouthInstallationConfigurationPluginsSekizaiWymEditor时间戳slug占位符字段文档版本兼容性发布说明贡献指南Pythonrelease notescompatibilityLTSapphooksplugins3.5.xdocumentationdecoupled structure boardPage model decouplingDjango CMS 3.4LTS版本重大变化升级注意事项













