django cms 3.10.x Documentation
Release 3.9.0 Next we’ll integrate the Polls application more fully into our django CMS project. Apphooks Right now, our Django Polls application is statically hooked into the project’s urls.py. This is CMSApp sub-class, which tells the CMS how to include that application. Create the apphook class Apphooks live in a file called cms_apps.py, so create one in your Polls/CMS Integration application, i.e added automatically to the page by the apphook if you consider this appropriate. See Adding menus to apphooks for information on how to do that. Note: The point here is to illustrate the basic principles.0 码力 | 296 页 | 1.79 MB | 1 年前3Django CMS 4.0.x Documentation
Release 3.9.0 Next we’ll integrate the Polls application more fully into our django CMS project. Apphooks Right now, our Django Polls application is statically hooked into the project’s urls.py. This is CMSApp sub-class, which tells the CMS how to include that application. Create the apphook class Apphooks live in a file called cms_apps.py, so create one in your Polls/CMS Integration application, i.e added automatically to the page by the apphook if you consider this appropriate. See Adding menus to apphooks for information on how to do that. Note: The point here is to illustrate the basic principles. In0 码力 | 296 页 | 1.79 MB | 6 月前3Django CMS 3.9.x Documentation
CMS project. 4.1. Django/Python compatibility table 19 django cms Documentation, Release 3.10.0 Apphooks Right now, our Django Polls application is statically hooked into the project’s urls.py. This is CMSApp sub-class, which tells the CMS how to include that application. Create the apphook class Apphooks live in a file called cms_apps.py, so create one in your Polls/CMS Integration application, i.e added automatically to the page by the apphook if you consider this appropriate. See Adding menus to apphooks for information on how to do that. Note: The point here is to illustrate the basic principles. In0 码力 | 298 页 | 1.79 MB | 6 月前3django cms 3.6.x Documentation
other plugin. Next we’ll integrate the Polls application more fully into our django CMS project. Apphooks Right now, our Django Polls application is statically hooked into the project’s urls.py. This is CMSApp sub-class, which tells the CMS how to include that application. Create the apphook class Apphooks live in a file called cms_apps.py, so create one in your Polls/CMS Integration application, i.e added automatically to the page by the apphook if you consider this appropriate. See Adding menus to apphooks for information on how to do that. Note: The point here is to illustrate the basic principles.0 码力 | 278 页 | 1.63 MB | 1 年前3django cms 4.1.x Documentation
CMS project. 5.2. Django/Python compatibility table 33 django cms Documentation, Release 4.1.2 Apphooks Right now, our Django Polls application is statically hooked into the project’s urls.py. This is CMSApp sub-class, which tells the CMS how to include that application. Create the apphook class Apphooks live in a file called cms_apps.py, so create one in your Polls/CMS Integration application, i.e added automatically to the page by the apphook if you consider this appropriate. See Adding menus to apphooks for information on how to do that. Note: The point here is to illustrate the basic principles.0 码力 | 357 页 | 1.99 MB | 1 年前3django cms 4.1.1 Documentation
CMS project. 5.2. Django/Python compatibility table 33 django cms Documentation, Release 4.1.1 Apphooks Right now, our Django Polls application is statically hooked into the project’s urls.py. This is CMSApp sub-class, which tells the CMS how to include that application. Create the apphook class Apphooks live in a file called cms_apps.py, so create one in your Polls/CMS Integration application, i.e added automatically to the page by the apphook if you consider this appropriate. See Adding menus to apphooks for information on how to do that. Note: The point here is to illustrate the basic principles.0 码力 | 361 页 | 2.00 MB | 1 年前3django cms 3.1.x Documentation
plugin. Next we’ll integrate the Polls application more fully into our django CMS project. 5.1.4 Apphooks Right now, our django Polls app is statically hooked into the project’s urls.py. This is all right with an Apphook, created using a CMSApp subclass, which tells the CMS how to include that app. Apphooks live in a file called cms_app.py, so create one in your Poll application. This is the most basic you’ll find that the Polls application is now available directly from the new django CMS page. (Apphooks won’t take effect until the server has restarted, though this is not generally an issue on the runserver0 码力 | 200 页 | 1.63 MB | 1 年前3Django CMS 3.0.x Documentation
plugin. Next we’ll integrate the Polls application more fully into our django CMS project. 5.1.4 Apphooks Right now, our django Polls app is statically hooked into the project’s urls.py. This is allright this with an Apphook, created using a CMSApp subclass, which tells the CMS how to include that app. Apphooks live in a file called cms_app.py, so create one in your Poll application. This is the most basic you’ll find that the Polls application is now available directly from the new django CMS page. (Apphooks won’t take effect until the server has restarted, though this is not generally an issue on the runserver0 码力 | 180 页 | 1.56 MB | 6 月前3Django CMS 2.3.x Documentation
callables that modify all plugin’s output after rendering. See Custom Plugins for more information. CMS_APPHOOKS Default: () A list of import paths for cms.app_base.CMSApp subclasses. Defaults to an empty list import their cms_app module. If this setting is set, the auto-discovery is disabled. Example: CMS_APPHOOKS = ( 'myapp.cms_app.MyApp', 'otherapp.cms_app.MyFancyApp', 'sampleapp.cms_app.SampleApp', ) PLAC subcommands: • cms list plugins lists all plugins that are used in your project. • cms list apphooks lists all apphooks that are used in your project. 3.4.2 Plugin and apphook management commands cms uninstall0 码力 | 92 页 | 666.41 KB | 6 月前3Django CMS 2.2.x Documentation
callables that modify all plugin’s output after rendering. See Custom Plugins for more information. CMS_APPHOOKS Default: () A list of import paths for cms.app_base.CMSApp subclasses. Defaults to an empty list import their cms_app module. If this setting is set, the auto-discovery is disabled. Example: CMS_APPHOOKS = ( 'myapp.cms_app.MyApp', 'otherapp.cms_app.MyFancyApp', 'sampleapp.cms_app.SampleApp', ) PLAC subcommands: • cms list plugins lists all plugins that are used in your project. • cms list apphooks lists all apphooks that are used in your project. 2.4.2 Plugin and apphook management commands cms uninstall0 码力 | 76 页 | 627.98 KB | 6 月前3
共 12 条
- 1
- 2