On Fri, 2007-11-23 at 14:30 +0100, Wolfram Kriesing wrote:
> :-) yep we also discussed that here
> still it seems "wrong" that it needs to be done with such a hacky way around
> 

I don't think that's hacky at all, really. If you want an URLField, you
get a field that guarantees that it really contains an URL. Otherwise it
should get called fields.MaybeURLField, and what would be the difference
between that and a plain CharField?

You can even validate the URL in clean_url()

But take whatever works for you...


-- 
http://spinlock.ch/blog/


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to