<s> from __future__ import unicode_literals <EOL> from django . db import models , migrations <EOL> import filer . fields . multistorage_file <EOL> import filer . models . mixins <EOL> from filer . settings import FILER_IMAGE_MODEL <EOL> from django . conf import settings <EOL> class Migration ( migrations . Migration ) : <EOL> dependencies = [ <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> migrations . swappable_dependency ( settings . AUTH_USER_MODEL ) , <EOL> ( '<STR_LIT>' , '<STR_LIT>' ) , <EOL> ] <EOL> operations = [ <EOL> migrations . CreateModel ( <EOL> name = '<STR_LIT>' , <EOL> fields = [ <EOL> ( '<STR_LIT:id>' , models . AutoField ( verbose_name = '<STR_LIT>' , serialize = False , auto_created = True , primary_key = True ) ) , <EOL> ] , <EOL> options = { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } , <EOL> bases = ( models . Model , ) , <EOL> ) , <EOL> migrations . CreateModel ( <EOL> name = '<STR_LIT>' , <EOL> fields = [ <EOL> ( '<STR_LIT:id>' , models . AutoField ( verbose_name = '<STR_LIT>' , serialize = False , auto_created = True , primary_key = True ) ) , <EOL> ( '<STR_LIT>' , models . ForeignKey ( verbose_name = '<STR_LIT>' , to = '<STR_LIT>' ) ) , <EOL> ] , <EOL> options = { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } , <EOL> bases = ( models . Model , ) , <EOL> ) , <EOL> migrations . CreateModel ( <EOL> name = '<STR_LIT>' , <EOL> fields = [ <EOL> ( '<STR_LIT:id>' , models . AutoField ( verbose_name = '<STR_LIT>' , serialize = False , auto_created = True , primary_key = True ) ) , <EOL> ( '<STR_LIT:file>' , filer . fields . multistorage_file . MultiStorageFileField ( max_length = <NUM_LIT:255> , upload_to = filer . fields . multistorage_file . generate_filename_multistorage , null = True , verbose_name = '<STR_LIT:file>' , blank = True ) ) , <EOL> ( '<STR_LIT>' , models . IntegerField ( null = True , verbose_name = '<STR_LIT>' , blank = True ) ) , <EOL> ( '<STR_LIT>' , models . CharField ( default = '<STR_LIT>' , max_length = <NUM_LIT> , verbose_name = '<STR_LIT>' , blank = True ) ) , <EOL> ( '<STR_LIT>' , models . BooleanField ( default = False , verbose_name = '<STR_LIT>' , editable = False ) ) , <EOL> ( '<STR_LIT>' , models . CharField ( max_length = <NUM_LIT:255> , null = True , verbose_name = '<STR_LIT>' , blank = True ) ) , <EOL> ( '<STR_LIT:name>' , models . CharField ( default = '<STR_LIT>' , max_length = <NUM_LIT:255> , verbose_name = '<STR_LIT:name>' , blank = True ) ) , <EOL> ( '<STR_LIT:description>' , models . TextField ( null = True , verbose_name = '<STR_LIT:description>' , blank = True ) ) , <EOL> ( '<STR_LIT>' , models . DateTimeField ( auto_now_add = True , verbose_name = '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , models . DateTimeField ( auto_now = True , verbose_name = '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , models . BooleanField ( default = True , help_text = '<STR_LIT>' , verbose_name = '<STR_LIT>' ) ) , <EOL> ] , <EOL> options = { <EOL> '<STR_LIT>' : '<STR_LIT:file>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } , <EOL> bases = ( models . Model , filer . models . mixins . IconsMixin ) , <EOL> ) , <EOL> migrations . CreateModel ( <EOL> name = '<STR_LIT>' , <EOL> fields = [ <EOL> ( '<STR_LIT:id>' , models . AutoField ( verbose_name = '<STR_LIT>' , serialize = False , auto_created = True , primary_key = True ) ) , <EOL> ( '<STR_LIT:name>' , models . CharField ( max_length = <NUM_LIT:255> , verbose_name = '<STR_LIT:name>' ) ) , <EOL> ( '<STR_LIT>' , models . DateTimeField ( auto_now_add = True , verbose_name = '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , models . DateTimeField ( auto_now_add = True , verbose_name = '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , models . DateTimeField ( auto_now = True , verbose_name = '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , models . PositiveIntegerField ( editable = False , db_index = True ) ) , <EOL> ( '<STR_LIT>' , models . PositiveIntegerField ( editable = False , db_index = True ) ) , <EOL> ( '<STR_LIT>' , models . PositiveIntegerField ( editable = False , db_index = True ) ) , <EOL> ( '<STR_LIT>' , models . PositiveIntegerField ( editable = False , db_index = True ) ) , <EOL> ( '<STR_LIT>' , models . ForeignKey ( related_name = '<STR_LIT>' , verbose_name = '<STR_LIT>' , blank = True , to = settings . AUTH_USER_MODEL , null = True ) ) , <EOL> ( '<STR_LIT>' , models . ForeignKey ( related_name = '<STR_LIT>' , verbose_name = '<STR_LIT>' , blank = True , to = '<STR_LIT>' , null = True ) ) , <EOL> ] , <EOL> options = { <EOL> '<STR_LIT>' : ( '<STR_LIT:name>' , ) , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : ( ( '<STR_LIT>' , '<STR_LIT>' ) , ) , <EOL> } , <EOL> bases = ( models . Model , filer . models . mixins . IconsMixin ) , <EOL> ) , <EOL> migrations . CreateModel ( <EOL> name = '<STR_LIT>' , <EOL> fields = [ <EOL> ( '<STR_LIT:id>' , models . AutoField ( verbose_name = '<STR_LIT>' , serialize = False , auto_created = True , primary_key = True ) ) , <EOL> ( '<STR_LIT:type>' , models . SmallIntegerField ( default = <NUM_LIT:0> , verbose_name = '<STR_LIT:type>' , choices = [ ( <NUM_LIT:0> , '<STR_LIT>' ) , ( <NUM_LIT:1> , '<STR_LIT>' ) , ( <NUM_LIT:2> , '<STR_LIT>' ) ] ) ) , <EOL> ( '<STR_LIT>' , models . BooleanField ( default = False , verbose_name = '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , models . SmallIntegerField ( default = None , null = True , verbose_name = '<STR_LIT>' , blank = True , choices = [ ( <NUM_LIT:1> , '<STR_LIT>' ) , ( <NUM_LIT:0> , '<STR_LIT>' ) ] ) ) , <EOL> ( '<STR_LIT>' , models . SmallIntegerField ( default = None , null = True , verbose_name = '<STR_LIT>' , blank = True , choices = [ ( <NUM_LIT:1> , '<STR_LIT>' ) , ( <NUM_LIT:0> , '<STR_LIT>' ) ] ) ) , <EOL> ( '<STR_LIT>' , models . SmallIntegerField ( default = None , null = True , verbose_name = '<STR_LIT>' , blank = True , choices = [ ( <NUM_LIT:1> , '<STR_LIT>' ) , ( <NUM_LIT:0> , '<STR_LIT>' ) ] ) ) , <EOL> ( '<STR_LIT>' , models . ForeignKey ( verbose_name = '<STR_LIT>' , blank = True , to = '<STR_LIT>' , null = True ) ) , <EOL> ( '<STR_LIT>' , models . ForeignKey ( related_name = '<STR_LIT>' , verbose_name = '<STR_LIT>' , blank = True , to = '<STR_LIT>' , null = True ) ) , <EOL> ( '<STR_LIT:user>' , models . ForeignKey ( related_name = '<STR_LIT>' , verbose_name = '<STR_LIT:user>' , blank = True , to = settings . AUTH_USER_MODEL , null = True ) ) , <EOL> ] , <EOL> options = { <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } , <EOL> bases = ( models . Model , ) , <EOL> ) , <EOL> migrations . AlterUniqueTogether ( <EOL> name = '<STR_LIT>' , <EOL> unique_together = set ( [ ( '<STR_LIT>' , '<STR_LIT:name>' ) ] ) , <EOL> ) , <EOL> migrations . AddField ( <EOL> model_name = '<STR_LIT:file>' , <EOL> name = '<STR_LIT>' , <EOL> field = models . ForeignKey ( related_name = '<STR_LIT>' , verbose_name = '<STR_LIT>' , blank = True , to = '<STR_LIT>' , null = True ) , <EOL> preserve_default = True , <EOL> ) , <EOL> migrations . AddField ( <EOL> model_name = '<STR_LIT:file>' , <EOL> name = '<STR_LIT>' , <EOL> field = models . ForeignKey ( related_name = '<STR_LIT>' , verbose_name = '<STR_LIT>' , blank = True , to = settings . AUTH_USER_MODEL , null = True ) , <EOL> preserve_default = True , <EOL> ) , <EOL> migrations . AddField ( <EOL> model_name = '<STR_LIT:file>' , <EOL> name = '<STR_LIT>' , <EOL> field = models . ForeignKey ( related_name = '<STR_LIT>' , editable = False , to = '<STR_LIT>' , null = True ) , <EOL> preserve_default = True , <EOL> ) , <EOL> migrations . AddField ( <EOL> model_name = '<STR_LIT>' , <EOL> name = '<STR_LIT:file>' , <EOL> field = models . ForeignKey ( verbose_name = '<STR_LIT:file>' , to = '<STR_LIT>' ) , <EOL> preserve_default = True , <EOL> ) , <EOL> migrations . AddField ( <EOL> model_name = '<STR_LIT>' , <EOL> name = '<STR_LIT>' , <EOL> field = models . ManyToManyField ( related_name = '<STR_LIT>' , verbose_name = '<STR_LIT>' , through = '<STR_LIT>' , to = '<STR_LIT>' ) , <EOL> preserve_default = True , <EOL> ) , <EOL> migrations . AddField ( <EOL> model_name = '<STR_LIT>' , <EOL> name = '<STR_LIT:user>' , <EOL> field = models . ForeignKey ( related_name = '<STR_LIT>' , verbose_name = '<STR_LIT:user>' , to = settings . AUTH_USER_MODEL ) , <EOL> preserve_default = True , <EOL> ) , <EOL> ] <EOL> if not FILER_IMAGE_MODEL : <EOL> operations . append ( <EOL> migrations . CreateModel ( <EOL> name = '<STR_LIT>' , <EOL> fields = [ <EOL> ( '<STR_LIT>' , models . OneToOneField ( serialize = False , auto_created = True , to = '<STR_LIT>' , primary_key = True , parent_link = True ) ) , <EOL> ( '<STR_LIT>' , models . IntegerField ( null = True , blank = True ) ) , <EOL> ( '<STR_LIT>' , models . IntegerField ( null = True , blank = True ) ) , <EOL> ( '<STR_LIT>' , models . DateTimeField ( verbose_name = '<STR_LIT>' , null = True , editable = False , blank = True ) ) , <EOL> ( '<STR_LIT>' , models . CharField ( max_length = <NUM_LIT:255> , null = True , verbose_name = '<STR_LIT>' , blank = True ) ) , <EOL> ( '<STR_LIT>' , models . CharField ( max_length = <NUM_LIT:255> , null = True , verbose_name = '<STR_LIT>' , blank = True ) ) , <EOL> ( '<STR_LIT>' , models . CharField ( max_length = <NUM_LIT:255> , null = True , verbose_name = '<STR_LIT>' , blank = True ) ) , <EOL> ( '<STR_LIT>' , models . BooleanField ( default = False , verbose_name = '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , models . BooleanField ( default = False , verbose_name = '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , models . CharField ( default = None , max_length = <NUM_LIT:64> , null = True , verbose_name = '<STR_LIT>' , blank = True ) ) , <EOL> ] , <EOL> options = { <EOL> '<STR_LIT>' : '<STR_LIT:image>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } , <EOL> bases = ( '<STR_LIT>' , ) , <EOL> ) <EOL> ) </s>
