On Sat, Aug 30, 2008 at 12:56 AM, M N Islam Shihan <[EMAIL PROTECTED]>wrote:
> Yes, it has been made optional with this syntax class CharField(* > max_length=None*[, ***options*]) > This is true for all other model fields as well that were expecting > max_length parameter. > I don't believe this is correct. A CharField needs a max_length parameter to pass validation. You may not need it for issuing test queries, etc. in a manage.py shell, but it is still needed in general, as documented: http://docs.djangoproject.com/en/dev/topics/db/models/#field-options Karen p.s. This conversation really belongs on django-users, please follow up there. On Sat, Aug 30, 2008 at 10:49 AM, guoqiang qian <[EMAIL PROTECTED]> wrote: > hi,all > > I use django beta2 and find that model's charfield doesn't require > max_length parameter anymore. Is there any thing wrong? > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" 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/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
