Django

Code

Ticket #8861 (closed: fixed)

Opened 2 years ago

Last modified 9 months ago

Validation of Forms doesn't mention self.instance

Reported by: lakin@structuredabstraction.com Assigned to: jacob
Milestone: 1.1 Component: Documentation
Version: 1.0 Keywords:
Cc: Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

on http://docs.djangoproject.com/en/dev/ref/forms/validation/#ref-forms-validation or on http://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-custom-validation-to-the-admin does it mention the self.instance variable which is integral in implementing a unique Validator.

Attachments

8861-self_instance_model_form_attribute.diff (2.5 kB) - added by ramiro on 06/11/09 20:54:10.
Patch that adds a blurb to the relevant section of topics/forms/modelforms (rather than of forms/validation/#ref-forms-validation) and a link to it from ref/contrib/admin/index

Change History

02/25/09 16:13:52 changed by jacob

  • needs_better_patch changed.
  • component changed from Uncategorized to Documentation.
  • needs_tests changed.
  • milestone set to 1.1.
  • needs_docs changed.
  • stage changed from Unreviewed to Accepted.

04/02/09 13:43:54 changed by jacob

  • owner changed from nobody to jacob.
  • status changed from new to assigned.

06/11/09 20:54:10 changed by ramiro

  • attachment 8861-self_instance_model_form_attribute.diff added.

Patch that adds a blurb to the relevant section of topics/forms/modelforms (rather than of forms/validation/#ref-forms-validation) and a link to it from ref/contrib/admin/index

06/11/09 20:54:23 changed by ramiro

  • has_patch set to 1.

06/24/09 09:04:19 changed by russellm

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [11097]) Fixed #8861 -- Added note on the availability of ModelForm?.instance. Thanks to Ramiro Morales for the patch.

06/24/09 09:23:24 changed by russellm

(In [11102]) [1.0.X] Fixed #8861 -- Added note on the availability of ModelForm?.instance. Thanks to Ramiro Morales for the patch.

Merge of r11097 from trunk.


Add/Change #8861 (Validation of Forms doesn't mention self.instance)




Change Properties
Action