Slug name not being automatically created in admin in the 'Adding Dynamic Data' exercise


#1

Hi there - I was able to get most of the exercise working for the ‘Adding Dynamic Data’ exercise, except that when entering a name and description for a Thing in the Django admin, the slug name is NOT automatically created. I triple checked my code and it seems to be verbatim from the book. No trouble with the migration either. Any idea why this might be happening?

Thanks for your help


`Thing collection` not displayed in `admin`
#2

Can you stick the relevant code in pastebin.com for me to take a look at it? :)


#3

Hi there, thanks for your offer of help. I ended up figuring it out - I had a mistake in the admin.site.register line in admin.py. Works fine now.

Cheers


#4

Happy to hear that!