î
ªÍ X»  ã               @   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 ‡  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                s1   d | d <d | d <t  t |  ƒ j | | Ž  d  S)NZ_orderÚnameFÚeditable)Úsuperr   Ú__init__)ÚselfÚargsÚkwargs)Ú	__class__© úK/home/ubuntu/projects/ifolica/build/django/django/db/models/fields/proxy.pyr      s    

zOrderWrt.__init__c                s8   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   r   r   )r   r   r   	   s   r   N)r   Zdjango.db.modelsr   ZIntegerFieldr   r   r   r   r   Ú<module>   s   