class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Author', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=40)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ], ), migrations.CreateModel( name='Book', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=40)), ('rating', models.PositiveSmallIntegerField()), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('author', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='main.Author')), ], ), migrations.CreateModel( name='Email', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('email', models.CharField(max_length=45)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ], ), migrations.CreateModel( name='Review', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('review', models.TextField()), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('book', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='main.Book')), ], ), migrations.CreateModel( name='User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=40)), ('alias', models.CharField(max_length=40)), ('email', models.EmailField(max_length=40)), ('pw_hash', models.CharField(max_length=60)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ], ), migrations.AddField( model_name='review', name='user', field=models.ForeignKey( on_delete=django.db.models.deletion.CASCADE, to='main.User'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Author', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ], ), migrations.CreateModel( name='Category', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('tag', models.CharField(max_length=100, unique=True)), ], ), migrations.CreateModel( name='Chat', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(auto_now_add=True)), ], ), migrations.CreateModel( name='Comment', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('com_text', models.TextField(help_text='comment', verbose_name='Text')), ('com_time', models.DateTimeField(default=django.utils.timezone.now)), ('com_rating', models.IntegerField(default=0)), ], ), migrations.CreateModel( name='Message', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(auto_now_add=True)), ('text', models.TextField(max_length=500)), ], ), migrations.CreateModel( name='Photo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.FileField(blank=True, null=True, upload_to='files')), ], ), migrations.CreateModel( name='Post', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('headline', models.CharField(max_length=255, verbose_name='Заголовок')), ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='Дата создания')), ('text', models.TextField()), ('rating_of_post', models.IntegerField(default=0)), ], options={ 'verbose_name_plural': 'Объявления', }, ), migrations.CreateModel( name='PostPhoto', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('headline', models.CharField(default=None, max_length=255, verbose_name='Заголовок')), ('image', models.ImageField(blank=True, default=None, null=True, upload_to='files')), ('text', models.TextField(default=None)), ('author', models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to='posts.author', verbose_name='Автор')), ('categories', models.ManyToManyField(default=None, to='posts.Category', verbose_name='категории')), ], options={ 'verbose_name_plural': 'фото', }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Egreso', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('cantidad', models.IntegerField()), ('info', models.CharField(blank=True, max_length=225, null=True)), ('grupo', models.IntegerField()), ('dia', models.IntegerField()), ('mes', models.IntegerField()), ('ano', models.IntegerField()), ('hora', models.IntegerField()), ('minuto', models.IntegerField()), ], ), migrations.CreateModel( name='Etiqueta', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nombre', models.CharField(max_length=200)), ], ), migrations.CreateModel( name='Ingreso', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('cantidad', models.IntegerField()), ('info', models.CharField(blank=True, max_length=225, null=True)), ('dia', models.IntegerField()), ('mes', models.IntegerField()), ('ano', models.IntegerField()), ], ), migrations.CreateModel( name='Prestamo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('cantidad', models.IntegerField()), ('info', models.CharField(blank=True, max_length=225, null=True)), ('dia', models.IntegerField()), ('mes', models.IntegerField()), ('ano', models.IntegerField()), ], ), migrations.CreateModel( name='Prestatario', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nombre', models.CharField(max_length=50)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Saldo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nombre', models.CharField(max_length=30)), ('saldo', models.IntegerField()), ], ), migrations.CreateModel( name='Semestre', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nombre', models.CharField(max_length=30)), ('ano', models.IntegerField()), ('dia_inicio', models.IntegerField()), ('mes_inicio', models.IntegerField()), ('dia_fin', models.IntegerField()), ('mes_fin', models.IntegerField()), ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.AddField( model_name='saldo', name='semestre', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contabilidad.Semestre'), ), migrations.AddField( model_name='prestamo', name='prestatario', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contabilidad.Prestatario'), ), migrations.AddField( model_name='ingreso', name='saldo', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contabilidad.Saldo'), ), migrations.AddField( model_name='egreso', name='etiqueta', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contabilidad.Etiqueta'), ), migrations.AddField( model_name='egreso', name='saldo', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contabilidad.Saldo'), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Review', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=300)), ('description', models.CharField(max_length=2000)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('rating', models.IntegerField()), ('customer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='customer_review', to=settings.AUTH_USER_MODEL)), ('worker', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='worker_review', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Profile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('is_cooker', models.BooleanField(default=False)), ('bio', models.TextField(blank=True, max_length=500)), ('location', models.CharField(blank=True, max_length=50)), ('birth_date', models.DateField(blank=True, null=True)), ('instagram', models.CharField(blank=True, max_length=100)), ('whatsapp', models.CharField(blank=True, max_length=100)), ('telegram', models.CharField(blank=True, max_length=100)), ('rating', models.IntegerField(default=0)), ('file', models.FileField(blank=True, null=True, upload_to='')), ('user', models.OneToOneField(blank=True, on_delete=django.db.models.deletion.CASCADE, related_name='profile', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Order', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=300)), ('description', models.CharField(max_length=2000)), ('deadline', models.IntegerField()), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('is_active', models.BooleanField(default=True)), ('weight', models.FloatField()), ('price', models.IntegerField()), ('customer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='customer_orders', to=settings.AUTH_USER_MODEL)), ('worker', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='worker_orders', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='Avatar', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('file', models.FileField(blank=True, null=True, upload_to='')), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='avatar', to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='Landlord', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('address', models.CharField(max_length=255)), ('social_security_number', models.CharField(max_length=255)), ('email_address', models.EmailField(max_length=254)), ('user', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='rentalProperty', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('type_of_property_listing', models.CharField(choices=[('APARTMENT', 'Apartment'), ('HOLIDAY_HOME', 'Holiday home'), ('SINGLE_FAMILY_HOME', 'Single family home'), ('COMMERCIAL', 'Commercial')], default='APARTMENT', max_length=50)), ('type_of_building_choices', models.CharField(choices=[ ('CONDOMINIUM', 'Condominium'), ('ROW_HOUSE', 'Row house'), ('SINGLE_FAMILY_HOUSE', 'Single family house'), ('HOLIDAY_HOME', 'Holiday_home'), ('DUPLEX', 'Duplex'), ('SINGLE_FAMILY_HOME_COOP', 'Single family home(CO-OP)'), ('CONDOMINIUM_EXTERNAL_ENTRANCE', 'Condominium external entrance'), ('WOODEN_COMDOMINIUM_HOUSE', 'Wooden condominium house') ], default='CONDOMINIUM', max_length=50)), ('created_by', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='rentalProperties', to=settings.AUTH_USER_MODEL)), ('landlord', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='rental_app.Landlord')), ], ), migrations.CreateModel( name='rentalImages', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('apartment_pictures', models.ImageField(upload_to='')), ('rentalProperty', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='images', to='rental_app.rentalProperty')), ], ), migrations.CreateModel( name='Location', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('street', models.CharField(max_length=255)), ('borough', models.CharField(max_length=255)), ('postal_code', models.CharField(max_length=20)), ('city', models.CharField(max_length=50)), ('province', models.CharField(max_length=50)), ('country', models.CharField(max_length=50)), ('rental_property', models.OneToOneField( on_delete=django.db.models.deletion.PROTECT, related_name='location', to='rental_app.rentalProperty')), ], ), migrations.CreateModel( name='Contract', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('type_of_rental_terms', models.CharField(choices=[('PERMANENT', 'permanent'), ('FiXED', 'fixed')], default='PERMANENT', max_length=20)), ('rent_availability', models.DateField()), ('rent_availability_info', models.TextField()), ('rent_per_month', models.IntegerField()), ('deposit_for_rent', models.IntegerField()), ('deposit_for_rent_info', models.TextField()), ('rental_increment', models.IntegerField()), ('index_value', models.IntegerField()), ('index_date', models.DateField()), ('rent_electricity', models.CharField(choices=[ ('UNDEFINED', 'undefined'), ('INCLUDED_IN_THE_RENT', 'included in the rent'), ('RESPONSIBILITY_OF_TENANT', 'responsibility of tenant'), ('FIXED_FEE', 'fixed fee'), ('OTHER', 'other') ], default='UNDEFINED', max_length=50)), ('electricity_fixed_fee', models.IntegerField()), ('water_fee', models.CharField(choices=[ ('UNDEFINED', 'undefined'), ('INCLUDED_IN_THE_RENT', 'included in the rent'), ('RESPONSIBILITY_OF_TENANT', 'responsibility of tenant'), ('FIXED_FEE_PER_PERSON', 'fixed fee per person'), ('OTHER', 'other') ], default='UNDEFINED', max_length=50)), ('water_fee_per_person', models.IntegerField()), ('heating_fee', models.CharField(choices=[ ('UNDEFINED', 'undefined'), ('INCLUDED_IN_THE_RENT', 'included in the rent'), ('RESPONSIBILITY_OF_TENANT', 'responsibility of tenant'), ('FIXED_FEE', 'fixed fee'), ('OTHER', 'other') ], default='UNDEFINED', max_length=50)), ('heating_fixed_fee', models.IntegerField()), ('Other_cost', models.TextField()), ('pets_allowed', models.BooleanField(default=True)), ('smoking_allowed', models.BooleanField(default=True)), ('insurance_required', models.BooleanField(default=True)), ('other_terms', models.TextField()), ('rental_property', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='contracts', to='rental_app.rentalProperty')), ('user', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='contracts', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='ApartmentBasicInfo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.TextField()), ('living_area', models.IntegerField()), ('number_of_rooms', models.IntegerField()), ('floors', models.IntegerField()), ('furnished', models.BooleanField(default=True)), ('type_of_kitchen_choices', models.CharField(choices=[('UNKNOWN', 'Unknown'), ('NO_KITCHEN', 'No kitchen'), ('KITCHEN', 'Kitchen'), ('MINI_KITCHEN', 'Mini kitchen'), ('OPEN_KITCHEN', 'Open kitchen')], default='UNKNOWN', max_length=50)), ('sauna', models.BooleanField(default=True)), ('balcony', models.BooleanField(default=True)), ('apartment_layout_type', models.IntegerField()), ('apartment_condition', models.CharField(choices=[('EXCELLENT', 'excellent'), ('GOOD', 'good'), ('FAIR', 'fair'), ('POOR', 'poor'), ('VERY_BAD', 'very bad')], default='EXCELLENT', max_length=50)), ('apartment_conditions_freetext', models.TextField()), ('rental_property', models.OneToOneField( on_delete=django.db.models.deletion.PROTECT, related_name='basic_info', to='rental_app.rentalProperty')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0011_update_proxy_permissions'), ] operations = [ migrations.CreateModel( name='CustomUser', 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')), ('email', models.EmailField(max_length=255, unique=True, verbose_name='email address')), ('phone', models.CharField(error_messages={'error': 'Wacha games'}, max_length=10, unique=True, verbose_name='Safaricom MPESA Number')), ('id_kenya', models.CharField(max_length=8, unique=True, verbose_name='Kenya ID Number')), ('kra_pin', models.CharField(max_length=20, unique=True, verbose_name='KRA PIN')), ('first_name', models.CharField(max_length=15)), ('middle_name', models.CharField(blank=True, max_length=15)), ('last_name', models.CharField(max_length=15)), ('dob', models.DateField(verbose_name='Date-Of-Birth YYYY/dd/mm')), ('nok_name', models.CharField(max_length=20, verbose_name='Next of Kin Full Name')), ('nok_phone', models.CharField( max_length=10, verbose_name='Next of Kin Safaricom MPESA Mobile Number') ), ('comments', models.TextField(blank=True, max_length=100)), ('gender', models.CharField(choices=[('MALE', 'Male'), ('FEMALE', 'Female')], default='MALE', max_length=6, verbose_name='Gender')), ('is_staff', models.BooleanField(default=False)), ('is_active', models.BooleanField(default=True)), ('date_joined', models.DateTimeField(default=django.utils.timezone.now)), ('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={ 'abstract': False, }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ] 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')), ('email', models.EmailField(max_length=255, unique=True, verbose_name='email address')), ('first_name', models.CharField(max_length=50, verbose_name='first name')), ('last_name', models.CharField(max_length=50, verbose_name='last name')), ('is_staff', models.BooleanField( default=False, help_text= 'Designates whether the user can log into the 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 users.', verbose_name='active')), ('date_joined', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date joined')), ('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={ 'ordering': ['email'], 'swappable': 'AUTH_USER_MODEL', }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('clss', '0001_initial'), ] operations = [ migrations.CreateModel( name='Student', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('avatar', models.ImageField(upload_to='uploads/')), ('firstname', models.CharField(default='Firstname', max_length=20)), ('lastname', models.CharField(default='Last Name', max_length=50)), ('other_names', models.CharField(blank=True, max_length=50, null=True)), ('age', models.IntegerField()), ('date_of_birth', models.DateField()), ('nationality', models.CharField(max_length=30)), ('religion', models.CharField(max_length=30)), ('previous_school', models.CharField(blank=True, max_length=255, null=True, verbose_name='Previous School (if any)')), ('has_siblings', models.BooleanField(default=False)), ('number_of_siblings', models.IntegerField()), ('gender', models.CharField(choices=[('m', 'male'), ('f', 'female'), ('o', 'other')], default='o', max_length=2)), ('guardian', models.CharField(default='Guardian Name', max_length=255, verbose_name='Name of Guardian')), ('g_occupation', models.CharField(blank=True, max_length=255, null=True, verbose_name='Guardian Occupation')), ('g_residential_address', models.CharField(blank=True, max_length=255, null=True, verbose_name='Guardian Residential Address')), ('g_home_tel', models.CharField(blank=True, max_length=255, null=True, verbose_name='Guardian Home Phone')), ('g_office_tel', models.CharField(blank=True, max_length=255, null=True, verbose_name='Guardian Office Phone')), ('g_postal_address', models.CharField(blank=True, max_length=255, null=True, verbose_name='Guardian Postal Address')), ('lives_with_both_parents', models.BooleanField(default=False, verbose_name='Child lives with both parents')), ('lives_with_mother', models.BooleanField(default=False, verbose_name='Child lives with Mother')), ('lives_with_father', models.BooleanField(default=False, verbose_name='Child lives with Father')), ('assigned_teacher', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ('clss', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='clss.clss')), ], ), migrations.CreateModel( name='HealthReport', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('weight_at_birth', models.IntegerField()), ('present_weight', models.IntegerField()), ('doctor', models.CharField(default='eg. Jojo Thompson, 0540609437', max_length=255, verbose_name='Doctor name and Number')), ('has_asthma', models.BooleanField(default=False, verbose_name='Has Asthma?')), ('has_chicken_pox', models.BooleanField(default=False, verbose_name='Has Chicken Pox?')), ('has_convulsion', models.BooleanField(default=False, verbose_name='Has Convulsion?')), ('has_whooping_cough', models.BooleanField(default=False, verbose_name='Has Whooping cough?')), ('has_mumps', models.BooleanField(default=False, verbose_name='Has Mumps?')), ('has_typhoid', models.BooleanField(default=False, verbose_name='Has Typhoid?')), ('has_tb', models.BooleanField(default=False, verbose_name='Has Tuberculosis?')), ('has_measles', models.BooleanField(default=False, verbose_name='Has Measles?')), ('has_sickle_cell', models.BooleanField(default=False, verbose_name='Has Sickle Cell?')), ('allergies', models.TextField()), ('date_of_application', models.DateField()), ('student', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='student.student')), ], ), ]