Re: Re: Using custom forms with generic views

2006-08-12 Thread Jeff Mikels
Great! That's exactly what I wanted! Thanks. On 8/8/06, Ian Holsman <[EMAIL PROTECTED]> wrote: > > another alternative you may want to consider is to piggybak ontop of the > generic view > > have a look > at > http://svn.zyons.python-hosting.com/trunk/zilbo/common/utils/views/create_update.py

Re: Using custom forms with generic views

2006-08-08 Thread Ian Holsman
another alternative you may want to consider is to piggybak ontop of  the generic viewhave a look at http://svn.zyons.python-hosting.com/trunk/zilbo/common/utils/views/create_update.py for a examplewhich adds a 'change_user' and 'last_change' fieldseg.    if request.POST:        new_data =

Re: Using custom forms with generic views

2006-08-08 Thread Gábor Farkas
jeffmikels wrote: > Thanks for your help. I ended up creating a view to do the work. If the > data is simple enough and just plain text, is there a compelling reason > to use AddManipulator or other manipulators instead of just > object.save()? > > hi, for example, if you want to validate

Re: Using custom forms with generic views

2006-08-07 Thread jeffmikels
Thanks for your help. I ended up creating a view to do the work. If the data is simple enough and just plain text, is there a compelling reason to use AddManipulator or other manipulators instead of just object.save()? --~--~-~--~~~---~--~~ You received this

Re: Using custom forms with generic views

2006-08-07 Thread Michael van der Westhuizen
On 8/7/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Sat, 2006-08-05 at 08:36 -0700, jeffmikels wrote: > > I'm trying to create a site that has entries of different types and > > tags that can link to any type of entry. > > > > In my models, I have a > > > > tags =

Re: Using custom forms with generic views

2006-08-06 Thread Malcolm Tredinnick
On Sat, 2006-08-05 at 08:36 -0700, jeffmikels wrote: > I'm trying to create a site that has entries of different types and > tags that can link to any type of entry. > > In my models, I have a > > tags = models.ManyToManyField(Tag, blank=True, > filter_interface=models.HORIZONTAL,

Using custom forms with generic views

2006-08-05 Thread jeffmikels
I'm trying to create a site that has entries of different types and tags that can link to any type of entry. In my models, I have a tags = models.ManyToManyField(Tag, blank=True, filter_interface=models.HORIZONTAL, related_name="tags") when using generic views and form.tags, I get a select