justinmayer / django-autoslug

AutoSlugField for Django. Supports (but not does not require) unidecode/pytils for transliteration. Old issue tracker is at Bitbucket: https://bitbucket.org/neithere/django-autoslug/issues

Home Page:https://readthedocs.org/projects/django-autoslug/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

u"Key 'slug' not found in 'CategoryForm'"

johnsmeeth opened this issue · comments

Dear sir. I just install django-autoslug but when i start add new item on admin panel an error occurred with info:

KeyError at /admin/blog/category/add/

u"Key 'slug' not found in 'CategoryForm'"

Request Method: GET
Request URL: http://localhost:8000/admin/blog/category/add/
Django Version: 1.8.6
Exception Type: KeyError
Exception Value:

u"Key 'slug' not found in 'CategoryForm'"

Please help me.
Many thanks

commented

Remove prepopulated_fields from CategoryAdmin

@iaa thanks

Considering this issue resolved. If that is not the case, please comment here and I will re-open.