
vÅÏ^  ã               @   s3   d  Z  d d l m Z Gd d „  d e j ƒ Z d S)zž
Field-like classes that aren't really fields. It's easier to use objects that
have the same attributes as fields sometimes (avoids a lot of special casing).
é    )Úfieldsc                   s(   e  Z d  Z d Z ‡  f d d †  Z ‡  S)ÚOrderWrtzn
    A proxy for the _order database field that is used when
    Meta.order_with_respect_to is specified.
    c                s+   d | d <d | d <t  ƒ  j | | Ž  d  S)NZ_orderÚnameFÚeditable)ÚsuperÚ__init__)ÚselfÚargsÚkwargs)Ú	__class__© ú?/tmp/pip-build-8lau8j11/django/django/db/models/fields/proxy.pyr      s    

zOrderWrt.__init__)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   )r   r   r   	   s   r   N)r   Zdjango.db.modelsr   ZIntegerFieldr   r   r   r   r   Ú<module>   s   