#11148: Inline Views don't support editable=False for PK value
------------------------------------------------+---------------------------
Reporter: [email protected] | Owner: nobody
Status: new | Milestone: 1.1
Component: django.contrib.admin | Version: SVN
Resolution: | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------------------+---------------------------
Changes (by ramiro):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
How do you plan to handle the uniqueness requirement on the EntryAuthor
model PK field `pk_entry_author`? You aren specifying Django shouldn't
handle it (by defining it as an `IntegerField` and not as an `AutoField`)
but you aren't allowing the user to specify a value either (by using
`editable=False`).
Please, post his kind of topics to the django-users mailing list first.
--
Ticket URL: <http://code.djangoproject.com/ticket/11148#comment:1>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---