mirror of
https://github.com/django/django.git
synced 2025-11-17 10:43:25 +00:00
Fixed a geographic sitemaps regression introduced in r13876.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13879 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
efac677add
commit
ea07fe7a3f
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ def kml(request, label, model, field_name=None, compress=False, using=DEFAULT_DB
|
||||||
else:
|
else:
|
||||||
qs = klass._default_manager.using(using).all()
|
qs = klass._default_manager.using(using).all()
|
||||||
for mod in qs:
|
for mod in qs:
|
||||||
mod.kml = getattr(mod, field_name).kml)
|
mod.kml = getattr(mod, field_name).kml
|
||||||
placemarks.append(mod)
|
placemarks.append(mod)
|
||||||
|
|
||||||
# Getting the render function and rendering to the correct.
|
# Getting the render function and rendering to the correct.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue