ó
}×Wc           @   s¤   d  d l  m Z d  d l m Z m Z d  d l m Z d  d l Z d e f d „  ƒ  YZ d e j	 f d „  ƒ  YZ
 d	 e f d
 „  ƒ  YZ d e j	 f d „  ƒ  YZ d S(   iÿÿÿÿ(   t	   ModelForm(   t   Epavet	   Newsforum(   t   formsNt	   EpaveFormc           B   s-   e  Z e j d  d ƒ Z d d d „  ƒ  YZ RS(   t   labels   Profondeur en mÃ¨tres (0 Ã  XX)t   Metac        	   B   s   e  Z e Z d	 Z RS(
   t   idepavet   payst   validt
   dateupdatet   erreursignaleet   nbvotet   photot   oceant   refuser(	   s   idepaves   payss   valids
   dateupdates   erreursignalees   nbvotes   photos   oceans   refuser(   t   __name__t
   __module__R   t   modelt   exclude(    (    (    s'   /var/python/divingspotadmin/bo/forms.pyR   	   s   (    (   R   R   R   t	   CharFieldt
   profondeurR   (    (    (    s'   /var/python/divingspotadmin/bo/forms.pyR      s   t
   SearchFormc           B   sb   e  Z e j d  d ƒ Z e j d e d e j d e j	 ƒ Z
 e j d e d e j d e j ƒ Z RS(   R   s   Distance (0 = infini)t   requiredt   widgett   choices(   R   R   R   t   IntegerFieldt   distancet   ChoiceFieldt   Falset   Selectt	   constantst   TYPE_CHOICES_RECHERCHEt   typet   FISH_CHOICESt   poisson(    (    (    s'   /var/python/divingspotadmin/bo/forms.pyR      s   $t   NewsforumFormc           B   s   e  Z d  d d „  ƒ  YZ RS(   R   c           B   s   e  Z e Z d Z RS(   t   idt   idusert   pseudot   latitudet	   longitudet
   codepostalt   villet   arrondissementt   idparentt   datecreationR
   t	   blacklist(   s   ids   idusers   pseudos   latitudes	   longitudes
   codepostals   villes   arrondissements   idparents   datecreations
   dateupdates	   blacklist(   R   R   R   R   R   (    (    (    s'   /var/python/divingspotadmin/bo/forms.pyR      s   (    (   R   R   R   (    (    (    s'   /var/python/divingspotadmin/bo/forms.pyR$      s   t   ConnectFormc           B   s>   e  Z e j d  d d e j ƒ Z e j d  d d e j ƒ Z RS(   R   t   EmailR   t   Password(   R   R   R   R   t
   EmailInputt   emailt   PasswordInputt   password(    (    (    s'   /var/python/divingspotadmin/bo/forms.pyR0      s   (   t   django.formsR    t   modelsR   R   t   djangoR   R   R   t   FormR   R$   R0   (    (    (    s'   /var/python/divingspotadmin/bo/forms.pyt   <module>   s   