class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('core', '0002_perfil'), ] operations = [ migrations.CreateModel( name='Coment_Publi', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('coment', models.TextField(blank=True, verbose_name='comentario')), ('data', models.DateTimeField(default=django.utils.timezone.now)), ], ), migrations.CreateModel( name='Publicacao', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('titulo', models.CharField(max_length=100)), ('texto', models.TextField(blank=True, verbose_name='texto')), ('anexo', models.FileField(blank=True, upload_to=core.models.user_directory_path)), ('data', models.DateTimeField(default=django.utils.timezone.now)), ('area', models.ManyToManyField(to='core.Obt_Estudo')), ('user', models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.AddField( model_name='coment_publi', name='publi', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='core.Publicacao'), ), migrations.AddField( model_name='coment_publi', name='user', field=models.ForeignKey( default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), ), ]
class Migration(migrations.Migration): dependencies = [ ('core', '0005_user_is_buyer'), ] operations = [ migrations.CreateModel( name='Item', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=255)), ('description', models.TextField(max_length=1000)), ('category', models.CharField(max_length=255)), ('price', models.DecimalField(decimal_places=2, max_digits=10)), ('in_stock', models.BooleanField(default=True)), ('image', models.ImageField(blank=True, null=True, upload_to=core.models.item_image_file_path)), ('uploaded_date', models.DateField(auto_now_add=True)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Review', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('stars', models.IntegerField(validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(5)])), ('review', models.TextField(max_length=1000)), ('item', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Item')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('core', '0008_auto_20190201_0117'), ] operations = [ migrations.AddField( model_name='auction', name='picture', field=models.ImageField( default='auction_images/7e6b2e82512d4c28b0ab4aef7195bc06.jpg', help_text='The main image for the auction', upload_to=core.models.get_image_filename, validators=[core.models.auction_picture_validator]), preserve_default=False, ), migrations.AlterField( model_name='auction', name='description', field=models.TextField( help_text='Enter a more detailed description of the item', max_length=1000), ), migrations.AlterField( model_name='auction', name='short_description', field=models.TextField( help_text= 'Enter a brief description of the item to showin the auctions list', max_length=500), ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Location', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=300)), ('description', models.TextField(blank=True, null=True)), ('address', models.TextField(blank=True, null=True)), ('phone_number', models.CharField(max_length=15, null=True)), ('hours', models.TextField(blank=True, null=True)), ('image_file', models.ImageField(blank=True, null=True, upload_to=core.models.upload_to_location)), ('created_at', models.DateTimeField(auto_now_add=True)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Cargo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criados', models.DateField(auto_now_add=True, verbose_name='Criação')), ('modificado', models.DateField(auto_now=True, verbose_name='Atualização')), ('ativo', models.BooleanField(default=True, verbose_name='Ativo?')), ('cargo', models.CharField(max_length=100, verbose_name='Cargo')), ], options={ 'verbose_name': 'Cargo', 'verbose_name_plural': 'Cargos', }, ), migrations.CreateModel( name='Servico', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criados', models.DateField(auto_now_add=True, verbose_name='Criação')), ('modificado', models.DateField(auto_now=True, verbose_name='Atualização')), ('ativo', models.BooleanField(default=True, verbose_name='Ativo?')), ('servico', models.CharField(max_length=100, verbose_name='Serviço')), ('descricao', models.TextField(max_length=200, verbose_name='Descrição')), ('icone', models.CharField(choices=[('lni-cog', 'Engrenagem'), ('lni-stats-up', 'Gráfico'), ('lni-users', 'Usuários'), ('lni-layers', 'Design'), ('lni-mobile', 'Mobile'), ('lni-rocket', 'Foguete')], max_length=12, verbose_name='Icone')), ], options={ 'verbose_name': 'Serviço', 'verbose_name_plural': 'Serviços', }, ), migrations.CreateModel( name='Funcionario', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criados', models.DateField(auto_now_add=True, verbose_name='Criação')), ('modificado', models.DateField(auto_now=True, verbose_name='Atualização')), ('ativo', models.BooleanField(default=True, verbose_name='Ativo?')), ('nome', models.CharField(max_length=100, verbose_name='Nome')), ('bio', models.TextField(max_length=200, verbose_name='Bio')), ('imagem', stdimage.models.StdImageField(upload_to=core.models.get_file_path, verbose_name='Imagem')), ('facebook', models.CharField(default='#', max_length=100, verbose_name='Facebook')), ('twitter', models.CharField(default='#', max_length=100, verbose_name='Twitter')), ('instagram', models.CharField(default='#', max_length=100, verbose_name='Instagram')), ('cargo', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Cargo', verbose_name='Cargo')), ], options={ 'verbose_name': 'Funcionário', 'verbose_name_plural': 'Funcionários', }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Project', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=100, verbose_name='Project name')), ('description', models.TextField(null=True, verbose_name='Project description')), ], ), migrations.CreateModel( name='Release', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date', models.DateTimeField(auto_now=True, verbose_name='Release date')), ('commit_id', models.CharField(max_length=64, null=True, verbose_name='Commit id')), ('commit_description', models.TextField(null=True, verbose_name='Commit description')), ('description', models.TextField(null=True, verbose_name='Release description')), ('status', models.CharField(choices=[('SUCCESS', 'Success'), ('ERROR', 'Error'), ('DEPLOYING', 'deploying')], max_length=20, verbose_name='Release status')), ('project', models.ForeignKey(on_delete=core.models.Project, to='core.Project')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.CreateModel( name='Artist', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255)), ('slug', models.SlugField(unique=True)), ('thumbnail', models.ImageField(default='artists/default.png', upload_to='artists')), ('bio', models.TextField(null=True, verbose_name='Artist Bio')), ], ), migrations.CreateModel( name='Genre', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=50)), ('thumbnail', models.ImageField(default='genres/default.png', upload_to='genres')), ], ), migrations.CreateModel( name='Song', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('audio_id', models.CharField(max_length=50, unique=True)), ('title', models.CharField(max_length=200, verbose_name='Song name')), ('description', models.TextField()), ('thumbnail', models.ImageField(upload_to='thumbnails')), ('song', models.FileField(max_length=500, upload_to=core.models.song_directory_path)), ('size', models.IntegerField(default=0)), ('playtime', models.CharField(default='0.00', max_length=10)), ('type', models.CharField(max_length=10)), ('price', models.DecimalField(decimal_places=2, default=0.0, max_digits=5)), ('featured', models.BooleanField(default=False)), ('created_at', models.DateTimeField(default=django.utils.timezone.now, verbose_name='Created At')), ('artists', models.ManyToManyField(related_name='songs', to='core.Artist')), ('genre', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to='core.genre')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='accounts.user')), ], ), migrations.CreateModel( name='Favorite', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('song', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.song')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='accounts.user')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Book', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(blank=True, max_length=255, null=True)), ('author', models.CharField(blank=True, max_length=255, null=True)), ('description', models.TextField(blank=True, null=True)), ], ), migrations.CreateModel( name='TypeDeal', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(choices=[('t', 'Trade'), ('s', 'Sale'), ('g', 'Gift')], max_length=5)), ], ), migrations.CreateModel( name='Image', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.ImageField(blank=True, default='', null=True, upload_to=core.models.upload_image)), ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='images', to='core.Book')), ], ), migrations.CreateModel( name='Deal', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_date', models.DateTimeField(auto_created=True)), ('updated_date', models.DateTimeField(auto_now=True)), ('title', models.CharField(max_length=255)), ('description', models.TextField(blank=True)), ('archive', models.BooleanField(default=False)), ('type', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='deals', to='core.TypeDeal')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Category', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(blank=True, max_length=510, null=True)), ('parent', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='subcategories', to='core.Category')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Category', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=50)), ('status', models.CharField(choices=[('True', 'True'), ('False', 'False')], max_length=10)), ('slug', models.SlugField(allow_unicode=True, unique=True)), ('create_at', models.DateTimeField(auto_now_add=True)), ('update_at', models.DateTimeField(auto_now=True)), ], ), migrations.CreateModel( name='Comment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('comment', models.TextField(null=True)), ('create_at', models.DateTimeField(auto_now_add=True)), ('active', models.BooleanField(default=False)), ('commenter', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments', to=settings.AUTH_USER_MODEL)), ('like', models.ManyToManyField(blank=True, related_name='favourite', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=50)), ('message', models.TextField()), ('image', models.ImageField(blank=True, default='images/404.png', null=True, upload_to='images/')), ('create_at', models.DateTimeField(auto_now_add=True)), ('category', models.ForeignKey(default=core.models.get_category, on_delete=django.db.models.deletion.CASCADE, related_name='categoryPost', to='core.category')), ('create_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='posts', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Like', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('value', models.CharField(choices=[('like', 'like'), ('unlike', 'unlike')], default='unlike', max_length=10)), ('comment', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='likecomment', to='core.comment')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('core', '0003_auto_20200319_0059'), ] operations = [ migrations.CreateModel( name='Video', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.TextField(max_length=128)), ('status', models.CharField(choices=[('PENDING', 'Pending'), ('PROCESSED', 'Processed'), ('PUBLISHED', 'Published'), ('HIDDEN', 'Hidden'), ('INVALID', 'Invalid')], default='PENDING', max_length=16)), ('created', models.DateTimeField(auto_now_add=True)), ('modified', models.DateTimeField(auto_now=True)), ('video', models.FileField( upload_to=core.models.video_upload_location)), ('duration', models.IntegerField(null=True)), ('prompt', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='core.Prompt')), ], ), migrations.AlterField( model_name='user', name='display_name', field=models.TextField(blank=True, max_length=64), ), migrations.DeleteModel(name='Submission', ), migrations.AddField( model_name='video', name='user', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='VideoSubmission', fields=[ ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), ('project_name', models.TextField()), ('status', models.CharField(default='in_queue', max_length=10)), ('video', models.FileField(upload_to=core.models.get_video_path, validators=[core.models.validate_video])), ('subtitle', models.FileField(upload_to=core.models.get_subtitle_path, validators=[core.models.validate_subtitle])), ('total_chunks', models.SmallIntegerField(default=0)), ('processed_video', models.FileField(upload_to='')), ], ), migrations.CreateModel( name='VideoChunk', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('chunk_no', models.SmallIntegerField()), ('video_chunk', models.FileField(upload_to='')), ('audio_chunk', models.FileField(storage=core.storage.OverwriteStorage(), upload_to=core.models.get_audio_chunk_path, validators=[core.models.validate_audio])), ('start_time', models.TimeField()), ('end_time', models.TimeField()), ('subtitle', models.TextField()), ('VideoSubmission', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.VideoSubmission')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Paper', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=512)), ('date', models.DateField()), ('authors', models.CharField(max_length=512)), ('summary', models.TextField(blank=True, null=True)), ('description', models.TextField(blank=True, null=True)), ('details', models.TextField(blank=True, null=True)), ('bibtex', models.TextField()), ('pdf', models.FileField( blank=True, null=True, upload_to=core.models.Paper.create_filename)), ], options={ 'db_table': 'papers', 'ordering': ['date'], }, ), migrations.CreateModel( name='Tag', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.SlugField(max_length=64)), ('papers', models.ManyToManyField(related_name='tags', to='core.Paper')), ], options={ 'db_table': 'tags', 'ordering': ['name'], }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Content', fields=[ ('uuid', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)), ('title', models.TextField(blank=True)), ('body', models.TextField(blank=True)), ('created', models.DateTimeField(auto_now_add=True)), ('start_date', models.DateTimeField(blank=True, null=True)), ('end_date', models.DateTimeField(blank=True, null=True)), ], options={ 'verbose_name_plural': 'Content', }, ), migrations.CreateModel( name='Image', fields=[ ('uuid', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)), ('file', models.ImageField(blank=True, height_field=b'height', upload_to=core.models.file_name, width_field=b'width')), ('height', models.PositiveIntegerField(blank=True, null=True)), ('width', models.PositiveIntegerField(blank=True, null=True)), ('content', models.ManyToManyField(related_name='images', to='core.Content')), ], ), migrations.CreateModel( name='LogEntry', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('when', models.DateTimeField(auto_now_add=True)), ('action', models.TextField(choices=[(b'add', b'Created'), (b'edit', b'Modified'), (b'delete', b'Deleted')], default=b'add')), ('diff', models.TextField(blank=True)), ('content', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.Content')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='content_logs', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'Log Entry', 'verbose_name_plural': 'Log Entries', }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.CreateModel( name='Property', fields=[ ('id', models.CharField(default=core.models.get_hash_id, editable=False, max_length=16, primary_key=True, serialize=False, validators=[core.validators.validate_hash_id])), ('street', models.CharField(help_text='street where property is located', max_length=150)), ('number', models.CharField(help_text='property number on the street', max_length=10)), ('zip_code', models.CharField(help_text='zip code of the property', max_length=15)), ('city', models.CharField(help_text='city where property is located', max_length=100)), ('description', models.TextField(help_text='general description of property', max_length=2000)), ('category', models.CharField(choices=[('house', 'House'), ('apartment', 'Apartment'), ('flat', 'Flat'), ('other', 'Other')], default='house', help_text='most adequate category for property', max_length=10)), ('beds', models.CharField(choices=[('1', '1'), ('2', '2'), ('3', '3'), ('4+', '4+')], default='1', help_text='number of bedrooms in the property', max_length=2)), ('landlord', models.ForeignKey(help_text='owner of the property', on_delete=django.db.models.deletion.CASCADE, to='accounts.Landlord')), ], options={ 'verbose_name': 'Property', 'verbose_name_plural': 'Properties', }, ), ]
class Migration(migrations.Migration): dependencies = [ ('core', '0036_user_notice'), ] operations = [ migrations.CreateModel( name='MembershipFee', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('start', models.DateField(blank=True, null=True)), ('end', models.DateField(blank=True, null=True)), ('rate', models.FloatField(default=1)), ('comment', models.TextField(blank=True)), ('account', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='core.Account')), ], ), migrations.RemoveField( model_name='accpayphase', name='account', ), migrations.DeleteModel(name='AccPayPhase', ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Ad', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('is_active', models.CharField(choices=[('T', 'T'), ('F', 'F')], default='F', max_length=1)), ('server_id', models.IntegerField(blank=True, null=True)), ('is_featured', models.BooleanField(default=False, verbose_name='Is Fetaured')), ('title', models.CharField(default=None, max_length=255)), ('category', models.CharField(choices=[('ELECTRONICS', 'ELECTRONICS'), ('HEADSETS', 'HEADSETS'), ('KEYS', 'KEYS')], default=None, max_length=64)), ('short_description', models.CharField(default=None, max_length=120)), ('personality', models.CharField(choices=[('COMPANY', 'COMPANY'), ('PRIVATE_PERSON', 'PRIVATE_PERSON')], default=None, max_length=64)), ('description', models.TextField(default=None, max_length=1024)), ('price', models.FloatField(default=0)), ('image', models.ImageField(upload_to=core.models.location_file)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='PhrasesModel', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateField(auto_now_add=True, verbose_name='Criação')), ('modified_at', models.DateField(auto_now=True, verbose_name='Modificado')), ('activated', models.BooleanField(default=True, verbose_name='Ativado?')), ('name', models.CharField(max_length=100, verbose_name='Nome')), ('phrase', models.TextField(verbose_name='Frase')), ('image', stdimage.models.StdImageField(upload_to=core.models.get_file_path, verbose_name='Imagem')), ], options={ 'verbose_name': 'Phrase', 'verbose_name_plural': 'Phrases', }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='blogpost', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200)), ('content', models.TextField()), ('author', models.ForeignKey(on_delete=models.SET( core.models.get_sentinel_user), to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Upload', fields=[ ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), ('password', models.CharField(default=core.models.generate_upload_password, max_length=32)), ('file', models.FileField(blank=True, null=True, upload_to='uploads/')), ('url', models.URLField(blank=True, null=True)), ('successful_attempts', models.IntegerField(default=0)), ('failed_attempts', models.IntegerField(default=0)), ('expires_at', models.DateTimeField(default=core.models.generate_expiry_datetime)), ('created_at', models.DateTimeField(auto_now_add=True)), ], ), migrations.CreateModel( name='UserAgent', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('value', models.TextField()), ('updated_at', models.DateTimeField(auto_now=True)), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='last_user_agent', to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Item', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=50)), ('slug', models.SlugField(blank=True, null=True, unique=True)), ('description', models.TextField(blank=True, max_length=120, null=True)), ('price', models.DecimalField(decimal_places=2, max_digits=4)), ('image', models.ImageField(upload_to=core.models.upload_image_path)), ('size', models.IntegerField(default=32)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='ShortenedURL', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('expanded_url', models.TextField( validators=[django.core.validators.URLValidator])), ('shortened_url', models.CharField(default=core.models.default_shortened_url, max_length=20, unique=True)), ('created_at', models.DateTimeField(auto_now_add=True)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('core', '0006_auto_20210309_1908'), ] operations = [ migrations.CreateModel( name='Collection', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=35, verbose_name='title')), ('slug', models.SlugField(max_length=100)), ('body', models.TextField(verbose_name='body')), ('image', models.ImageField(blank=True, upload_to=core.models.collection_image_file_path)), ('type', models.CharField(choices=[('ALL', 'All conditions'), ('ANY', 'Any conditions')], default='ALL', max_length=9, verbose_name='Collection Type')), ('store', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.store')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Condition', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('field_reference', models.CharField(choices=[('TYPE', 'Product Type'), ('TITLE', 'Product Title'), ('VENDOR', 'Product Vendor'), ('TAG', 'Product Tag'), ('STOCK', 'Product Stock'), ('PRICE', 'Product Price')], default='TYPE', max_length=25, verbose_name='Field Reference')), ('filter_type', models.CharField(choices=[('EQUAL', 'Is equal to'), ('NOTEQUAL', 'Not equal to'), ('GREATERTHANEQUAL', 'Greater than'), ('LESSTHANEQUAL', 'Less than'), ('STARTSWITH', 'Starts with'), ('ENDSWITH', 'Ends with'), ('CONTAINS', 'Contains'), ('NOTCONTAIN', 'Does not contain')], default='EQUAL', max_length=25, verbose_name='Filter Type')), ('field_val', models.CharField(max_length=35, verbose_name='Condition Value')), ('collection', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='core.collection')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('first_name', models.CharField(max_length=30, verbose_name='Nome')), ('last_name', models.CharField(max_length=30, verbose_name='Sobrenome')), ('slug', models.SlugField(max_length=30, verbose_name='Nome Fantasia')), ('age', models.PositiveIntegerField(verbose_name='Idade')), ('description', models.TextField(max_length=250, verbose_name='Descrição')), ('profile_picture', models.ImageField(upload_to=core.models.upload_image_path, verbose_name='Foto do Perfil')), ('cacheForHours', models.DecimalField(decimal_places=2, max_digits=6, verbose_name='Cachê/Hr')), ('weight', models.FloatField(verbose_name='Peso(kg)')), ('height', models.FloatField(verbose_name='Altura(m)')), ('bust', models.FloatField(verbose_name='Busto(cm)')), ('waist', models.FloatField(verbose_name='Cintura(cm)')), ('butt', models.FloatField(verbose_name='Bunda(cm)')), ('created', models.DateTimeField(auto_now_add=True, verbose_name='Criado em ')), ('modified', models.DateTimeField(auto_now=True, verbose_name='Modificado em ')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.CreateModel( name='Servico', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criados', models.DateField(auto_now_add=True, verbose_name='Criação')), ('modificado', models.DateField(auto_now=True, verbose_name='Atualização')), ('ativo', models.BooleanField(default=True, verbose_name='Ativo?')), ('servico', models.CharField(max_length=100, verbose_name='Serviço')), ('descricao', models.TextField(max_length=200, verbose_name='Descrição')), ('icone', models.CharField(choices=[('lni-mobile', 'Molibe'), ('lni-layers', 'Design'), ('lni-rocket', 'Foguete'), ('lni-users', 'Usuario'), ('lni-stats-up', 'grafico'), ('lni-cog', 'Engrenagem')], max_length=15, verbose_name='Icone')), ], options={ 'verbose_name': 'Serviço', 'verbose_name_plural': 'Serviços', }, ), migrations.DeleteModel( name='Servicos', ), migrations.AlterField( model_name='funcionario', name='imagem', field=stdimage.models.StdImageField(upload_to=core.models.get_file_path, verbose_name='Imagem'), ), ]
class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.CreateModel( name='Testemonial', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('criados', models.DateField(auto_now_add=True, verbose_name='Criação')), ('modificado', models.DateField(auto_now=True, verbose_name='Atualização')), ('ativo', models.BooleanField(default=True, verbose_name='Ativo')), ('nome', models.CharField(max_length=100, verbose_name='Nome')), ('image', stdimage.models.StdImageField(upload_to=core.models.get_file_path, verbose_name='Imagem')), ('bairro', models.CharField(max_length=50, verbose_name='bairro')), ('texto', models.TextField(max_length=500, verbose_name='Depoimento')), ], options={ 'verbose_name': 'Depoimento', 'verbose_name_plural': 'Depoimentos', }, ), ]
class Migration(migrations.Migration): dependencies = [ ('core', '0016_auto_20151206_2044'), ] operations = [ migrations.AddField( model_name='story', name='content', field=models.TextField(null=True), ), migrations.AddField( model_name='story', name='is_story', field=models.BooleanField(default=True), ), migrations.AlterField( model_name='contactemail', name='contact_type', field=models.CharField(choices=[('chapter', 'Django Girls Local Organizers'), ('support', 'Django Girls HQ (Support Team)')], default='chapter', max_length=20, verbose_name='Who do you want to contact?'), ), migrations.AlterField( model_name='event', name='date', field=django_date_extensions.fields.ApproximateDateField(max_length=10, null=True, validators=[core.models.validate_approximatedate]), ), migrations.AlterField( model_name='story', name='image', field=models.ImageField(null=True, upload_to='stories/'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Highlight', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=50, verbose_name='Título')), ('text', models.TextField(verbose_name='Texto')), ('image', models.ImageField( upload_to=core.models.highlight_directory_path, verbose_name='Imagem')), ], options={ 'verbose_name': 'Destaque', 'verbose_name_plural': 'Destaques', }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Status', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('content', models.TextField(blank=True, null=True)), ('image', models.ImageField(blank=True, null=True, upload_to=core.models.upload_status_image)), ('updated', models.DateTimeField(auto_now=True)), ('timestamp', models.DateTimeField(auto_now_add=True)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'Status post', 'verbose_name_plural': 'Status posts', }, ), ]
class Migration(migrations.Migration): dependencies = [ ('core', '0010_auto_20210907_2037'), ] operations = [ migrations.CreateModel( name='SubmissionArg', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(default=django.utils.timezone.now)), ('updated_at', models.DateTimeField(auto_now=True)), ('key', models.SlugField(db_index=False)), ('string_value', models.TextField(blank=True, null=True)), ('file_value', models.FileField(blank=True, null=True)), ('submission', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='args', to='core.submission')), ], options={ 'unique_together': {('submission', 'key')}, }, ), ]
class Migration(migrations.Migration): dependencies = [ ('events', '0006_auto_20170121_2202'), ] operations = [ migrations.AlterField( model_name='sponsoredevent', name='abstract', field=core.models.EAWTextField( help_text= "<p><a href='#' data-toggle='modal' data-target='#proposalFieldExampleModal' data-content='abstract'>Proposal Examples</a></p>The overview of what the talk is about. If the talk assume some domain knowledge please state it here. If your talk is accepted, this will be displayed on both the website and the handbook. Should be one paragraph.", max_length=1000, verbose_name='abstract'), ), migrations.AlterField( model_name='sponsoredevent', name='detailed_description', field=models.TextField( blank=True, help_text= "<p><a href='#' data-toggle='modal' data-target='#proposalFieldExampleModal'data-content='detailed description'>Proposal Examples</a></p>Try not be too lengthy to scare away reviewers or potential audience. A comfortable length is less than 2000 characters (or about 1200 Chinese characters). Since most reviewers may not understand the topic as deep as you do, including related links to the talk topic will help reviewers understand the proposal. Edit using <a href='http://daringfireball.net/projects/markdown/basics' target='_blank'>Markdown</a>.", verbose_name='detailed description'), ), ]