google-code-export / django-photologue

Automatically exported from code.google.com/p/django-photologue
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Make slugs unique #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Change Gallery and Photo models so that the slug fields are unique.
This has benefits for when you want to refer to galleries/photos from other
applications - for example, I've got a project with a basic CMS system in
which users can pick a photo (stored in photologue) to be displayed. Using
slugs is a lot more 'user friendly' than using numerical photo ids. 

Original issue reported on code.google.com by richardb...@gmail.com on 1 Mar 2008 at 12:08

Attachments:

GoogleCodeExporter commented 9 years ago
I've made both title and slug fields unique.

- Justin

Original comment by justin.d...@gmail.com on 1 Mar 2008 at 3:38

GoogleCodeExporter commented 9 years ago

Original comment by justin.d...@gmail.com on 1 Mar 2008 at 3:39