[GeoNode-users] Overwrite Core Model in geonode project

Toni Schönbuchner toni.schoenbuchner at csgis.de
Thu Feb 2 01:26:08 PST 2017


Dear List,

on Geonode 2.4 (Ubuntu 14.04) I´d like to extend the metadata details page (route /metadata).
This works perfectly by extending the base model which lives under:

/usr/local/lib/python2.7/dist-packages/geonode/base/models.py

To not hack the core we created a new project under /var/www/my_project 
and copied the base app there (/var/www/my_project/base). 

Template overrides work as expected but unfortunately it seems project models are ignored 
(and still the core model is utilized).

What is the recommended way to customize models without changing the core?

Thanks,

Toni


More information about the geonode-users mailing list