Django CMS 4.1.x Documentation
toolbar’s Create button in your own applications. It opens up a simple dialog box with the basic fields required to create a new item. django CMS uses it for creating Pages, but you can add your own models plugin developers. These options are often used: exclude fields fieldsets form formfield_overrides inlines radio_fields raw_id_fields readonly_fields Please note, however, that not all ModelAdmin options list_filter list_max_show_all list_per_page ordering paginator prepopulated_fields preserve_fields save_as save_on_top search_fields show_full_result_count view_on_site Application hooks (“apphooks”) An Application0 码力 | 518 页 | 1.66 MB | 6 月前3Django CMS 3.11.10 Documentation
toolbar’s Create button in your own applications. It opens up a simple dialog box with the basic fields required to create a new item. django CMS uses it for creating Pages, but you can add your own models plugin developers. These options are often used: exclude fields fieldsets form formfield_overrides inlines radio_fields raw_id_fields readonly_fields Please note, however, that not all ModelAdmin options list_filter list_max_show_all list_per_page ordering paginator prepopulated_fields preserve_fields save_as save_on_top search_fields show_full_result_count view_on_site Application hooks (“apphooks”) An Application0 码力 | 493 页 | 1.44 MB | 6 月前0.03Django CMS 3.0.x Documentation
developers. These options are often used: • exclude • fields • fieldsets • form • formfield_overrides • inlines • radio_fields • raw_id_fields • readonly_fields 30 Chapter 5. Table of contents django cms Documentation list_filter • list_max_show_all • list_per_page • ordering • paginator • preserve_fields • save_as • save_on_top • search_fields • show_full_result_count • view_on_site An aside on models and configuration }} instead of the hardcoded Guest string in the else clause. Warning: You cannot name your model fields the same as any installed plugins lower- cased model name, due to the implicit one-to-one relation0 码力 | 180 页 | 1.56 MB | 6 月前3Django CMS 3.9.x Documentation
toolbar’s Create button in your own applications. It opens up a simple dialog box with the basic fields required to create a new item. django CMS uses it for creating Pages, but you can add your own models com/en/2.2/howto/deployment/]. How to use placeholders outside the CMS Placeholders are special model fields that django CMS uses to render user-editable content (plugins) in templates. That is, it’s the place would like to use: from django.db import models from cms.models.fields import PlaceholderField class MyModel(models.Model): # your fields my_placeholder = PlaceholderField('placeholder_name')0 码力 | 417 页 | 1.68 MB | 6 月前3Django CMS 3.8.x Documentation
toolbar’s Create button in your own applications. It opens up a simple dialog box with the basic fields required to create a new item. django CMS uses it for creating Pages, but you can add your own models com/en/2.2/howto/deployment/]. How to use placeholders outside the CMS Placeholders are special model fields that django CMS uses to render user-editable content (plugins) in templates. That is, it’s the place would like to use: from django.db import models from cms.models.fields import PlaceholderField class MyModel(models.Model): # your fields my_placeholder = PlaceholderField('placeholder_name')0 码力 | 413 页 | 1.67 MB | 6 月前3Django CMS 4.0.x Documentation
toolbar’s Create button in your own applications. It opens up a simple dialog box with the basic fields required to create a new item. django CMS uses it for creating Pages, but you can add your own models Using core functionality How to use placeholders outside the CMS Placeholders are special model fields that django CMS uses to render user-editable content (plugins) in templates. That is, it’s the place would like to use: from django.db import models from cms.models.fields import PlaceholderField class MyModel(models.Model): # your fields my_placeholder = PlaceholderField('placeholder_name') # your methods0 码力 | 296 页 | 1.79 MB | 6 月前3Django CMS 3.9.x Documentation
toolbar’s Create button in your own applications. It opens up a simple dialog box with the basic fields required to create a new item. django CMS uses it for creating Pages, but you can add your own models Using core functionality How to use placeholders outside the CMS Placeholders are special model fields that django CMS uses to render user-editable content (plugins) in templates. That is, it’s the place would like to use: from django.db import models from cms.models.fields import PlaceholderField class MyModel(models.Model): # your fields my_placeholder = PlaceholderField('placeholder_name') # your methods0 码力 | 298 页 | 1.79 MB | 6 月前3Django CMS 2.4.x Documentation
to a placeholder 5.3. Fieldsets 6. Search and the django CMS 7. Form and model fields 7.1. Model fields 7.2. Form fields 8. Testing Your Extenstions modules | index next | 8.1. Testing Apps 8.2. Testing CMS_RAW_ID_USERS If you have a lot of users (500+) you can set this setting to a number after which admin User fields are displayed in a raw Id field. This improves performance a lot in the admin as it has not to load prompted to change the slug for the page. Prevent unnamed related names for PlaceholderField cms.models.fields.PlaceholderField no longer allows the related name to be suppressed. Trying to do so will lead to0 码力 | 156 页 | 727.78 KB | 6 月前3Django CMS 2.4.x Documentation
CMS_RAW_ID_USERS If you have a lot of users (500+) you can set this setting to a number after which admin User fields are displayed in a raw Id field. This improves performance a lot in the admin as it has not to load prompted to change the slug for the page. Prevent unnamed related names for PlaceholderField cms.models.fields.PlaceholderField no longer allows the related name to be suppressed. Trying to do so will lead to ValueError. This change was done to allow the django CMS to properly check permissions on Placeholder Fields. Two fixes to page change form The change form for pages would throw errors if the user editing the0 码力 | 104 页 | 709.98 KB | 6 月前3Django CMS 2.3.x Documentation
prompted to change the slug for the page. Prevent unnamed related names for PlaceholderField cms.models.fields.PlaceholderField no longer allows the related name to be suppressed. Trying to do so will lead to ValueError. This change was done to allow the django CMS to properly check permissions on Placeholder Fields. 1.4. 2.3.4 release notes 5 django cms Documentation, Release 2.3.8 Two fixes to page change form notes 1.6.1 What’s new in 2.3.2 Google map plugin Google map plugin now supports width and height fields so that plugin size can be modified in the page admin or frontend editor. Zoom level is now set via0 码力 | 92 页 | 666.41 KB | 6 月前3
共 142 条
- 1
- 2
- 3
- 4
- 5
- 6
- 15