[patch] Allow SlugFields longer than 50
|Reported by:||anonymous||Owned by:||Adrian Holovaty|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I ran in to the hard 50 character
SlugField limit while importing my wordpress blog entries to Django. While slugs longer than 50 are probably not desirable, there may be some cases (such as this) where they are required. I've patched trunk as of  to default to a
maxlength of 50 but allow that value to be overridden.
It works perfectly for me on Postgres, but it should behave just fine on the other backends too.
I haven't checked out
magic-removal yet but can apply these changes there too if that will help.
Change History (5)
comment:3 Changed 11 years ago by
|Status:||closed → reopened|
|Version:||SVN → magic-removal|