Skip to content
Browse files

heatmap edits

  • Loading branch information...
1 parent 88d6227 commit 60b1b5a0b6f265ecf0802c682cd2d6f09cde45c5 @symroe symroe committed Dec 3, 2010
Showing with 2 additions and 2 deletions.
  1. +0 −1 web/data/models.py
  2. +1 −1 web/data/templates/heatmap.html
  3. +1 −0 web/global_settings.py
View
1 web/data/models.py
@@ -109,7 +109,6 @@ def get_absolute_url(self):
class GeoRecipient(geo_models.Model):
recipient = models.ForeignKey(Recipient, primary_key=True)
location = geo_models.PointField()
-
objects = geo_models.GeoManager()
def __unicode__(self):
View
2 web/data/templates/heatmap.html
@@ -21,7 +21,7 @@
heatmap = new GTileLayer(copyrights, 10, 0);
heatmap.getTileUrl = function (tile, zoom) {
base = 'http://127.0.0.1:8000/gheat/';
- color_scheme = 'fire';
+ color_scheme = 'firetras';
url = base + color_scheme +'/'+ zoom +'/'
url += tile.x +','+ tile.y +'.png';
return url;
View
1 web/global_settings.py
@@ -98,6 +98,7 @@
'paging',
'sentry',
'sentry.client',
+ 'gheat',
]
TEMPLATE_CONTEXT_PROCESSORS = (

0 comments on commit 60b1b5a

Please sign in to comment.
Something went wrong with that request. Please try again.