[GeoNode-devel] slug field

Paolo Corti pcorti at gmail.com
Tue May 26 07:56:59 PDT 2015


Dear devs

While this could be late, as it would require a schema change, in my
opinion we should add a slug field in ResourceBase and use this field
in the url dispatcher in place of ids.

This will also let migrations to maintain old url (by assigning the
old database id to the slug field in the migration script).
For freshly created resources the slug could be set to the title slugified.

Hope it is clear
have a nice day
p

-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the geonode-devel mailing list