3

\,                 @   s:   d dl mZ d dlmZmZ d dlZG dd dejZdS )    )unicode_literals)models
migrationsNc               @   s  e Zd ZddgZejddejddddd	fd
ejdddfdej	dddfde
jjjdddfdejddddfdejddfdejddddgdfd ejd!d"d#fgd$d%d&ejfd'ejd(dejddddd	fd
ejdddfdej	dddfde
jjjdddfdejddddfdejddfgd)d*d&ejfd'ejd+dejddddd	fd
ejdd,dfde
jjjdd-dd.fd/ejd0dd+d1fdejddfgd+d+d&ejfd'ejd2dejddddd	fd3ej fd4ejd5d6d7d8fd9ejd:d;d#fd<ejd:d=d#fdejdd>d?fd@ejdAdBdfdCejdAdDddfdEejdFejdGfg	dHgdIdJddKejfd'ejdLdejddddd	fd
ejdd,dfdejddfdMejddNdOddPfgdQdRd&ejfd'ejdSdejddddd	fd9ejd:d;d#fgddTdTdUejfd'ejdVdWejdddddXejdYfd9ejd:d;d#fgddZd[dUdd'ejd]dejddddd	fd3ej fd4ejd5d6d7d8fd9ejd:d;d#fd<ejd:d=d#fdejdd>d?fd^e
jjjddd_d`fdEejdFejdGfgdHgdadbddKejfd'ejdcdejddddd	fd
ejdd,dfddejdeddfddgfdhej	didjfdejddfgdkdkd&ejfd'ejdldejddddd	fd
ejdd,dfdej	dddfdejddfdmejdnejdGfgdodod&ejfd'ejdpdejddddd	fd
ejdddfdejdd>d?fgdqdrd&ejfd'ejdsdtejdrdudvejdwddxejdydzejd{dXejd|ddxejdydmejd}dnejd|ddxejdyedgd~ejddejddddnddddxgZdS )	Migration	catalogue0001_initialcontenttypesAutomaticProductListidTFID)auto_createdprimary_key	serializeverbose_namename   Title)
max_lengthr   descriptionDescription)r   blanklink_urlzLink URL	link_textz	Link text)r   r   r   date_created)auto_now_addmethod   MethodBestsellingBestselling productsRecentlyAddedRecently added products)r   r   choicesnum_products   zNumber of Products)defaultr   zAutomatic product listszAutomatic product list)verbose_name_pluralr   )r   fieldsoptionsbasesHandPickedProductListzHand Picked Product ListszHand Picked Product ListImageNamez%This is where this promotion links to)r   	help_textr   imagezimages/promotions/)	upload_tor   r   KeywordPromotion	object_idpositionPositiond   zPosition on page)r   r   r-   display_orderr   zDisplay OrderclicksClickszDate Created)r   r   keyword   KeywordfilterFiltercontent_typezcontenttypes.ContentType)to	on_deletez-clickszKeyword PromotionszKeyword Promotion)orderingr&   r   abstract
MultiImageimagesz^Choose the Image content blocks that this block will use. (You may need to create some first).zpromotions.Image)r   r-   r>   nullzMulti ImageszMulti ImageOrderedProductzOrdered product)r@   r&   r   OrderedProductListhandpickedproductlist_ptrz promotions.HandPickedProductList)parent_linkr   r   r   r>   r?   zOrdered Product ListszOrdered Product List promotions.handpickedproductlistPagePromotionpage_urlzPage URL)r   db_indexr   zPage PromotionszPage PromotionRawHTMLdisplay_typezDisplay typezMThis can be used to have different types of HTML blocks (eg different widths))r   r   r-   r   bodyHTML)r   zRaw HTMLSingleProductproductzcatalogue.ProductzSingle productTabbedBlockzTabbed BlockszTabbed Blockorderedproductlisttabbed_blocktabszpromotions.TabbedBlock)r   related_namer>   r?   )
model_namer   fieldpreserve_defaultZorderedproductlistList)r   r>   r?   Product)r   unique_togetherhandpickedproductlistproductszpromotions.OrderedProductProducts)throughr   r   r>   rD   N)r   r   )r   r   )r   r   )r    r!   )r5   )r5   )rI   )r[   rR   )__name__
__module____qualname__dependenciesr   CreateModelr   	AutoField	CharField	TextFieldoscarr'   ExtendedURLFieldDateTimeFieldPositiveSmallIntegerFieldModel
ImageFieldPositiveIntegerField
ForeignKeyCASCADEManyToManyFieldOneToOneFieldAddFieldAlterUniqueTogetherset
operations rz   rz   B/var/www/html/oscar2019/apps/promotions/migrations/0001_initial.pyr      s(  












r   )
__future__r   	django.dbr   r   oscar.models.fieldsrk   r   rz   rz   rz   r{   <module>   s   