Consider the 2nd to last code quotation (before the lengthy 'Note') in
this section. Both the text and the code block refer to and imply a
'slug' field in the fields list of the Meta class. The last code block,
however does not omit it.
--
Ticket URL: <https://code.djangoproject.com/ticket/21560>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Or, maybe it will work the way it is written. I'm confused.
--
Ticket URL: <https://code.djangoproject.com/ticket/21560#comment:1>
* type: Uncategorized => Bug
* stage: Unreviewed => Accepted
Comment:
It was an accidental omission.
--
Ticket URL: <https://code.djangoproject.com/ticket/21560#comment:2>
* owner: nobody => merb
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/21560#comment:3>
* has_patch: 0 => 1
Comment:
I updated the documentation and added a pull request:
https://github.com/django/django/pull/2058
--
Ticket URL: <https://code.djangoproject.com/ticket/21560#comment:4>
Comment (by Claude Paroz <claude@…>):
In [changeset:"0873200e7f61315ad375061a3dc6d37b514ff985"]:
{{{
#!CommitTicketReference repository=""
revision="0873200e7f61315ad375061a3dc6d37b514ff985"
Merge pull request #2058 from c-schmitt/fixes_21560
Fixed #21560 -- missing 'slug' field in example code
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21560#comment:6>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"744aac6dace325752e3b1c7c8af64a7bc655186f"]:
{{{
#!CommitTicketReference repository=""
revision="744aac6dace325752e3b1c7c8af64a7bc655186f"
Fixed #21560 -- missing 'slug' field in example code
I updated the documentation, that the modelform now includes the 'slug'
field.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21560#comment:5>
Comment (by Tim Graham <timograham@…>):
In [changeset:"d6d700fc6d5c32b86989a51a8a721e09ca26f1f4"]:
{{{
#!CommitTicketReference repository=""
revision="d6d700fc6d5c32b86989a51a8a721e09ca26f1f4"
[1.6.x] Fixed #21560 -- Added missing 'slug' field in example code.
Backport of 744aac6dac from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21560#comment:7>