Django 5.1 Documentationmigrations to apps Reversing migrations Historical models Considerations when removing model fields Data Migrations Squashing migrations Serializing values Supporting multiple Django versions Managing files Using different versions of available software Serializing Django objects Serializing data Deserializing data Serialization formats Natural keys Django settings The basics Designating the settings reporting Email reports Filtering error reports How to provide initial data for models Provide initial data with migrations Provide data with fixtures How to integrate Django with a legacy database Give0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1.2 Documentationmigrations to apps Reversing migrations Historical models Considerations when removing model fields Data Migrations Squashing migrations Serializing values Supporting multiple Django versions Managing files Using different versions of available software Serializing Django objects Serializing data Deserializing data Serialization formats Natural keys Django settings The basics Designating the settings reporting Email reports Filtering error reports How to provide initial data for models Provide initial data with migrations Provide data with fixtures How to integrate Django with a legacy database Give0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django 5.0.x Documentationmigrations to apps Reversing migrations Historical models Considerations when removing model fields Data Migrations Squashing migrations Serializing values Supporting multiple Django versions Managing files Using different versions of available software Serializing Django objects Serializing data Deserializing data Serialization formats Natural keys Django settings The basics Designating the settings reporting Email reports Filtering error reports How to provide initial data for models Provide initial data with migrations Provide data with fixtures How to integrate Django with a legacy database Give0 码力 | 3407 页 | 3.21 MB | 1 年前3
django cms 3.3.x DocumentationCMS 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 _("Create Alias"), reverse("admin:cms_create_alias"), data={'plugin_id': plugin.pk, 'csrfmiddlewaretoken': get_token(request)}, ) ]0 码力 | 386 页 | 1.56 MB | 1 年前3
django cms 3.5.x DocumentationCMS 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 _("Create Alias"), reverse("admin:cms_create_alias"), data={'plugin_id': plugin.pk, 'csrfmiddlewaretoken': get_token(request)}, ) ]0 码力 | 403 页 | 1.69 MB | 1 年前3
django cms 3.4.x DocumentationCMS 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 _("Create Alias"), reverse("admin:cms_create_alias"), data={'plugin_id': plugin.pk, 'csrfmiddlewaretoken': get_token(request)}, ) ]0 码力 | 395 页 | 1.64 MB | 1 年前3
django cms 3.7.x DocumentationCMS 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 _("Create Alias"), reverse("admin:cms_create_alias"), data={ 'plugin_id': plugin.pk, 'csrfmiddlewaretoken': get_token(request)0 码力 | 409 页 | 1.67 MB | 1 年前3
Django CMS 3.9.x DocumentationCMS 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 _("Create Alias"), reverse("admin:cms_create_alias"), data={ 'plugin_id': plugin.pk, 'csrfmiddlewaretoken': get_token(request)0 码力 | 417 页 | 1.68 MB | 6 月前3
Django CMS 3.8.x DocumentationCMS 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 _("Create Alias"), reverse("admin:cms_create_alias"), data={ 'plugin_id': plugin.pk, 'csrfmiddlewaretoken': get_token(request)0 码力 | 413 页 | 1.67 MB | 6 月前3
Django CMS 3.11.10 Documentationaccidentally run migrations on a django CMS version 3 database. This can lead to corruption since the data structures for the CMSPlugin models are different. Warning Do not add CMS_CONFIRM_VERSION4 = True django CMS version 3 project unless you know what you are doing. Just running migrations can lead to data loss. Warning To migrate a django CMS version 3 project to version 4 you can have a look at django 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 them0 码力 | 493 页 | 1.44 MB | 6 月前0.03
共 85 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













