[GeoNode-users] Customizing form

Simone Dalmasso simone.dalmasso at gmail.com
Thu Feb 4 04:56:26 PST 2016


Hi,
what you are trying to do works for the templates but not for python. Base
is an installed app in geonode and lives in the geonode folder. The
suggestion is to write your own app with your forms, urls and a views that
use them, add it in the installed apps. This way you will have your own app
that will use the geonode logic where needed but with custom forms and
views.

2016-02-04 12:55 GMT+01:00 Miguel Torres <migtorres at gmail.com>:

> Hi all,
>
> I need to add a label to keywords on geonode/base/forms.py
>
> To do that I added base/forms.py to my geonode project but I cannot see
> the changes on the page.
>
> Do I need to reference python files elsewhere as we do with templates to
> override them on geonode?
>
> Github repo:
> https://github.com/unepwcmc/wcmc_geonode/blob/help/wcmc_geonode/wcmc_geonode/base/forms.py
>
> Thanks,
>
> Miguel
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160204/9f429b31/attachment.html>


More information about the geonode-users mailing list