1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Silenced some GIS deprecation warnings; refs #22384.

This commit is contained in:
Tim Graham
2014-06-07 19:35:57 -04:00
parent 1a01e24331
commit 250e2b422b
3 changed files with 21 additions and 3 deletions

View File

@@ -383,4 +383,7 @@ the ``url`` that references :func:`django.contrib.sitemaps.views.sitemap`::
to ensure compatibility when reversing by Python path is removed in Django 2.0.
Similarly for GIS sitemaps, add ``name='django.contrib.gis.sitemaps.views.kml'``
or ``name='django.contrib.gis.sitemaps.views.kmz'``.
.. _security issue: https://www.djangoproject.com/weblog/2014/apr/21/security/#s-issue-unexpected-code-execution-using-reverse