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:
Adrian Holovaty 2009-04-10 16:58:47 +00:00
parent 800b6cfbbe
commit bb75efc050
1 changed files with 1 additions and 1 deletions

View File

@ -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):