Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » form/formset for all model items in admin app? [RSS Feed]

#1 June 13, 2010 17:17:55

Aljosa M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

form/formset for all model items in admin app?


if i have MyModel with 2 fields (field_1 CharField, field_2
IntegerField) is it possible to tell admin app to display all items in
a single edit form?
instead of having to edit each item i would like to do it in a single
form/view.
maybe some combination with formsets?

Aljosa Mohorovic

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 June 13, 2010 17:34:58

Daniel R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

form/formset for all model items in admin app?


On Jun 13, 5:17 pm, Aljosa Mohorovic <aljosa.mohoro...@gmail.com>
wrote:
> if i have MyModel with 2 fields (field_1 CharField, field_2
> IntegerField) is it possible to tell admin app to display all items in
> a single edit form?
> instead of having to edit each item i would like to do it in a single
> form/view.
> maybe some combination with formsets?
>
> Aljosa Mohorovic

list_editable will allow you to do this on the changelist page:http://docs.djangoproject.com/en/1.2/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_editable--
DR.

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » form/formset for all model items in admin app? [RSS Feed]

Board footer

Moderator control

Enjoy the 18th of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support