[patch] Allow SlugFields longer than 50
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 [2185] 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)
Resolution: |
→ fixed
|
Status: |
new → closed
|
Resolution: |
fixed
|
Status: |
closed → reopened
|
Version: |
SVN → magic-removal
|
Resolution: |
→ fixed
|
Status: |
reopened → closed
|
Patch to allow SlugFields with maxlength greater than 50