terranodo / landscapeportal

landscape portal geonode_project
0 stars 1 forks source link

Extending templates #5

Closed matthewhanson closed 9 years ago

matthewhanson commented 9 years ago

As stated in the README, a GeoSite extends the normal inheritance of template from 2 levels to 3. A GeoSite can extend a template from the MasterSite, which extends a template from GeoNode.

This is also true for STATIC_FILES, in that a static file (like a logo) of the same name in a GeoSite can replace one higher up.

Have to get some clarification from the Erick on if there should be a unique base style (such as the current landscape geoportal) that they want GeoSite to start with, or if they should start with a default GeoNode template.

matthewhanson commented 9 years ago

See settings files. GeoSite reads in a pre and post settings and properly sets TEMPLATE_DIRS and STATICFILES_DIRS