mirror of https://github.com/django/django.git
Fixed typo in GeoDjango deprecation error message
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10487 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
800b6cfbbe
commit
bb75efc050
|
@ -10,7 +10,7 @@ from django.contrib.gis.models import get_srid_info
|
||||||
|
|
||||||
def deprecated_property(func):
|
def deprecated_property(func):
|
||||||
from warnings import warn
|
from warnings import warn
|
||||||
warn('This attribute has been deprecated, pleas use "%s" instead.' % func.__name__[1:])
|
warn('This attribute has been deprecated, please use "%s" instead.' % func.__name__[1:])
|
||||||
return property(func)
|
return property(func)
|
||||||
|
|
||||||
class GeometryField(SpatialBackend.Field):
|
class GeometryField(SpatialBackend.Field):
|
||||||
|
|
Loading…
Reference in New Issue