django cms 3.3.x Documentationcms.constants.REFRESH Constant used by the toolbar. cms.constants.EXPIRE_NOW Constant of 0 (zero) used for cache control headers cms.constants.MAX_EXPIRATION_TTL Constant of 31536000 or 365 days names as strings. REFRESH_PAGE Constant to be used with on_close to refresh the current page when the frame is closed. LEFT Constant to be used with side. RIGHT Constant to be used with side. get_item_count() constants module This release adds the cms.constants module which will hold generic django CMS constant values. Currently it only contains TEMPLATE_INHERITANCE_MAGIC which used to live in cms.conf.global_settings0 码力 | 386 页 | 1.56 MB | 1 年前3
django cms 3.4.x Documentationcms.constants.REFRESH Constant used by the toolbar. cms.constants.EXPIRE_NOW Constant of 0 (zero) used for cache control headers cms.constants.MAX_EXPIRATION_TTL Constant of 31536000 or 365 days names as strings. REFRESH_PAGE Constant to be used with on_close to refresh the current page when the frame is closed. LEFT Constant to be used with side. RIGHT Constant to be used with side. get_item_count() constants module This release adds the cms.constants module which will hold generic django CMS constant values. Currently it only contains TEMPLATE_INHERITANCE_MAGIC which used to live in cms.conf.global_settings0 码力 | 395 页 | 1.64 MB | 1 年前3
django cms 3.5.x Documentationcms.constants.REFRESH Constant used by the toolbar. cms.constants.EXPIRE_NOW Constant of 0 (zero) used for cache control headers cms.constants.MAX_EXPIRATION_TTL Constant of 31536000 or 365 days names as strings. REFRESH_PAGE Constant to be used with on_close to refresh the current page when the frame is closed. LEFT Constant to be used with side. RIGHT Constant to be used with side. get_item_count() constants module This release adds the cms.constants module which will hold generic django CMS constant values. Currently it only contains TEMPLATE_INHERITANCE_MAGIC which used to live in cms.conf.global_settings0 码力 | 403 页 | 1.69 MB | 1 年前3
Django CMS 3.0.x Documentationtoolbar. cms.constants.RIGHT Used as a position indicator in the toolbar. cms.constants.REFRESH Constant used by the toolbar. cms.plugin_base class cms.plugin_base.CMSPluginBase Inherits django.contrib names as strings. REFRESH_PAGE Constant to be used with on_close to refresh the current page when the frame is closed. LEFT Constant to be used with side. RIGHT Constant to be used with side. get_item_count() cms.constants module This release adds the cms.constants module which will hold generic django CMS constant values. Currently it only contains TEMPLATE_INHERITANCE_MAGIC which used to live in cms.conf.global_settings0 码力 | 180 页 | 1.56 MB | 6 月前3
django cms 3.1.x Documentationtoolbar. cms.constants.RIGHT Used as a position indicator in the toolbar. cms.constants.REFRESH Constant used by the toolbar. cms.plugin_base class cms.plugin_base.CMSPluginBase Inherits django.contrib names as strings. REFRESH_PAGE Constant to be used with on_close to refresh the current page when the frame is closed. LEFT Constant to be used with side. RIGHT Constant to be used with side. 116 Chapter constants module This release adds the cms.constants module which will hold generic django CMS constant values. Currently it only contains TEMPLATE_INHERITANCE_MAGIC which used to live in cms.conf.global_settings0 码力 | 200 页 | 1.63 MB | 1 年前3
Django 2.2.x Documentationexamples given so far, we have constructed filters that compare the value of a model field with a constant. But what if you want to compare the value of a model field with another field on the same model ForeignKey fields using this method. To update a non-relation field, provide the new value as a constant. To update ForeignKey fields, set the new value to be the new model instance you want to point to customization for multiple- database support: class MultiDBModelAdmin(admin.ModelAdmin): # A handy constant for the name of the alternate database. using = 'other' def save_model(self, request, obj0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 3.0.x Documentationexamples given so far, we have constructed filters that compare the value of a model field with a constant. But what if you want to compare the value of a model field with another field on the same model ForeignKey fields using this method. To update a non-relation field, provide the new value as a constant. To update ForeignKey fields, set the new value to be the new model instance you want to point to customization for multiple- database support: class MultiDBModelAdmin(admin.ModelAdmin): # A handy constant for the name of the alternate database. using = 'other' def save_model(self, request, obj0 码力 | 3085 页 | 2.95 MB | 1 年前3
Django 1.8.x Documentationexamples given so far, we have constructed filters that compare the value of a model field with a constant. But what if you want to compare the value of a model field with another field on the same model ForeignKey fields using this method. To update a non-relation field, provide the new value as a constant. To update ForeignKey fields, set the new value to be the new model instance you want to point to customization for multiple- database support: class MultiDBModelAdmin(admin.ModelAdmin): # A handy constant for the name of the alternate database. using = 'other' def save_model(self, request, obj0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 2.1.x Documentationexamples given so far, we have constructed filters that compare the value of a model field with a constant. But what if you want to compare the value of a model field with another field on the same model ForeignKey fields using this method. To update a non-relation field, provide the new value as a constant. To update ForeignKey fields, set the new value to be the new model instance you want to point to customization for multiple- database support: class MultiDBModelAdmin(admin.ModelAdmin): # A handy constant for the name of the alternate database. using = 'other' def save_model(self, request, obj0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 4.2.x Documentationexamples given so far, we have constructed filters that compare the value of a model field with a constant. But what if you want to compare the value of a model field with another field on the same model ForeignKey fields using this method. To update a non-relation field, provide the new value as a constant. To update ForeignKey fields, set the new value to be the new model instance you want to point to customization for multiple-database support: class MultiDBModelAdmin(admin.ModelAdmin): # A handy constant for the name of the alternate database. using = "other" def save_model(self, request, obj0 码力 | 3305 页 | 3.16 MB | 1 年前3
共 48 条
- 1
- 2
- 3
- 4
- 5













