tickets: 8788
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8788 | 2008-09-02 03:55:18 | 2011-09-28 16:12:17 | 2022-03-06 03:43:10.312116 | Ready for checkin | closed | Documentation | dev | fixed | correction for some typos in #8805 | {{{ Index: django/forms/models.py =================================================================== --- django/forms/models.py (revision 8831) +++ django/forms/models.py (working copy) @@ -244,7 +244,7 @@ if self.instance.pk is not None: qs = qs.exclude(pk=self.instance.pk) - # This cute trick with extra/values is the most efficiant way to + # This cute trick with extra/values is the most efficient way to # tell if a particular query returns any results. if qs.extra(select={'a': 1}).values('a').order_by(): model_name = capfirst(self.instance._meta.verbose_name) Index: docs/topics/forms/modelforms.txt =================================================================== --- docs/topics/forms/modelforms.txt (revision 8831) +++ docs/topics/forms/modelforms.txt (working copy) @@ -337,10 +337,10 @@ Overriding the clean() method ----------------------------- -You can overide the ``clean()`` method on a model form to provide additional +You can override the ``clean()`` method on a model form to provide additional validation in the same way you can on a normal form. However, by default the ``clean()`` method validates the uniqueness of fields that are marked as unique -on the model, and those marked as unque_together, if you would like to overide +on the model, and those marked as unique_together, if you would like to override the ``clean()`` method and maintain the default validation you must call the parent class's ``clean()`` method. }}} | nobody | Matthew Flanagan <mattimustang@gmail.com> | 0 | 1 | 0 | 0 | 0 | 0 |