Hi folks - I'll preface this by saying that I'm a complete newbie, writing my first Django app.
Partially for the experience, and partially driven by small need, I'm implementing an inhouse version of tinyurl (http://www.tinyurl.com/). The model is pretty simple - it looks like: # Create your models here. class ShortURL(models.Model): tag = models.CharField( maxlength = 10, unique = True, editable = False, blank = False ) url = models.URLField( unique = True ) created = models.DateTimeField( auto_now_add = True, editable = False ) ip_addy = models.IPAddressField( editable = False, blank = False ) I'm running into a couple problems. 1) The URLField type is being restricted to 200 characters. Is there a reason for this? Can it be overridden? 2) The validator is enforcing that the URL must currently be active. I want to use the check to make sure that the url is properly formatted, but I don't want to enforce that the url must respond. Is there a way to get around this with the default validation? Or will I need to write my own validator that will check the syntax of the url? Thanks in advance, and to the authors of and contributors to Django - keep up the great work. It's much appreciated. -- Cole Tuininga http://www.tuininga.org/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---