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 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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



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 box; however, i
would rather have a single text box into which I can type a string of
comma separated tags, and then have them parsed behind the scenes. Can
I still use generic views, or do I have to roll my own view?


--~--~-~--~~~---~--~~
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 email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---