3

‘ã\^  ã               @   sT   d dl mZ d dlmZ eddƒZeddƒZG dd„ dejƒZG dd	„ d	ejƒZd
S )é    )Úforms)Ú	get_modelÚ	wishlistsÚWishListÚLinec                   s*   e Zd Z‡ fdd„ZG dd„ dƒZ‡  ZS )ÚWishListFormc                s   t ƒ j||Ž || j_d S )N)ÚsuperÚ__init__ÚinstanceÚowner)ÚselfÚuserÚargsÚkwargs)Ú	__class__© ú5/var/www/html/oscar2019/oscar/apps/wishlists/forms.pyr	      s    zWishListForm.__init__c               @   s   e Zd ZeZdZdS )zWishListForm.MetaÚnameN)r   )Ú__name__Ú
__module__Ú__qualname__r   ÚmodelÚfieldsr   r   r   r   ÚMeta   s   r   )r   r   r   r	   r   Ú__classcell__r   r   )r   r   r   
   s   r   c                   s   e Zd Z‡ fdd„Z‡  ZS )ÚWishListLineFormc                s$   t ƒ j||Ž d| jd jjd< d S )Nz
input-miniÚquantityÚclass)r   r	   r   ÚwidgetÚattrs)r   r   r   )r   r   r   r	      s    zWishListLineForm.__init__)r   r   r   r	   r   r   r   )r   r   r      s   r   N)	Údjangor   Úoscar.core.loadingr   r   r   Ú	ModelFormr   r   r   r   r   r   Ú<module>   s
   

