#13: Related objects interface should be tighter
------------------------+---------------------------------------------------
Reporter: adrian | Owner: jacob
Status: assigned | Component: Admin interface
Version: | Resolution:
Keywords: | Stage: Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
------------------------+---------------------------------------------------
Comment (by [EMAIL PROTECTED]):
I wanted to add that if you have 'max_num_in_admin' set to something for
the related object then the JS should respect that value to that and not
allow you to add more sets of fields once you reach that number. I bring
this up, because in certain instances you want to only have one related
object. One example that springs to mind are users and profiles, and
although you don't have to worry about 2 profiles being saved for a single
user (unique = True in the ForeignKey would throw a validation error), it
would be rather confusing if the interface allowed you to have two forms
but wouldn't let you save both of them.
Finally, I think that since we're working on this, we should have some way
to quickly clear a related object's inline form (perhaps the delete option
could double for this). If I have a long form and I fill in all the
fields, then decide I don't want to add that related object, I'd have to
manually go back clear all the core=True fields, which could be very time
consuming, especially if the I don't know which ones they are. Just my
2ยข.
--
Ticket URL: <http://code.djangoproject.com/ticket/13#comment:22>
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
-~----------~----~----~----~------~----~------~--~---