On Apr 2, 10:02 am, Atilla <[EMAIL PROTECTED]> wrote: > On 01/04/07, TaMeR <[EMAIL PROTECTED]> wrote: > > > > > The standard URLField is to short for the google maps. > > I have a basic route that is almost 300 char long and they will get > > longer. > > I am developing on sqlite3 but I think it has something to do with > > Django. > > Does anybody know how I can fix that? > > The newforms URLField has no hardcoded limits. Are you sure your field > in the database is long enough to store the field? Try just returning > a page with the submitted URL, so you can see if it breaks somewhere > in your code, or it's truncated in the database. > > Also - when storing URLs - remember that they can grow quite large and > there is no upper limit defined by the specifications. It all depends > on how much data will the browsers and backends accpet. Make sure you > use an appropriate field, that can store quite long URLs, if you want > to be sure it'll work for anything. I am using this and it is truncating the url url_map = models.URLField(verbose_name=_('Map Link'), help_text="Google map") --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---