#7982: ModelAdmin primarykeys
--------------------------------------+-------------------------------------
Reporter: sorl | Owner: bastih
Status: assigned | Milestone: 1.0
Component: Admin interface | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by bastih):
* has_patch: 0 => 1
Comment:
The patch changes the url-schema of the admin as following:
app/model/ # No view -> redirects to objects/ (maybe a future "choose your
view/manager?")[[BR]]
app/model/objects/ # List view[[BR]]
app/model/objects/pk # Particular object[[BR]]
app/model/objects/pk/action # Action on particular object,
history/delete[[BR]]
app/model/add/ # Create a new object[[BR]]
Currently has one left issue, which is marked as a TODO in the ticket,
saving an already existing model with saveandnew currently doesn't get the
right url (wish i had an admin urlconf to make this patch somewhat nicer).
--
Ticket URL: <http://code.djangoproject.com/ticket/7982#comment:5>
Django Code <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
-~----------~----~----~----~------~----~------~--~---