Re: modelformset_factory error: (Hidden field id) with this None already exists.

2008-12-08 Thread cyberjack
Thanks for the idea Karen, What's the right mechanism for passing the queryset back into the form? I don't see an example in the docs. Thanks! -Josh On Dec 4, 4:10 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Thu, Dec 4, 2008 at 2:12 AM, cyberjack <[E

Re: modelformset_factory error: (Hidden field id) with this None already exists.

2008-12-03 Thread cyberjack
render_to_response('manage_articles.html', {'formset': formset, 'vehicle_id': vehicle_id}) Is this a bug in Django? If so, what should I include in the bug report? Thanks, -Josh On Dec 2, 3:49 pm, cyberjack <[EMAIL PROTECTED]>

modelformset_factory error: (Hidden field id) with this None already exists.

2008-12-02 Thread cyberjack
Hi all, I've been stumped by this error for the past few days and haven't made any progress. Could someone please help out? I've created a formset of seven entries, one for each day of the previous week. The first submission works fine; all seven entries are successfully submitted. Subsequent s

Re: How to return Admin to previous filters after save?

2008-12-02 Thread cyberjack
Thanks, that's good to know. -Josh --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send emai

How to return Admin to previous filters after save?

2008-12-01 Thread cyberjack
I have an admin interface managing a few thousand records. Finding a record requires heavy use of multiple list_filter selections. However, once a user edits a record, the admin interface redirects to the root admin URL and loses the filter state. Is there an easy way to have the admin editor ret

Re: How to return Admin to previous filters after save?

2008-02-14 Thread cyberjack
> Not a solution but a workaround. I had exactly the same problem as a user, I > solved it by bookmarking the right url. I've recommended this to our users, but it's a real pain. Each user is pretty active, so there is a lot of (load-bookmark, make edit, load- bookmark, repeat) annoyance. Doe

How to return Admin to previous filters after save?

2008-02-13 Thread cyberjack
I have an admin interface managing a few thousand records. Finding a record requires heavy use of multiple list_filter selections. However, once a user edits a record, the admin interface redirects to the root admin URL and loses the filter state. Is there an easy way to have the admin editor ret