class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Sandubas', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('tipos', models.CharField(choices=[('HOTDOG', 'Lanches e Hot-dog'), ('BARCA', 'Barca'), ('PFE', 'Pratos Executivos'), ('PORC', 'Porções e Bebidas'), ('CUPONS', 'Cupons'), ('INI', 'Inicial')], max_length=6)), ('titulo', models.CharField(max_length=100)), ('apresentacao', models.TextField()), ('imagem', cloudinary.models.CloudinaryField(max_length=255, verbose_name='imagem')), ('validade', models.DateField(blank=True, null=True)), ('datapublicacao', models.DateField()), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Blog', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=200)), ('post_date', models.DateField(auto_now_add=True)), ('image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('body', ckeditor.fields.RichTextField()), ('snippet', ckeditor.fields.RichTextField(max_length=100)), ('acc', models.BooleanField()), ('author', models.ForeignKey(db_constraint=False, default=None, on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Comment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('komentar', models.CharField(max_length=200)), ('nama', models.CharField(max_length=30)), ('post_date', models.DateField(auto_now_add=True)), ('blog', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='covidblog.blog')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Divino', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('tipos', models.CharField(choices=[('CARD', 'Cardápio'), ('COMBOS', 'Combos'), ('CUPOM', 'Cupons'), ('INI', 'Início')], max_length=6)), ('titulo', models.CharField(max_length=100)), ('apresentacao', models.TextField()), ('imagem', cloudinary.models.CloudinaryField(max_length=255, verbose_name='imagem')), ('validade', models.DateField(blank=True, null=True)), ('datapublicacao', models.DateField()), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Marcar_Jogo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=255)), ('time', models.CharField(max_length=255)), ('end', models.CharField(max_length=255)), ('tel', models.CharField(max_length=255)), ('email', models.EmailField(max_length=255)), ('date', models.CharField(max_length=255)), ('lugar', models.CharField(choices=[('G', 'Gramado'), ('S', 'Society'), ('F', 'Futsal'), ('T', 'Taqueada')], max_length=255)), ('msg', models.CharField(max_length=255)), ('criado', models.DateField(auto_now_add=True)), ('placarCasa', models.IntegerField(default=1, null=True)), ('placarFora', models.IntegerField(default=1, null=True)), ], ), migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nome', models.CharField(max_length=255)), ('resumo', ckeditor.fields.RichTextField()), ('content', ckeditor_uploader.fields.RichTextUploadingField()), ('author', models.CharField(max_length=255)), ('image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='imagem')), ('created_at', models.DateField(auto_now_add=True)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('media_patronage', '0008_auto_20210217_2018'), ] operations = [ migrations.AlterField( model_name='article', name='pdf_article', field=cloudinary.models.CloudinaryField(max_length=255, null=True, verbose_name='PDF'), ), migrations.AlterField( model_name='cooperationterms', name='date_update', field=models.DateField( default=datetime.datetime(2021, 2, 17, 20, 22, 3, 588005, tzinfo=utc), verbose_name='Data dodania warunków wspólpracy'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.CreateModel( name='Profile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_of_birth', models.DateField(blank=True, null=True)), ('picture', cloudinary.models.CloudinaryField(blank=True, max_length=255, null=True, verbose_name='image')), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to='accounts.Tenant')), ], options={ 'verbose_name_plural': 'profiles', }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Article', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('quote', models.CharField(default='2020 was tough', max_length=200)), ('author', models.CharField(max_length=50)), ('date', models.DateField(auto_now_add=True)), ('image', cloudinary.models.CloudinaryField(blank=True, max_length=255, verbose_name='image')), ('legit', models.BooleanField(default=False)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='current_user', to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='room', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=30)), ('description', models.CharField(max_length=1000)), ('slug', models.CharField(max_length=50)), ], ), migrations.CreateModel( name='reviews', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('music_id', models.CharField(max_length=20)), ('body', models.CharField(max_length=1000)), ('posted_on', models.DateField(auto_now_add=True)), ('posted_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='profile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('profile_pic', cloudinary.models.CloudinaryField(blank=True, max_length=255, null=True, verbose_name='image')), ('status', models.CharField(max_length=100)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Profile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('photo', cloudinary.models.CloudinaryField(max_length=255, verbose_name='images')), ('Bio', models.CharField(max_length=30)), ('datecreated', models.DateField(auto_now_add=True)), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Projects', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=30)), ('description', models.TextField(max_length=300)), ('projectscreenshot', cloudinary.models.CloudinaryField(max_length=255, verbose_name='images')), ('projecturl', models.URLField()), ('datecreated', models.DateField(auto_now_add=True)), ('user', models.ForeignKey(default='', null=True, on_delete=django.db.models.deletion.CASCADE, related_name='author', to='aawards.profile')), ], ), migrations.CreateModel( name='Revieww', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date', models.DateField(auto_now_add=True)), ('text', models.TextField(blank=True, max_length=3000)), ('design', models.PositiveSmallIntegerField(choices=[(1, '1- Trash'), (2, '2- Horrible'), (3, '3- Terrible'), (4, '4- Bad'), (5, '5- Ok'), (6, '6- Watchable'), (7, '7- Good'), (8, '8- Very Good'), (9, '9- perfect'), (10, '10- Master Piece')], default=0)), ('usability', models.PositiveSmallIntegerField(choices=[(1, '1- Trash'), (2, '2- Horrible'), (3, '3- Terrible'), (4, '4- Bad'), (5, '5- Ok'), (6, '6- Watchable'), (7, '7- Good'), (8, '8- Very Good'), (9, '9- perfect'), (10, '10- Master Piece')], default=0)), ('content', models.PositiveSmallIntegerField(choices=[(1, '1- Trash'), (2, '2- Horrible'), (3, '3- Terrible'), (4, '4- Bad'), (5, '5- Ok'), (6, '6- Watchable'), (7, '7- Good'), (8, '8- Very Good'), (9, '9- perfect'), (10, '10- Master Piece')], default=0)), ('projects', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='aawards.projects')), ('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='Member', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('member_image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('id_number', models.CharField(max_length=255)), ('title', models.CharField(max_length=255)), ('first_name', models.CharField(max_length=255)), ('middle_name', models.CharField(max_length=255)), ('last_name', models.CharField(max_length=255)), ('gender', models.CharField(max_length=255)), ('birthday', models.DateField()), ('email_address', models.EmailField(max_length=254)), ('phone_number', models.CharField(max_length=255)), ('address', models.CharField(max_length=255)), ('front_image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('back_image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('status', models.CharField(max_length=255)), ], ), migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('username', models.CharField(max_length=255)), ('email_address', models.EmailField(max_length=254)), ('password', models.CharField(max_length=255)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='News', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('order', models.PositiveIntegerField(default=0)), ('title', models.CharField(max_length=255, null=True, verbose_name='title')), ('subtitle', models.CharField(max_length=255, null=True, verbose_name='subitle')), ('text', redactor.fields.RedactorField(blank=True, null=True, verbose_name='text')), ('text_preview', models.CharField(max_length=1000, null=True, verbose_name='text_preview')), ('date', models.DateField(null=True, verbose_name='date')), ('image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('created_at', models.DateTimeField(auto_now_add=True, verbose_name='created at')), ('updated_at', models.DateTimeField(auto_now=True, verbose_name='update at')), ('slug', models.SlugField(blank=True, null=True)), ], options={ 'ordering': ('-date', ), 'verbose_name': 'News', 'verbose_name_plural': 'News', }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Tutorials', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('date_updated', models.DateField(auto_created=True)), ('image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('title', models.CharField(max_length=100)), ('description', models.TextField(max_length=300)), ('content', models.TextField(max_length=400)), ('link', models.URLField(max_length=100)), ('published', models.BooleanField()), ('date_created', models.DateField(auto_now_add=True)), ], ), ]
class Author(models.Model): """ Model of author """ # Author attributes first_name = models.CharField(max_length=100) last_name = models.CharField(max_length=100) date_born = models.DateField(null=True, blank=True) date_died = models.DateField('Died', null=True, blank=True) # Constraints def clean(self): if self.date_died is not None and self.date_born is not None: if self.date_born > self.date_died: raise ValidationError( 'Date born can not be after the date died') # Author features def get_absolute_url(self): return reverse('author-detail', args=[str(self.id)]) def __str__(self): return '%s. %s' % (self.first_name[0], self.last_name)
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='event', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=150)), ('overview', ckeditor.fields.RichTextField()), ('timestamp', models.DateTimeField(auto_now_add=True)), ('thumnail', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('date_added', models.DateField(auto_now_add=True, verbose_name='date published')), ('video_display', models.BooleanField()), ('image_display', models.BooleanField(default=False)), ('video', embed_video.fields.EmbedVideoField(blank=True)), ], ), migrations.CreateModel( name='PostImage', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('images', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('Event', models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='Events.event')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('password', models.CharField(max_length=128, verbose_name='password')), ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')), ('is_superuser', models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')), ('username', models.CharField(error_messages={'unique': 'A user with that username already exists.'}, help_text='Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.', max_length=150, unique=True, validators=[django.contrib.auth.validators.UnicodeUsernameValidator()], verbose_name='username')), ('is_staff', models.BooleanField(default=False, help_text='Designates whether the user can log into this admin site.', verbose_name='staff status')), ('is_active', models.BooleanField(default=True, help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active')), ('date_joined', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date joined')), ('first_name', models.CharField(max_length=30)), ('last_name', models.CharField(max_length=150)), ('email', models.EmailField(max_length=254)), ('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')), ('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')), ], options={ 'verbose_name': 'user', 'verbose_name_plural': 'users', 'abstract': False, }, managers=[ ('objects', django.contrib.auth.models.UserManager()), ], ), migrations.CreateModel( name='ProfileUser', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image_from_cl', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('location', models.CharField(blank=True, max_length=30)), ('birth_date', models.DateField(blank=True, null=True)), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('media_patronage', '0007_auto_20210124_1348'), ] operations = [ migrations.AlterField( model_name='cooperationterms', name='date_update', field=models.DateField(default=datetime.datetime(2021, 2, 17, 20, 18, 56, 738825, tzinfo=utc), verbose_name='Data dodania warunków wspólpracy'), ), migrations.AlterField( model_name='portal', name='logotype', field=cloudinary.models.CloudinaryField(max_length=255, null=True, verbose_name='logotype'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('profiles', '0001_initial'), ('taggit', '0003_taggeditem_add_unique_index'), ] operations = [ migrations.CreateModel( name='Album', 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, unique=True)), ('created', models.DateTimeField(auto_now_add=True)), ('updated', models.DateTimeField(auto_now=True)), ('is_public', models.BooleanField(default=True)), ('profile', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='albums', to='profiles.profile')), ], options={ 'ordering': ('-updated',), }, ), migrations.CreateModel( name='Asset', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('media', cloudinary.models.CloudinaryField(max_length=255, verbose_name='media')), ('added', models.DateField(auto_now_add=True)), ('title', models.CharField(max_length=15)), ('slug', models.SlugField(blank=True, unique=True)), ('album', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='assets', to='albums.album')), ('profile', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='profiles.profile')), ('tags', taggit.managers.TaggableManager(help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')), ], ), migrations.AddConstraint( model_name='album', constraint=models.UniqueConstraint(fields=('title', 'profile'), name='unique_album'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('project', '0001_initial'), ] operations = [ migrations.CreateModel( name='Document', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=100, unique=True)), ('loadingDate', models.DateField(default=django.utils.timezone.now)), ('link', cloudinary.models.CloudinaryField(max_length=255, verbose_name='link')), ('deliverable', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='project.deliverable')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('qnow_client', '0047_auto_20200310_2350'), ] operations = [ migrations.AlterField( model_name='quotation', name='date_validate', field=models.DateField(default=datetime.datetime( 2020, 4, 9, 23, 54, 0, 599994), verbose_name='Validade'), ), migrations.AlterField( model_name='quotation', name='image_environment', field=cloudinary.models.CloudinaryField(blank=True, max_length=255, null=True, verbose_name='Imagem-1'), ), migrations.AlterField( model_name='quotation', name='image_project', field=cloudinary.models.CloudinaryField(blank=True, max_length=255, null=True, verbose_name='Imagem-2'), ), migrations.AlterField( model_name='quotation', name='particulars', field=models.TextField(verbose_name='Detalhes'), ), migrations.AlterField( model_name='quotation', name='removed', field=models.BooleanField(default=False, verbose_name='Removida'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Profile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('profile_photo', cloudinary.models.CloudinaryField(max_length=255, verbose_name='profile_photo')), ('bio', models.TextField(null=True)), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Image', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('image_name', models.CharField(max_length=60)), ('caption', models.TextField()), ('likes', models.IntegerField(blank=True, default=0, null=True)), ('pub_date', models.DateTimeField(auto_now_add=True, null=True)), ('profile', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='user', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Comments', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('comment', models.CharField(max_length=3000)), ('created', models.DateField(auto_now_add=True, null=True)), ('image', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='gram.image')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('user', '0001_initial'), ] operations = [ migrations.CreateModel( name='Order', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('token', models.CharField(max_length=10)), ('date', models.DateTimeField(auto_now_add=True)), ('status', models.CharField(choices=[('deliver', 'Delivered'), ('Pending', 'Pending'), ('On Way', 'On the Way'), ('Canceled', 'Canceled')], default='Pending', max_length=10)), ('totalamount', models.CharField(max_length=10)), ('mobile', models.CharField(max_length=12)), ('area', models.CharField(max_length=20)), ('address', models.CharField(max_length=50)), ('user_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.user')), ], ), migrations.CreateModel( name='OrderDetail', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('itemname', models.CharField(max_length=15)), ('itemquantity', models.CharField(max_length=10)), ('attribute', models.CharField(max_length=10)), ('currency', models.CharField(max_length=10)), ('itemImage', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('itemprice', models.CharField(max_length=10)), ('itemtotal', models.CharField(max_length=10)), ('date', models.DateField(auto_now_add=True)), ('total', models.CharField(max_length=10)), ('status', models.CharField(max_length=10)), ('order_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='order.order')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('users', '0004_auto_20190819_2313'), ] operations = [ migrations.AddField( model_name='profile', name='dob', field=models.DateField(blank=True, null=True), ), migrations.AlterField( model_name='profile', name='picture', field=cloudinary.models.CloudinaryField(blank=True, max_length=255, null=True, verbose_name='image'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Poem', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=255)), ('body', models.TextField()), ('image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('category', models.CharField(blank=True, max_length=255)), ('publishing_date', models.DateField()), ('featured', models.BooleanField()), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Invoice', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('invoice', models.CharField(max_length=50)), ('invoice_reference', models.CharField(blank=True, default=None, max_length=50)), ('car_plate', models.CharField(blank=True, default=None, max_length=8)), ('accounts_receivables', models.DecimalField(decimal_places=2, max_digits=7)), ('balance', models.CharField(choices=[('Credit', 'Credit'), ('Debit', 'Debit')], max_length=6)), ('accounts_payable', models.CharField(max_length=50)), ('inv_date', models.DateField()), ('submitter', models.CharField(default='Master', max_length=50)), ('financial_year', models.IntegerField(default=9999)), ('month', models.IntegerField(default=99)), ('cover', cloudinary.models.CloudinaryField(default='None', max_length=255)), ('log_date', models.DateTimeField(auto_now_add=True)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('core', '0012_upcomingshow_link_to_tickets'), ] operations = [ migrations.CreateModel( name='NewsPost', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=200)), ('date', models.DateField()), ('description', models.TextField()), ('image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('product', '0006_auto_20191022_0411'), ] operations = [ migrations.CreateModel( name='ProductDetail', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('product_name', models.CharField(max_length=100)), ('product_image_name', models.CharField(max_length=100)), ('product_image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('last_update', models.DateField(default=datetime.date.today)), ], ), migrations.DeleteModel(name='Centers', ), migrations.RemoveField( model_name='product', name='product_category', ), migrations.RemoveField( model_name='video', name='video_category', ), migrations.DeleteModel(name='Category', ), migrations.DeleteModel(name='Product', ), migrations.DeleteModel(name='Video', ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0007_alter_validators_add_error_messages'), migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Class', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('organisation_name', models.CharField(default='unset', max_length=200)), ('name', models.CharField(max_length=50)), ('teacher', models.CharField(max_length=20)), ('start_time', models.TimeField(blank=True, null=True)), ('end_time', models.TimeField(blank=True, null=True)), ('start_date', models.DateField(blank=True, null=True)), ('end_date', models.DateField(blank=True, null=True)), ('capacity', models.IntegerField(default=10)), ('description', models.CharField(max_length=800)), ('price', models.IntegerField(blank=True, null=True)), ('total_classes', models.IntegerField(blank=True, null=True)), ('image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('address', models.CharField(max_length=100)), ('phone_number', models.IntegerField(blank=True, null=True)), ('monday', models.BooleanField(default=False)), ('tuesday', models.BooleanField(default=False)), ('wednesday', models.BooleanField(default=False)), ('thursday', models.BooleanField(default=False)), ('friday', models.BooleanField(default=False)), ('saturday', models.BooleanField(default=False)), ('sunday', models.BooleanField(default=False)), ], ), migrations.CreateModel( name='ClassHistory', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('class_name', models.CharField(max_length=50, null=True)), ('registered_date', models.DateTimeField(blank=True, null=True)), ('organisation_name', models.CharField(default='unset', max_length=200)), ('name', models.CharField(max_length=50, null=True)), ('teacher', models.CharField(max_length=20, null=True)), ('start_time', models.TimeField(blank=True, null=True)), ('end_time', models.TimeField(blank=True, null=True)), ('start_date', models.DateField(blank=True, null=True)), ('end_date', models.DateField(blank=True, null=True)), ('capacity', models.IntegerField(default=10, null=True)), ('description', models.CharField(max_length=800, null=True)), ('price', models.IntegerField(blank=True, null=True)), ('image', cloudinary.models.CloudinaryField(max_length=255, null=True, verbose_name='image')), ('address', models.CharField(max_length=100, null=True)), ('phone_number', models.IntegerField(blank=True, null=True)), ], ), migrations.CreateModel( name='Client', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('organisation_name', models.CharField(default='unset', max_length=200)), ('name', models.CharField(max_length=50)), ('age', models.IntegerField(default=4)), ('phone', models.CharField(max_length=20)), ('gender', models.CharField(max_length=10)), ('email', models.CharField(max_length=50)), ('address', models.CharField(max_length=100)), ('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='manager.Class')), ], ), migrations.CreateModel( name='ClientProfile', fields=[ ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)), ('course_id', models.IntegerField()), ('organisation', models.CharField(max_length=200)), ('name', models.CharField(max_length=50)), ('age', models.IntegerField(default=4)), ('phone', models.CharField(max_length=20)), ('gender', models.CharField(max_length=10)), ('email', models.CharField(max_length=20)), ('address', models.CharField(max_length=100)), ], ), migrations.CreateModel( name='Photo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ], ), migrations.CreateModel( name='StripeInfo', fields=[ ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)), ('business_name', models.CharField(max_length=100)), ('key', models.CharField(max_length=100)), ('stripe_user_id', models.CharField(max_length=100)), ('city', models.CharField(max_length=100)), ('address', models.CharField(max_length=100)), ('country', models.CharField(max_length=100)), ], ), migrations.AddField( model_name='classhistory', name='user', field=models.ForeignKey( default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), ), migrations.AddField( model_name='class', name='user', field=models.ForeignKey( default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Delegate', fields=[ ('university', models.CharField(choices=[(None, 'Select'), ('KU', 'Kenyatta University'), ('JKUAT', 'JKUAT'), ('UoN', 'University of Nairobi'), ('MKU', 'Mount Kenya University'), ('RU', 'Riara University'), ('USIU', 'USIU'), ('KCA', 'KCA'), ('MMU', 'Multimedia University'), ('SU', 'Strathmore University')], max_length=5)), ('full_name', models.CharField(max_length=35)), ('email', django.contrib.postgres.fields.citext.CIEmailField( max_length=254, primary_key=True, serialize=False, validators=[django.core.validators.EmailValidator()])), ('phone_number', models.CharField( help_text= 'Please use the following format: <em>0712345678</em>.', max_length=12, unique=True, validators=[ django.core.validators.MinLengthValidator(10), django.core.validators.MaxLengthValidator(12) ])), ('reg_no', django.contrib.postgres.fields.citext.CICharField( max_length=20, unique=True)), ('mpesa_code', models.CharField( blank=True, help_text= 'Make sure to keep the mpesa message. It will be used to validate your code.', max_length=20, null=True, unique=True)), ('has_paid', models.BooleanField( default=False, editable=False, help_text= 'Make sure you have confirmed the MPESA code matches from the Safaricom message. For those who have lost the safaricom message, ask them to get an mpesa statement.' )), ], options={ 'ordering': ['full_name'], }, ), migrations.CreateModel( name='LipaNaMpesa', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('result_code', models.IntegerField(null=True)), ('result_desc', models.CharField(max_length=120, null=True)), ('amount', models.FloatField(blank=True, null=True)), ('receipt_number', models.CharField(blank=True, max_length=20, null=True)), ('transaction_date', models.DateTimeField(blank=True, null=True)), ('phone_number', models.CharField(blank=True, max_length=13, null=True)), ], options={ 'verbose_name_plural': 'LipaNaMpesa data', }, ), migrations.CreateModel( name='Speaker', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(blank=True, help_text='eg <em>Mr, Dr, Prof...</em>.', max_length=35, null=True)), ('full_name', models.CharField(max_length=35)), ('role', models.CharField(blank=True, help_text='eg <em>CEO Google</em>.', max_length=100, null=True)), ('photo', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('facebook_url', models.URLField(blank=True, null=True)), ('instagram_url', models.URLField(blank=True, null=True)), ('twitter_url', models.URLField(blank=True, null=True)), ('linkedin_url', models.URLField(blank=True, null=True)), ], ), migrations.CreateModel( name='Sponsor', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=40)), ('logo', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ], ), migrations.CreateModel( name='SummitDay', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('day_number', models.CharField(blank=True, choices=[('1', 'ONE'), ('2', 'TWO'), ('3', 'THREE')], max_length=5, null=True)), ('date', models.DateField()), ], ), migrations.CreateModel( name='Testimonial', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=40)), ('statement', models.TextField()), ('photo', cloudinary.models.CloudinaryField(max_length=255, verbose_name='image')), ('who', models.CharField(max_length=40)), ], ), migrations.CreateModel( name='Program', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=40)), ('start_time', models.DateTimeField()), ('end_time', models.DateTimeField()), ('description', models.TextField()), ('venue', models.CharField(max_length=30)), ('google_event_id', models.CharField(blank=True, max_length=40, null=True)), ('day', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='main.SummitDay')), ('speaker', models.ForeignKey( blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='main.Speaker')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='BooleanProductVote', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('votes', models.IntegerField(default=0)), ('attribute', models.CharField( max_length=100, validators=[ networkapi.buyersguide.validators.ValueListValidator( valid_values=['confidence']) ])), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='BuyersGuideProductCategory', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=100)), ('description', models.TextField( blank=True, help_text= 'Description of the product category. Max. 300 characters.', max_length=300)), ('featured', models.BooleanField( default=False, help_text= "Featured category will appear first on Buyer's Guide site nav" )), ('hidden', models.BooleanField( default=False, help_text= "Hidden categories will not appear in the Buyer's Guide site nav at all" )), ('slug', models.SlugField( blank=True, help_text= 'A URL-friendly version of the product name. This is an auto-generated field.' )), ], options={ 'verbose_name': 'Buyers Guide Product Category', 'verbose_name_plural': 'Buyers Guide Product Categories', }, ), migrations.CreateModel( name='Product', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('draft', models.BooleanField( default=True, help_text= 'When checked, this product will only show for CMS-authenticated users' )), ('adult_content', models.BooleanField( default=False, help_text= 'When checked, product thumbnail will appear blurred as well as have an 18+ badge on it' )), ('review_date', models.DateField(help_text='Review date of this product')), ('name', models.CharField(blank=True, help_text='Name of Product', max_length=100)), ('slug', models.CharField(blank=True, default=None, editable=False, help_text='slug used in urls', max_length=256)), ('company', models.CharField(blank=True, help_text='Name of Company', max_length=100)), ('blurb', models.TextField(blank=True, help_text='Description of the product', max_length=5000)), ('url', models.URLField(blank=True, help_text='Link to this product page', max_length=2048)), ('price', models.CharField(blank=True, help_text='Price', max_length=100)), ('image', models.FileField(blank=True, help_text='Image representing this product', max_length=2048, upload_to=networkapi.buyersguide.pagemodels. get_product_image_upload_path. get_product_image_upload_path)), ('cloudinary_image', cloudinary.models.CloudinaryField( blank=True, help_text= 'Image representing this product - hosted on Cloudinary', max_length=255, verbose_name='image')), ('meets_minimum_security_standards', models.BooleanField( help_text= 'Does this product meet minimum security standards?', null=True)), ('uses_encryption', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Does the product use encryption?')), ('uses_encryption_helptext', models.TextField(blank=True, max_length=5000)), ('security_updates', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Security updates?')), ('security_updates_helptext', models.TextField(blank=True, max_length=5000)), ('strong_password', networkapi.buyersguide.fields.ExtendedYesNoField()), ('strong_password_helptext', models.TextField(blank=True, max_length=5000)), ('manage_vulnerabilities', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Manages security vulnerabilities?')), ('manage_vulnerabilities_helptext', models.TextField(blank=True, max_length=5000)), ('privacy_policy', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Does this product have a privacy policy?')), ('privacy_policy_helptext', models.TextField(blank=True, max_length=5000)), ('share_data', models.BooleanField( help_text= 'Does the maker share data with other companies?', null=True)), ('share_data_helptext', models.TextField(blank=True, max_length=5000)), ('how_does_it_share', models.CharField( blank=True, help_text='How does this product handle data?', max_length=5000)), ('user_friendly_privacy_policy', networkapi.buyersguide.fields.ExtendedYesNoField( help_text= 'Does this product have a user-friendly privacy policy?') ), ('user_friendly_privacy_policy_helptext', models.TextField(blank=True, max_length=5000)), ('worst_case', models.CharField( blank=True, help_text= "What's the worst thing that could happen by using this product?", max_length=5000)), ('phone_number', models.CharField(blank=True, help_text='Phone Number', max_length=100)), ('live_chat', models.CharField(blank=True, help_text='Live Chat', max_length=100)), ('email', models.CharField(blank=True, help_text='Email', max_length=100)), ('twitter', models.CharField(blank=True, help_text='Twitter username', max_length=100)), ('product_category', models.ManyToManyField( blank=True, related_name='pniproduct', to='buyersguide.BuyersGuideProductCategory')), ('related_products', models.ManyToManyField(blank=True, related_name='related_pniproduct', to='buyersguide.Product')), ], options={ 'ordering': ['id'], }, ), migrations.CreateModel( name='RangeProductVote', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('votes', models.IntegerField(default=0)), ('attribute', models.CharField( max_length=100, validators=[ networkapi.buyersguide.validators.ValueListValidator( valid_values=['creepiness']) ])), ('average', models.IntegerField(validators=[ django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(100) ])), ('product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='range_product_votes', to='buyersguide.Product')), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='Update', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('source', models.URLField(help_text='Link to source', max_length=2048)), ('title', models.CharField(max_length=256)), ('author', models.CharField(blank=True, max_length=256)), ('featured', models.BooleanField( default=False, help_text='feature this update at the top of the list?')), ('snippet', models.TextField(blank=True, max_length=5000)), ], ), migrations.CreateModel( name='GeneralProduct', fields=[ ('product_ptr', models.OneToOneField( auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='buyersguide.Product')), ('camera_device', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Does this device have or access a camera?')), ('camera_app', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Does the app have or access a camera?')), ('microphone_device', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Does this Device have or access a microphone?') ), ('microphone_app', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Does this app have or access a microphone?')), ('location_device', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Does this product access your location?')), ('location_app', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Does this app access your location?')), ('delete_data', models.BooleanField( help_text='Can you request data be deleted?', null=True)), ('delete_data_helptext', models.TextField(blank=True, max_length=5000)), ('parental_controls', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Are there rules for children?', null=True)), ('child_rules_helptext', models.TextField(blank=True, max_length=5000)), ('collects_biometrics', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Does this product collect biometric data?')), ('collects_biometrics_helptext', models.TextField(blank=True, max_length=5000)), ], options={ 'abstract': False, }, bases=('buyersguide.product', ), ), migrations.CreateModel( name='SoftwareProduct', fields=[ ('product_ptr', models.OneToOneField( auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='buyersguide.Product')), ('handles_recordings_how', models.TextField( blank=True, help_text='How does this software handle your recordings', max_length=5000)), ('recording_alert', networkapi.buyersguide.fields.ExtendedYesNoField( help_text='Alerts when calls are being recorded?', null=True)), ('recording_alert_helptext', models.TextField(blank=True, max_length=5000)), ('signup_with_email', models.BooleanField(help_text='Email required to sign up?', null=True)), ('signup_with_phone', models.BooleanField( help_text='Phone number required to sign up?', null=True)), ('signup_with_third_party', models.BooleanField( help_text='Third Party account required to sign up?', null=True)), ('signup_methods_helptext', models.TextField( blank=True, help_text= 'Describe the kind of contact information requirements for signing up for this product', max_length=5000)), ('medical_privacy_compliant', models.BooleanField( help_text='Compliant with US medical privacy laws?', null=True)), ('medical_privacy_compliant_helptext', models.TextField(blank=True, max_length=5000)), ('host_controls', models.TextField(blank=True, max_length=5000)), ('easy_to_learn_and_use', models.BooleanField( help_text='Is it easy to learn & use the features?', null=True)), ('easy_to_learn_and_use_helptext', models.TextField(blank=True, max_length=5000)), ], options={ 'abstract': False, }, bases=('buyersguide.product', ), ), migrations.CreateModel( name='RangeVoteBreakdown', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('count', models.IntegerField(default=0)), ('bucket', models.IntegerField(validators=[ networkapi.buyersguide.validators.ValueListValidator( valid_values=[0, 1, 2, 3, 4]) ])), ('product_vote', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='buyersguide.RangeProductVote')), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='RangeVote', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(auto_now_add=True)), ('attribute', models.CharField( max_length=100, validators=[ networkapi.buyersguide.validators.ValueListValidator( valid_values=['creepiness']) ])), ('value', models.IntegerField(validators=[ django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(100) ])), ('product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='buyersguide.Product')), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='ProductPrivacyPolicyLink', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('sort_order', models.IntegerField(blank=True, editable=False, null=True)), ('label', models.CharField( help_text='Label for this link on the product page', max_length=500)), ('url', models.URLField(blank=True, help_text='Privacy policy URL', max_length=2048)), ('product', modelcluster.fields.ParentalKey( on_delete=django.db.models.deletion.CASCADE, related_name='privacy_policy_links', to='buyersguide.Product')), ], options={ 'verbose_name': 'Buyers Guide Product Privacy Policy link', 'verbose_name_plural': 'Buyers Guide Product Privacy Policy links', }, ), migrations.AddField( model_name='product', name='updates', field=models.ManyToManyField(blank=True, related_name='pniproduct', to='buyersguide.Update'), ), migrations.CreateModel( name='BooleanVoteBreakdown', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('count', models.IntegerField(default=0)), ('bucket', models.IntegerField(validators=[ networkapi.buyersguide.validators.ValueListValidator( valid_values=[0, 1]) ])), ('product_vote', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='buyersguide.BooleanProductVote')), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='BooleanVote', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(auto_now_add=True)), ('attribute', models.CharField( max_length=100, validators=[ networkapi.buyersguide.validators.ValueListValidator( valid_values=['confidence']) ])), ('value', models.BooleanField()), ('product', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='buyersguide.Product')), ], options={ 'abstract': False, }, ), migrations.AddField( model_name='booleanproductvote', name='product', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, related_name='boolean_product_votes', to='buyersguide.Product'), ), migrations.RunPython(create_default_categories), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('team', '0001_initial'), ] operations = [ migrations.CreateModel( name='Event', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('meetup_ID', models.CharField(max_length=120)), ('title', models.CharField(max_length=120)), ('description', models.TextField()), ('banner', cloudinary.models.CloudinaryField(blank=True, max_length=255, null=True, verbose_name='banner')), ('location', models.CharField(max_length=200)), ('latitude', models.CharField(default=6.9214, max_length=200)), ('longitude', models.CharField(default=122.079, max_length=200)), ('date', models.DateField()), ('time', models.TimeField()), ('date_to', models.DateField()), ('time_to', models.TimeField()), ('registration', models.URLField(blank=True, max_length=1000, null=True)), ('status', models.CharField(default='Draft', max_length=120)), ('slug', models.SlugField(blank=True, max_length=255, null=True)), ('timestamp', models.DateTimeField(auto_now_add=True)), ('updated', models.DateTimeField(auto_now=True)), ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ('member_speaker', models.ManyToManyField(to='team.Member')), ('member_sponsor', models.ManyToManyField(related_name='sponsored_events', to='team.Member')), ('member_volunteer', models.ManyToManyField(related_name='volunteered_events', to='team.Member')), ], ), migrations.CreateModel( name='EventAttendance', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('member_id', models.CharField(max_length=100)), ('member_name', models.CharField(max_length=300)), ('member_image', models.URLField(blank=True, max_length=300, null=True)), ], ), migrations.CreateModel( name='EventStatistics', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('male', models.IntegerField(default=0)), ('female', models.IntegerField(default=0)), ('yes_rsvp', models.IntegerField(default=0)), ('no_rsvp', models.IntegerField(default=0)), ('manual_count', models.IntegerField(default=0)), ('event', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to='event.Event')), ], ), migrations.CreateModel( name='Feedback', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(blank=True, default='Anonymous', max_length=120, null=True)), ('feedback', models.TextField()), ('timestamp', models.DateTimeField(auto_now_add=True)), ('event', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='event.Event')), ], ), migrations.CreateModel( name='Info', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('banner', cloudinary.models.CloudinaryField(blank=True, max_length=255, null=True, verbose_name='banner')), ('title', models.CharField(max_length=120)), ('description', models.TextField()), ('slug', models.SlugField(blank=True, max_length=255, null=True)), ('timestamp', models.DateTimeField(auto_now_add=True)), ], ), migrations.CreateModel( name='Speaker', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200)), ('firstname', models.CharField(max_length=100)), ('lastname', models.CharField(max_length=100)), ('photo', cloudinary.models.CloudinaryField(blank=True, max_length=255, null=True, verbose_name='photo')), ('description', models.TextField(max_length=300)), ('expertise', models.TextField(blank=True, null=True)), ('email', models.EmailField(blank=True, max_length=254, null=True)), ('facebook', models.CharField(blank=True, max_length=500, null=True)), ('twitter', models.CharField(blank=True, max_length=500, null=True)), ('instagram', models.CharField(blank=True, max_length=500, null=True)), ('website', models.URLField(blank=True, max_length=500, null=True)), ('slug', models.SlugField(blank=True, max_length=255, null=True)), ('timestamp', models.DateTimeField(auto_now_add=True)), ], ), migrations.CreateModel( name='Sponsor', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=200)), ('photo', cloudinary.models.CloudinaryField(blank=True, max_length=255, null=True, verbose_name='photo')), ('description', models.CharField(max_length=300)), ('email', models.EmailField(blank=True, max_length=254, null=True)), ('facebook', models.CharField(blank=True, max_length=500, null=True)), ('twitter', models.CharField(blank=True, max_length=500, null=True)), ('instagram', models.CharField(blank=True, max_length=500, null=True)), ('website', models.URLField(blank=True, max_length=500, null=True)), ('slug', models.SlugField(blank=True, max_length=255, null=True)), ('timestamp', models.DateTimeField(auto_now_add=True)), ], ), migrations.AddField( model_name='eventattendance', name='event_statistic', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='event.EventStatistics'), ), migrations.AddField( model_name='event', name='speakers', field=models.ManyToManyField(blank=True, to='event.Speaker'), ), migrations.AddField( model_name='event', name='sponsors', field=models.ManyToManyField(blank=True, to='event.Sponsor'), ), migrations.AddField( model_name='event', name='volunteers', field=models.ManyToManyField(to='team.Volunteer'), ), ]