U
    |h                     @   sF   d dl mZ d dlmZ d dlmZ d dlmZ G dd dej	Z
dS )    )forms)gettext_lazy)AdminPageChooser)Sitec                       s.   e Zd Z fddZdZG dd dZ  ZS )SiteFormc                    s0   t  j|| ttdtddd| jd _d S )NzChoose a root pagezChoose a different root pageF)Zchoose_one_textZchoose_another_textZshow_clear_link	root_page)super__init__r   _fieldsZwidget)selfargskwargs	__class__ [/var/www/dating/data/www/fatepal.com/env/lib/python3.8/site-packages/wagtail/sites/forms.pyr	   	   s    zSiteForm.__init__requiredc                   @   s   e Zd ZeZdZdS )zSiteForm.Meta)hostnameportZ	site_namer   Zis_default_siteN)__name__
__module____qualname__r   modelr   r   r   r   r   Meta   s   r   )r   r   r   r	   Zrequired_css_classr   __classcell__r   r   r   r   r      s   r   N)djangor   Zdjango.utils.translationr   r
   Zwagtail.admin.widgetsr   Zwagtail.modelsr   Z	ModelFormr   r   r   r   r   <module>   s   