mirror of
https://github.com/django/django.git
synced 2025-07-04 09:49:12 +00:00
Fixed typo in [7959]
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7962 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
ca1281330a
commit
deedd01ca3
@ -232,7 +232,7 @@ But, really, this is an inefficient way of adding Choice objects to the system.
|
|||||||
It'd be better if you could add a bunch of Choices directly when you create the
|
It'd be better if you could add a bunch of Choices directly when you create the
|
||||||
Poll object. Let's make that happen.
|
Poll object. Let's make that happen.
|
||||||
|
|
||||||
Remove the ``register()`` cal for the Choice model. Then, edit the ``Poll``
|
Remove the ``register()`` call for the Choice model. Then, edit the ``Poll``
|
||||||
registration code to read::
|
registration code to read::
|
||||||
|
|
||||||
class ChoiceInline(admin.StackedInline):
|
class ChoiceInline(admin.StackedInline):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user