3
š(ƒh»  ã               @   s&   d Z ddlmZ G d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‡ fdd„Z‡  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 t| ƒj||Ž d S )NZ_orderÚnameFÚeditable)Úsuperr   Ú__init__)ÚselfÚargsÚkwargs)Ú	__class__© úA/tmp/pip-install-q3hcpn_q/Django/django/db/models/fields/proxy.pyr      s    zOrderWrt.__init__c                s(   t t| ƒjƒ \}}}}|d= ||||fS )Nr   )r   r   Údeconstruct)r   r   Úpathr	   r
   )r   r   r   r      s    zOrderWrt.deconstruct)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Ú__classcell__r   r   )r   r   r   	   s   r   N)r   Zdjango.db.modelsr   ZIntegerFieldr   r   r   r   r   Ú<module>   s   