[GeoNode-users] add static page

Simone Dalmasso simone.dalmasso at gmail.com
Mon May 8 09:47:48 PDT 2017


Hi. This a very django related question:)

I suggest to take a look at the django docs for generic views.

Hope this helps.

Il giorno lun 8 mag 2017 alle 17:38 Fosco Ventura <foscone at gmail.com> ha
scritto:

> Hi,
> I am trying to add a static page on geonode project.
> I created project.html in <geonode>/<geonode>/templates directory with my
> custom content, then I added this line in urls.py:
>
> url(r'^project/$',
> TemplateView.as_view(template_name='project.html'),
> name='project'),
>
> After rebooting apache2 service I have http://geonodeurl/project/ visible
> with header and footer but without custom content.
> I don't understand why, can you help me please?
> Thanks.
> Fosco
>
> --
> Fosco
> http://studiotypo.it/
> http://www.studiotypo.it/fosco/
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170508/ff310890/attachment.html>


More information about the geonode-users mailing list