dzxs / django-photologue

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

Wjy unique constraint on photo titles? #160

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using version 2.3 and I don't see the need for a uniqueness constraint on 
the photo title field. Is it possible to remove this, or explain why it's 
required? Thanks :-)

Original issue reported on code.google.com by andrewjg...@gmail.com on 3 Feb 2011 at 8:13

GoogleCodeExporter commented 9 years ago
I also think this is really silly.

I understand that for get_absolute_url() it seems to make sense that you need 
something unique, but I would suggest use urls like the onion and other sites 
do: http://mysite.com/photos/1,the-slug-here/ where you have PK and slug in the 
URL.

Then you can un-uniquify the title and slug so people don't have to generate 
those titles anymore. Not every use of Photologue is for actual photos... in 
fact the majority of my uses for it are NOT photos taken by a person with a 
camera for display in a gallery.

Original comment by dan.ostr...@gmail.com on 22 Apr 2011 at 11:49