Revision: 614 Author: chris.vigelius Date: Wed Jul 22 12:37:02 2009 Log: limit size for alias to 255 characters (fix for issue #131)
http://code.google.com/p/django-page-cms/source/detail?r=614 Modified: /trunk/pages/models.py ======================================= --- /trunk/pages/models.py Wed Jul 22 01:58:14 2009 +++ /trunk/pages/models.py Wed Jul 22 12:37:02 2009 @@ -333,7 +333,7 @@ class PageAlias(models.Model): """URL alias for a page""" page = models.ForeignKey(Page, null=True, blank=True, verbose_name=_('page')) - url = models.CharField(max_length=1024, unique=True) + url = models.CharField(max_length=255, unique=True) is_canonical = models.NullBooleanField(null=True, blank=True) objects = PageAliasManager() class Meta: --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pinax-updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pinax-updates?hl=en -~----------~----~----~----~------~----~------~--~---
