î
ªÍ Xì  ã               @   s_   d  d l  Z  d  d l m Z d  d l m Z d  d l m Z Gd d „  d e j e ƒ ƒ Z d S)é    N)ÚGeoQuerySet)ÚManager)ÚRemovedInDjango20Warningc                   s4   e  Z d  Z d Z d Z d Z ‡  f d d †  Z ‡  S)Ú
GeoManagerz1Overrides Manager to return Geographic QuerySets.Tc                s3   t  j d t d d ƒt t |  ƒ j | | Ž  d  S)Nz‡The GeoManager class is deprecated. Simply use a normal manager once you have replaced all calls to GeoQuerySet methods by annotations.Ú
stacklevelé   )ÚwarningsÚwarnr   Úsuperr   Ú__init__)ÚselfÚargsÚkwargs)Ú	__class__© úR/home/ubuntu/projects/ifolica/build/django/django/contrib/gis/db/models/manager.pyr      s    zGeoManager.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Zuse_for_related_fieldsZ*silence_use_for_related_fields_deprecationr   r   r   )r   r   r      s   r   )	r   Z"django.contrib.gis.db.models.queryr   Zdjango.db.models.managerr   Zdjango.utils.deprecationr   Zfrom_querysetr   r   r   r   r   Ú<module>   s   