Re: Generating slugs

2009-08-28 Thread esatterwh...@wi.rr.com
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

Re: Generating slugs

2009-08-28 Thread Ruben Knol
That is excellent! thanks for pointing this out!! On Fri, Aug 28, 2009 at 11:04 AM, esatterwh...@wi.rr.com < esatterwh...@wi.rr.com> wrote: > > You might look in to the Autoslug field in django command extensions > http://code.google.com/p/django-command-extensions/ > > the autoslug field is neve

Re: Generating slugs

2009-08-27 Thread Michael
On Thu, Aug 27, 2009 at 11:02 AM, RubenK wrote: > > Thanks for the help! It worked! How would I go about hiding the field? > I think you would have to go all the way and put the form on the model admin, which really isn't difficult. Follow this: http://docs.djangoproject.com/en/dev/ref/contrib/a

Re: Generating slugs

2009-08-27 Thread RubenK
Thanks for the help! It worked! How would I go about hiding the field? On Aug 27, 4:28 pm, Michael wrote: > On Thu, Aug 27, 2009 at 9:55 AM, RubenK 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'

Re: Generating slugs

2009-08-27 Thread Daniel Roseman
On Aug 27, 2:55 pm, RubenK 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 tab

Re: Generating slugs

2009-08-27 Thread Michael
On Thu, Aug 27, 2009 at 9:55 AM, RubenK 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 a

Generating slugs

2009-08-27 Thread RubenK
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