o
    h                     @   s2   d dl mZ dd Zdd ZG dd dejZdS )	    )
migrationsc              	   C   s  |  d}|  d}|  d}|  d}|  d}|jjddd\}}|jjd	d
|ddddd}	|jjdd|ddddd}
|jjd|
jdd |jjdd}|jjdd}|jj||	dd |jj||	dd |jj||	dd |jj||	dd |jj||	dd d S )Nzcontenttypes.ContentTypez
auth.Groupzwagtailcore.Pagezwagtailcore.Sitezwagtailcore.GroupPagePermissionpagewagtailcore)model	app_labelRootroot0001   /)titleslugcontent_typepathdepthnumchildurl_pathz!Welcome to your new Wagtail site!home00010001   r   z/home/	localhostT)hostnameroot_page_idis_default_site
Moderators)nameEditorsadd)groupr   permission_typeeditpublish)	get_modelobjectsget_or_createcreateid)appsschema_editorContentTypeGroupPageSiteGroupPagePermissionpage_content_typecreatedr   homepagemoderators_groupeditors_group r3   d/var/www/html/ndineBlogger/venv/lib/python3.10/site-packages/wagtail/migrations/0002_initial_data.pyinitial_data   sp   






r5   c                 C   s   dS )zThis function does nothing. The below code is commented out together
    with an explanation of why we don't need to bother reversing any of the
    initial dataNr3   )r'   r(   r3   r3   r4   remove_initial_dataL   s   r6   c                   @   s    e Zd ZdgZeeegZdS )	Migration)r   0001_initialN)	__name__
__module____qualname__dependenciesr   	RunPythonr5   r6   
operationsr3   r3   r3   r4   r7   e   s
    
r7   N)	django.dbr   r5   r6   r7   r3   r3   r3   r4   <module>   s    H