Django CMS 3.0.x DocumentationTable of contents django cms Documentation, Release 3.0.19.dev1 Use the new side-frame-based administration by appending ‘?edit’ to your URL as follows: http://127.0.0.1:8000/?edit. This will reveal a toolbar_pool from cms.toolbar.items import Break from cms.cms_toolbar import ADMIN_MENU_IDENTIFIER, ADMINISTRATION_BREAK from cms.toolbar_base import CMSToolbar @toolbar_pool.register class PollToolbar(CMSToolbar): get_or_create_menu(ADMIN_MENU_IDENTIFIER, _('Site')) position = admin_menu.find_first(Break, identifier=ADMINISTRATION_BREAK) menu = admin_menu.get_or_create_menu('poll-menu', _('Polls'), position=position) url =0 码力 | 180 页 | 1.56 MB | 6 月前3
django cms 3.1.x DocumentationTable of contents django cms Documentation, Release 3.1.8.dev1 Use the new side-frame-based administration by appending ‘?edit’ to your URL as follows: http://127.0.0.1:8000/?edit. This will reveal a toolbar_pool from cms.toolbar.items import Break from cms.cms_toolbar import ADMIN_MENU_IDENTIFIER, ADMINISTRATION_BREAK from cms.toolbar_base import CMSToolbar @toolbar_pool.register class PollToolbar(CMSToolbar): get_or_create_menu(ADMIN_MENU_IDENTIFIER, _('Site')) position = admin_menu.find_first(Break, identifier=ADMINISTRATION_BREAK) menu = admin_menu.get_or_create_menu('poll-menu', _('Polls'), position=position) url =0 码力 | 200 页 | 1.63 MB | 1 年前3
django cms 3.3.x Documentationyou should get the django CMS “Installation Successful” screen. Use the new side-frame-based administration by appending ‘?edit’ to your URL as follows: http://127.0.0.1:8000/?edit. This will reveal a property of cms.models.CMSPlugin, and a plugin that overrides this will not work as intended in the administration. Warning If you are using Python 2.x and overriding the __unicode__ method of the model file toolbar_pool from cms.toolbar.items import Break from cms.cms_toolbars import ADMIN_MENU_IDENTIFIER, ADMINISTRATION_BREAK from cms.toolbar_base import CMSToolbar @toolbar_pool.register class PollToolbar(CMSToolbar):0 码力 | 386 页 | 1.56 MB | 1 年前3
django cms 3.4.x Documentation[https://github.com/divio/djangocms-admin-style]. This provides some styling that helps make django CMS administration components easier to work with. Technically it’s an optional component and does not need to be property of cms.models.pluginmodel.CMSPlugin, and your plugin will not work as intended in the administration without further work. Warning If you are using Python 2.x and overriding the __unicode__ method toolbar_pool from cms.toolbar.items import Break from cms.cms_toolbars import ADMIN_MENU_IDENTIFIER, ADMINISTRATION_BREAK from cms.toolbar_base import CMSToolbar @toolbar_pool.register class PollToolbar(CMSToolbar):0 码力 | 395 页 | 1.64 MB | 1 年前3
django cms 3.5.x Documentation[https://github.com/divio/djangocms-admin-style]. This provides some styling that helps make django CMS administration components easier to work with. Technically it’s an optional component and does not need to be property of cms.models.pluginmodel.CMSPlugin, and your plugin will not work as intended in the administration without further work. Warning If you are using Python 2.x and overriding the __unicode__ method toolbar_pool from cms.toolbar.items import Break from cms.cms_toolbars import ADMIN_MENU_IDENTIFIER, ADMINISTRATION_BREAK from cms.toolbar_base import CMSToolbar @toolbar_pool.register class PollToolbar(CMSToolbar):0 码力 | 403 页 | 1.69 MB | 1 年前3
Django CMS 2.4.x DocumentationJavaScript assets correctly. Moved Norwegian translations The Norwegian translations are now available as nb, which is the new (since 2003) official language code for Norwegian, replacing the older and deprecated deprecated no code. If your site runs in Norwegian, you need to change your LANGUAGES settings! Added support for timezones On Django 1.4, and with USE_TZ=True the django CMS now uses timezone aware date and Instruments Department of Curabitur a Purus Department of Sed Accumsan Department of Etiam Research Administration Contact us Impressum which is frankly overwhelming. By making “Department of Mediaeval Surgery”0 码力 | 156 页 | 727.78 KB | 6 月前3
django cms 3.7.x Documentation[https://github.com/divio/djangocms-admin-style]. This provides some styling that helps make django CMS administration components easier to work with. Technically it’s an optional component and does not need to be property of cms.models.pluginmodel.CMSPlugin, and your plugin will not work as intended in the administration without further work. Warning If you are using Python 2.x and overriding the __unicode__ method A common case is to provide a URL that opens in a sideframe or modal dialog on the same page. Administration… in the site menu, that opens the Django admin in a sideframe, is a good example of this. Both0 码力 | 409 页 | 1.67 MB | 1 年前3
Django CMS 3.9.x Documentationcom/django-cms/djangocms-admin- style]. This provides some styling that helps make django CMS administration components easier to work with. Technically it’s an optional component and does not need to be property of cms.models.pluginmodel.CMSPlugin, and your plugin will not work as intended in the administration without further work. Warning If you are using Python 2.x and overriding the __unicode__ method A common case is to provide a URL that opens in a sideframe or modal dialog on the same page. Administration… in the site menu, that opens the Django admin in a sideframe, is a good example of this. Both0 码力 | 417 页 | 1.68 MB | 6 月前3
Django CMS 3.8.x Documentation[https://github.com/divio/djangocms-admin-style]. This provides some styling that helps make django CMS administration components easier to work with. Technically it’s an optional component and does not need to be property of cms.models.pluginmodel.CMSPlugin, and your plugin will not work as intended in the administration without further work. Warning If you are using Python 2.x and overriding the __unicode__ method A common case is to provide a URL that opens in a sideframe or modal dialog on the same page. Administration… in the site menu, that opens the Django admin in a sideframe, is a good example of this. Both0 码力 | 413 页 | 1.67 MB | 6 月前3
Django CMS 4.0.x Documentationdjango CMS installs django CMS admin style. This provides some styling that helps make django CMS administration components easier to work with. Technically it’s an optional component and does not need to be property of cms.models.pluginmodel.CMSPlugin, and your plugin will not work as intended in the administration without further work. Warning: If you are using Python 2.x and overriding the __unicode__ method A common case is to provide a URL that opens in a sideframe or modal dialog on the same page. Administration... in the site menu, that opens the Django admin in a sideframe, is a good example of this. Both0 码力 | 296 页 | 1.79 MB | 6 月前3
共 114 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12













