Re: CRUD Views

2010-07-25 Thread Venkatraman S
Me culpa! Ignore this -- got it -- django.views.generic.create_update. On Sun, Jul 25, 2010 at 5:56 PM, Venkatraman S wrote: > Hi, > > I have many tables defined, wherein bulk of the operations which are > rendered in the UI are CRUD operations. > Is there any generic way of doing this instead o

CRUD Views

2010-07-25 Thread Venkatraman S
Hi, I have many tables defined, wherein bulk of the operations which are rendered in the UI are CRUD operations. Is there any generic way of doing this instead of me explicitly creating ModelForms and then handling each of the CRUD operations in my views? For eg. for creating an item, i do someth

generic CRUD views and hidden user fields

2006-04-03 Thread binaryfeed
Note: I am using the magic-removal branch. I am looking for the most elegant way to use the generic CRUD views while at the same time being able to support a hidden django.contrib.auth.models.User field. Here's what I'm doing now: #--- my model class Item(models.Model):