[GeoNode-devel] slug field

Simone Dalmasso simone.dalmasso at gmail.com
Tue May 26 08:09:00 PDT 2015


I see your point Paolo, makes a lot of sense. I'm +1 on adding this after
2.4 as a schema change now would break a lot of geonode installations.

2015-05-26 16:56 GMT+02:00 Paolo Corti <pcorti at gmail.com>:

> 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
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel
>



-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20150526/6edd381a/attachment.html>


More information about the geonode-devel mailing list