biodiv / anycluster

Server-side clustering of map markers for (Geo)Django
MIT License
106 stars 21 forks source link

clusterPopup.html override #14

Closed lmorroni closed 10 years ago

lmorroni commented 10 years ago

Hi, Is there an easy way to override this file? I really would prefer to not modify files inside anycluster. If I could specify my own template, that would be nice. Larry

biodiv commented 10 years ago

Actually, this file is meant to be overridden. You should be able doing so by adding a template into your app directory:

/pathto/YOURAPP/templates/anycluster/clusterPopup.html

Django should now prefer this template over the one shipped with anycluster.

lmorroni commented 10 years ago

That worked, thanks!