rogeriofalcone / sappira

Automatically exported from code.google.com/p/sappira
0 stars 0 forks source link

Slug fields for high-level models #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Also there needs to be a slug field added to the high-level models like 
Patient, Doctor, etc. to aid in providing clean urls. That will be updated at 
the models save method. Instead of using the ID for the records in the url.

Original issue reported on code.google.com by inshany@gmail.com on 3 Nov 2009 at 3:21

GoogleCodeExporter commented 9 years ago
I sometimes use the UUID field as a instead of an id in the URL.

See django_extensions - UUID.

Original comment by sidmitra.del on 3 Nov 2009 at 8:08

GoogleCodeExporter commented 9 years ago
Not the same thing. UUID fields are ugly when used for URL. The slug fields 
(The 
changes I will commit tonight will have these.

Original comment by inshany@gmail.com on 3 Nov 2009 at 8:31

GoogleCodeExporter commented 9 years ago

Original comment by inshany@gmail.com on 4 Nov 2009 at 3:43