diff options
| author | Justin Bronn <jbronn@gmail.com> | 2010-09-27 00:20:42 +0000 |
|---|---|---|
| committer | Justin Bronn <jbronn@gmail.com> | 2010-09-27 00:20:42 +0000 |
| commit | ea07fe7a3ff964bc2899a9b6e85bc86a0a4ac35b (patch) | |
| tree | 9d9386660d0535cd2ca2b6a04ced95559763d63a | |
| parent | efac677add479a61778c2ac336dea98fa1d5440b (diff) | |
Fixed a geographic sitemaps regression introduced in r13876.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/contrib/gis/sitemaps/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/sitemaps/views.py b/django/contrib/gis/sitemaps/views.py index 152edc94ae..e07540dbd9 100644 --- a/django/contrib/gis/sitemaps/views.py +++ b/django/contrib/gis/sitemaps/views.py @@ -93,7 +93,7 @@ def kml(request, label, model, field_name=None, compress=False, using=DEFAULT_DB else: qs = klass._default_manager.using(using).all() for mod in qs: - mod.kml = getattr(mod, field_name).kml) + mod.kml = getattr(mod, field_name).kml placemarks.append(mod) # Getting the render function and rendering to the correct. |
