Django Q Documentation Release 0.9.0
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking fine with Django 1.7,1.9 and 1.10, but new releases are no longer tested for it. 1.2 Configuration Configuration is handled via the Q_CLUSTER dictionary in your settings.py # settings.py example Q_CLUSTER0 码力 | 58 页 | 427.01 KB | 1 年前3django cms 3.3.x Documentation
Installing django CMS by hand Custom Plugins Customising navigation menus Apphooks Complex apphook configuration Working with templates Extending the page & title models Extending the Toolbar Testing Your Extensions we suggest something different from the default, it’s indicated with an asterisk *). Database configuration (in URL format): sqlite://localhost/project.db django CMS version: stable Django version: stable Polls. For this application we also need to create and select an Application configuration. Give this application configuration some settings: Instance namespace: news (this is used for reversing URLs)0 码力 | 386 页 | 1.56 MB | 1 年前3django cms 3.7.x Documentation
project’s settings.py (see the note on The INSTALLED_APPS setting about ordering ). Add the poll URL configuration to urlpatterns in the project’s urls.py: urlpatterns += i18n_patterns( url(r'^admin/', include(admin Polls. For this application we also need to create and select an Application configuration. Give this application configuration some settings: Instance namespace: news (this is used for reversing URLs) that will represent the application configuration in the admin) Permalink type: choose a format you prefer for news article URLs Save this application configuration, and make sure it’s selected in Application0 码力 | 409 页 | 1.67 MB | 1 年前3Django CMS 3.9.x Documentation
project’s settings.py (see the note on The INSTALLED_APPS setting about ordering ). Add the poll URL configuration to urlpatterns in the project’s urls.py: urlpatterns += i18n_patterns( re_path(r'^admin/' Polls. For this application we also need to create and select an Application configuration. Give this application configuration some settings: Instance namespace: news (this is used for reversing URLs) Application that will represent the application configuration in the admin) Permalink type: choose a format you prefer for news article URLs Save this application configuration, and make sure it’s selected in Application0 码力 | 417 页 | 1.68 MB | 6 月前3Django CMS 3.8.x Documentation
project’s settings.py (see the note on The INSTALLED_APPS setting about ordering ). Add the poll URL configuration to urlpatterns in the project’s urls.py: urlpatterns += i18n_patterns( re_path(r'^admin/' Polls. For this application we also need to create and select an Application configuration. Give this application configuration some settings: Instance namespace: news (this is used for reversing URLs) Application that will represent the application configuration in the admin) Permalink type: choose a format you prefer for news article URLs Save this application configuration, and make sure it’s selected in Application0 码力 | 413 页 | 1.67 MB | 6 月前3Django Q Documentation Release 1.3.6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking 6 For this you can always use older releases, but they are no longer maintained. 1.2 Configuration Configuration is handled via the Q_CLUSTER dictionary in your settings.py # settings.py example Q_CLUSTER0 码力 | 62 页 | 452.10 KB | 1 年前3Django Q Documentation Release 1.3.6
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking 6 For this you can always use older releases, but they are no longer maintained. 1.2 Configuration Configuration is handled via the Q_CLUSTER dictionary in your settings.py # settings.py example Q_CLUSTER0 码力 | 64 页 | 453.51 KB | 1 年前3django cms 3.4.x Documentation
Polls. For this application we also need to create and select an Application configuration. Give this application configuration some settings: Instance namespace: news (this is used for reversing URLs) that will represent the application configuration in the admin) Permalink type: choose a format you prefer for news article URLs Save this application configuration, and make sure it’s selected in Application django CMS by hand Create custom plugins Customise menus Create apphooks Manage complex apphook configuration Serve multiple languages Work with templates Extend Page & Title models Extend the Toolbar Test0 码力 | 395 页 | 1.64 MB | 1 年前3django cms 3.5.x Documentation
Polls. For this application we also need to create and select an Application configuration. Give this application configuration some settings: Instance namespace: news (this is used for reversing URLs) that will represent the application configuration in the admin) Permalink type: choose a format you prefer for news article URLs Save this application configuration, and make sure it’s selected in Application django CMS by hand Create custom plugins Customise menus Create apphooks Manage complex apphook configuration Serve multiple languages Work with templates Extend Page & Title models Extend the Toolbar Test0 码力 | 403 页 | 1.69 MB | 1 年前3Django Q Documentation Release 0.7.17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . however be able to develop and test without the cluster by setting the sync option to True in the configuration. This will run all async calls inline through a single cluster worker without the need for forking Q still works fine with Django 1.7, but new releases are no longer tested for it. 1.2 Configuration Configuration is handled via the Q_CLUSTER dictionary in your settings.py # settings.py example Q_CLUSTER0 码力 | 56 页 | 416.84 KB | 1 年前3
共 93 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10