Django 4.2.x Documentationregardless of the backend. Loading consists of finding the template for a given identifier and preprocessing it, usually compiling it to an in-memory representation. Rendering means interpolating the template same as the conversion used for normal query parameters, you can override get_db_prep_save(). Preprocessing values before saving If you want to preprocess the value just before saving, you can use pre_save() model_instance for this field. The attribute name is in self.attname (this is set up by Field). See Preprocessing values before saving for usage. Fields often receive their values as a different type, either0 码力 | 3305 页 | 3.16 MB | 1 年前3
Django 4.1.x Documentationregardless of the backend. Loading consists of finding the template for a given identifier and preprocessing it, usually compiling it to an in-memory representation. Rendering means interpolating the template same as the conversion used for normal query parameters, you can override get_db_prep_save(). Preprocessing values before saving If you want to preprocess the value just before saving, you can use pre_save() model_instance for this field. The attribute name is in self.attname (this is set up by Field). See Preprocessing values before saving for usage. Fields often receive their values as a different type, either0 码力 | 3240 页 | 3.13 MB | 1 年前3
Django 5.1.2 Documentationregardless of the backend. Loading con- sists of finding the template for a given identifier and preprocessing it, usually compiling it to an in-memory representation. Rendering means interpolating the template get_db_prep_save(). 788 Chapter 4. “How-to”guides Django Documentation, Release 5.1.2.dev20240916204136 Preprocessing values before saving If you want to preprocess the value just before saving, you can use pre_save() model_instance for this field. The attribute name is in self.attname (this is set up by Field). See Preprocessing values before saving for usage. Fields often receive their values as a different type, either0 码力 | 2923 页 | 9.62 MB | 1 年前3
Django 5.1 Documentationregardless of the backend. Loading consists of finding the template for a given identifier and preprocessing it, usually compiling it to an in-memory representation. Rendering means interpolating the template same as the conversion used for normal query parameters, you can override get_db_prep_save(). Preprocessing values before saving If you want to preprocess the value just before saving, you can use pre_save() model_instance for this field. The attribute name is in self.attname (this is set up by Field). See Preprocessing values before saving for usage. Fields often receive their values as a different type, either0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1 Documentationregardless of the backend. Loading con- sists of finding the template for a given identifier and preprocessing it, usually compiling it to an in-memory representation. Rendering means interpolating the template get_db_prep_save(). 786 Chapter 4. “How-to”guides Django Documentation, Release 5.1.1.dev20240808115027 Preprocessing values before saving If you want to preprocess the value just before saving, you can use pre_save() model_instance for this field. The attribute name is in self.attname (this is set up by Field). See Preprocessing values before saving for usage. Fields often receive their values as a different type, either0 码力 | 2917 页 | 9.59 MB | 1 年前3
Django 5.1.2 Documentationregardless of the backend. Loading consists of finding the template for a given identifier and preprocessing it, usually compiling it to an in-memory representation. Rendering means interpolating the template same as the conversion used for normal query parameters, you can override get_db_prep_save(). Preprocessing values before saving If you want to preprocess the value just before saving, you can use pre_save() model_instance for this field. The attribute name is in self.attname (this is set up by Field). See Preprocessing values before saving for usage. Fields often receive their values as a different type, either0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django 4.1.x Documentationregardless of the backend. Loading con- sists of finding the template for a given identifier and preprocessing it, usually compiling it to an in-memory representation. Rendering means interpolating the template get_db_prep_save(). 756 Chapter 4. “How-to”guides Django Documentation, Release 4.1.11.dev20230703083112 Preprocessing values before saving If you want to preprocess the value just before saving, you can use pre_save() model_instance for this field. The attribute name is in self.attname (this is set up by Field). See Preprocessing values before saving for usage. Fields often receive their values as a different type, either0 码力 | 2777 页 | 9.32 MB | 1 年前3
Django 5.0.x Documentationregardless of the backend. Loading con- sists of finding the template for a given identifier and preprocessing it, usually compiling it to an in-memory representation. Rendering means interpolating the template get_db_prep_save(). 782 Chapter 4. “How-to”guides Django Documentation, Release 5.0.2.dev20240126115907 Preprocessing values before saving If you want to preprocess the value just before saving, you can use pre_save() model_instance for this field. The attribute name is in self.attname (this is set up by Field). See Preprocessing values before saving for usage. Fields often receive their values as a different type, either0 码力 | 2878 页 | 9.60 MB | 1 年前3
Django 4.2.x Documentationregardless of the backend. Loading con- sists of finding the template for a given identifier and preprocessing it, usually compiling it to an in-memory representation. Rendering means interpolating the template same as the conversion used for normal query parameters, you can override get_db_prep_save(). Preprocessing values before saving If you want to preprocess the value just before saving, you can use pre_save() model_instance for this field. The attribute name is in self.attname (this is set up by Field). See Preprocessing values before saving for usage. Fields often receive their values as a different type, either0 码力 | 2842 页 | 9.47 MB | 1 年前3
Django 5.0.x Documentationregardless of the backend. Loading consists of finding the template for a given identifier and preprocessing it, usually compiling it to an in-memory representation. Rendering means interpolating the template same as the conversion used for normal query parameters, you can override get_db_prep_save(). Preprocessing values before saving If you want to preprocess the value just before saving, you can use pre_save() model_instance for this field. The attribute name is in self.attname (this is set up by Field). See Preprocessing values before saving for usage. Fields often receive their values as a different type, either0 码力 | 3407 页 | 3.21 MB | 1 年前3
共 30 条
- 1
- 2
- 3













