Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » list created from a table in my database [RSS Feed]

#1 Jan. 12, 2011 16:34:21

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

list created from a table in my database


Hi all,
I want to create a page on my site where I can extract the rows from a
table in my database and allow certain users with the proper access to
be able to add, delete, and change the columns of the rows if they
want. I think I have the multi-user thing pretty much figured out
(although I dont know if Im doing the best way, Ive just made
customuser model and then used inheritance for the other models that
represent users), but my main question is, what would be the best way
to go about displaing the rows to be edited, deleted, etc.. to a page
on my website. I know I could display them if I just do queries like
modelname.object.filter(...) but the editing part and all that is
still sort of up in the air. I appreciate any input on the matter.
thanks,
Tony

--
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 Jan. 12, 2011 16:38:51

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

list created from a table in my database


Formsets were made for this:http://docs.djangoproject.com/en/dev/topics/forms/formsets/--
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
  • » list created from a table in my database [RSS Feed]

Board footer

Moderator control

Enjoy the 17th of August
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