django cms 3.5.x Documentation
CMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them plugin class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface watch_models allows the frontend editor to redirect the user to the model instance get_absolute_url whenever an instance of this model is created or saved through the frontend editor (see Detecting URL changes0 码力 | 403 页 | 1.69 MB | 1 年前3django cms 3.4.x Documentation
CMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them plugin class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface watch_models allows the frontend editor to redirect the user to the model instance get_absolute_url whenever an instance of this model is created or saved through the frontend editor (see Detecting URL changes0 码力 | 395 页 | 1.64 MB | 1 年前3django cms 3.6.x Documentation
CMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them the plugin class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface render_template Minimally-required applications and settings Open the new project’s settings.py file in your text editor. INSTALLED_APPS You will need to add the following to its list of INSTALLED_APPS: 'django.contrib0 码力 | 278 页 | 1.63 MB | 1 年前3django cms 3.7.x Documentation
CMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them plugin class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface Minimally-required applications and settings Open the new project’s settings.py file in your text editor. INSTALLED_APPS You will need to add the following to its list of INSTALLED_APPS: 'django.contrib0 码力 | 409 页 | 1.67 MB | 1 年前3Django CMS 3.9.x Documentation
CMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them plugin class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface Minimally-required applications and settings Open the new project’s settings.py file in your text editor. INSTALLED_APPS You will need to add the following to its list of INSTALLED_APPS: 'django.contrib0 码力 | 417 页 | 1.68 MB | 6 月前3Django CMS 3.8.x Documentation
CMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them plugin class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface Minimally-required applications and settings Open the new project’s settings.py file in your text editor. INSTALLED_APPS You will need to add the following to its list of INSTALLED_APPS: 'django.contrib0 码力 | 413 页 | 1.67 MB | 6 月前3Django CMS 4.0.x Documentation
CMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them the plugin class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface render_template Minimally-required applications and settings Open the new project’s settings.py file in your text editor. 4.1. Django/Python compatibility table 31 django cms Documentation, Release 3.9.0 INSTALLED_APPS0 码力 | 296 页 | 1.79 MB | 6 月前3Django CMS 3.9.x Documentation
CMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them the plugin class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface render_template Minimally-required applications and settings Open the new project’s settings.py file in your text editor. INSTALLED_APPS You will need to add the following to its list of INSTALLED_APPS: 'django.contrib0 码力 | 298 页 | 1.79 MB | 6 月前3django cms 3.10.x Documentation
(Step 4) The page we just created is just a draft and needs to be published once you finish. As an editor, only you can see and edit your drafts, other visitors to your site will only see your published CMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them the plugin class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface render_template0 码力 | 296 页 | 1.79 MB | 1 年前3django cms 3.3.x Documentation
CMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them as _ class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface watch_models allows the frontend editor to redirect the user to the model instance get_absolute_url whenever an instance of this model is created or saved through the frontend editor (see Detecting URL changes0 码力 | 386 页 | 1.56 MB | 1 年前3
共 85 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9