<div dir="ltr"><div><div>I am +1 on this change too.<br><br></div>And +0 on doing it before the final.<br><br></div>-a<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 26, 2015 at 10:09 AM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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.</div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">2015-05-26 16:56 GMT+02:00 Paolo Corti <span dir="ltr"><<a href="mailto:pcorti@gmail.com" target="_blank">pcorti@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear devs<br>
<br>
While this could be late, as it would require a schema change, in my<br>
opinion we should add a slug field in ResourceBase and use this field<br>
in the url dispatcher in place of ids.<br>
<br>
This will also let migrations to maintain old url (by assigning the<br>
old database id to the slug field in the migration script).<br>
For freshly created resources the slug could be set to the title slugified.<br>
<br>
Hope it is clear<br>
have a nice day<br>
<span><font color="#888888">p<br>
<br>
--<br>
Paolo Corti<br>
Geospatial software developer<br>
web: <a href="http://www.paolocorti.net" target="_blank">http://www.paolocorti.net</a><br>
twitter: @capooti<br>
skype: capooti<br>
_______________________________________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org" target="_blank">geonode-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>SimoneĀ </div>
</font></span></div>
<br>_______________________________________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel" target="_blank">http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel</a><br>
<br></blockquote></div><br></div>