You might look in to the Autoslug field in django command extensions
http://code.google.com/p/django-command-extensions/

the autoslug field is never displayed on a form, but you specify which
fields from which to create the slug from. so you can do it how ever
you want. I've found it very helpful.

On Aug 27, 8:55 am, RubenK <c.min...@gmail.com> wrote:
> I've setup my 'prepopulate_fields' so that it should automatically
> enter a slug in the admin site, however when I click the 'add' link
> it gives me the following error:
>
> "Key 'slug' not found in Form"
>
> I've triple checked all my models and database tables and everything
> seems to be in order so I'm sort of stuck now!
> These are my files:
>
> http://dpaste.com/hold/86096/- models.pyhttp://dpaste.com/hold/86098/- 
> admin.py
>
> Could anyone please assist me?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to