Opened 17 years ago
Closed 17 years ago
#5733 closed (fixed)
[newforms-admin] - add formset_for_queryset
Reported by: | Brian Rosner | Owned by: | jkocherhans |
---|---|---|---|
Component: | contrib.admin | Version: | newforms-admin |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In a discussion with Joseph, we both came to the conclusion that a helper method for multiple instances is tough. http://groups.google.com/group/django-developers/browse_frm/thread/b2a177e123e14947. I have actually devised a patch to allow for this. This patch is *not* complete. It is more or less a proof of concept along with some tests to boot. Joseph would you mind taking a quick peak?
Attachments (3)
Change History (6)
by , 17 years ago
Attachment: | 5733_formset_for_queryset.diff added |
---|
comment:1 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Just FYI this gave me a lot of new ideas and I'm refactoring some of the model-formset integration stuff as a result. Not sure when I'll have any results, but it's in progress.
by , 17 years ago
Attachment: | form_for_queryset.diff added |
---|
This may not apply cleanly anymore, but you get the idea, hopefully.
by , 17 years ago
Attachment: | r6614_formset_for_queryset.diff added |
---|
updated patch to match r6614. also includes a missing file and passes all tests.
comment:2 by , 17 years ago
I have attached an updated version of the patch to work against r6614 in newforms-admin (most current at this time). It also includes an __init__.py
missing from Joseph's patch and it passes all tests. I haven't been able to apply this to my working copy of newforms-admin for the site I am building with it, but will be able to do so soon. It will get some good exposure to lots of data and see how it handles and works overall.
comment:3 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
incomplete, but proof of concept with tests