class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migrations.CreateModel( name='User', fields=[ ('user_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='auth.user')), ], options={ 'verbose_name': 'user', 'verbose_name_plural': 'users', 'abstract': False, }, bases=('auth.user', django.core.exceptions.PermissionDenied), managers=[ ('objects', django.contrib.auth.models.UserManager()), ], ), migrations.CreateModel( name='UserOthersInfo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('bi', models.CharField(max_length=14, validators=[accounts.models.bi_validator])), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to='accounts.user')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('company', '0017_remitamandatestatusreport'), ('accounts', '0007_thirdpartycreds_remita_dd_api_token'), ] operations = [ migrations.CreateModel( name='BankAccountType', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(blank=True, max_length=128, null=True)), ('maximum_withdrawal_amount', models.DecimalField(blank=True, decimal_places=2, max_digits=12, null=True)), ('annual_interest_rate', models.DecimalField(decimal_places=2, help_text='Interest rate from 0 - 100', max_digits=5, validators=[django.core.validators.MinValueValidator(0), django.core.validators.MaxValueValidator(100)])), ('interest_calculation_per_year', models.PositiveSmallIntegerField(help_text='The number of times interest will be calculated per year', validators=[django.core.validators.MinValueValidator(1), django.core.validators.MaxValueValidator(12)])), ], ), migrations.AlterModelManagers( name='user', managers=[ ('objects', accounts.models.UserManager()), ], ), migrations.CreateModel( name='UserBankAccount', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('account_no', models.PositiveIntegerField(unique=True)), ('gender', models.CharField(choices=[('M', 'Male'), ('F', 'Female')], max_length=1)), ('birth_date', models.DateField(blank=True, null=True)), ('balance', models.DecimalField(decimal_places=2, default=0, max_digits=12)), ('interest_start_date', models.DateField(blank=True, help_text='The month number that interest calculation will start from', null=True)), ('initial_deposit_date', models.DateField(blank=True, null=True)), ('account_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='accounts', to='accounts.BankAccountType')), ('company', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='company.Company')), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='account', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='UserAddress', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('street_address', models.CharField(max_length=512)), ('city', models.CharField(max_length=256)), ('postal_code', models.PositiveIntegerField()), ('country', models.CharField(max_length=256)), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='address', 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')), ('first_name', models.CharField(blank=True, max_length=50, null=True)), ('last_name', models.CharField(blank=True, max_length=50, null=True)), ('location', models.CharField(blank=True, max_length=50, null=True)), ('url', models.CharField(blank=True, max_length=80, null=True)), ('profile_info', models.TextField(blank=True, max_length=150, null=True)), ('created', models.DateField(auto_now_add=True)), ('picture', models.ImageField(blank=True, null=True, upload_to=accounts.models.user_directory_path, verbose_name='Picture')), ('is_eduprovider', models.BooleanField(default=False)), ('is_teacher', models.BooleanField(default=False)), ('is_parent', models.BooleanField(default=False)), ('is_student', models.BooleanField(default=False)), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='profile', 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')), ('nickname', models.CharField(blank=True, max_length=40)), ('introduction', models.TextField(blank=True)), ('image', imagekit.models.fields.ProcessedImageField( blank=True, upload_to=accounts.models.profile_image_path)), ('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')), ('DOB', models.DateField(blank=True, null=True)), ('bio', models.TextField( validators=[accounts.models.min_length_validator])), ('avatar', models.ImageField(upload_to='avatars/')), ('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='MusicUser', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('nickname', models.CharField(blank=True, max_length=50)), ('profile_image', models.ImageField( default= 'accounts/profile_images/default_image/default.jpeg', upload_to=accounts.models.MusicUser.get_file_path)), ('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')), ('avatar', models.ImageField( default='user/avatar.jpg', upload_to=accounts.models.user_directory_path)), ('bio', models.TextField(blank=True, max_length=500)), ('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')), ('profile', models.ImageField(default='profile.png', help_text='Profile Picture', upload_to=accounts.models.user_directory_path)), ('bio', models.TextField(blank=True, default='ND', max_length=500)), ('location', models.CharField(blank=True, default='ND', max_length=30)), ('organization', models.CharField(blank=True, default='ND', max_length=100)), ('linkedin', models.URLField(blank=True, default='https://www.linkedin.com/in/username/')), ('github', models.URLField(blank=True, default='https://github.com/username')), ('twitter', models.URLField(blank=True, default='https://twitter.com/username')), ('facebook', models.URLField(blank=True, default='https://facebook.com/username')), ('instagram', models.URLField(blank=True, default='https://www.instagram.com/user.name/')), ('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')), ('email_confirmed', models.BooleanField(default=False)), ('image', models.ImageField(blank=True, null=True, upload_to=accounts.models.user_directory_path)), ('phone', models.CharField(max_length=10, null=True)), ('dni', models.CharField(blank=True, max_length=9, null=True)), ('company_name', models.CharField(blank=True, max_length=254)), ('nif', models.CharField(blank=True, max_length=10)), ('billing_address', models.CharField(blank=True, max_length=254)), ('business_email', models.EmailField(blank=True, max_length=254)), ('status', models.CharField(choices=[(b'buyer', b'Comprador'), (b'seller', b'Vendedor')], default='seller', max_length=10)), ('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='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('avatar', models.ImageField(blank=True, null=True, upload_to=accounts.models.upload_location)), ('facebook', models.URLField(blank=True)), ('twitter', models.URLField(blank=True)), ('email', models.EmailField(max_length=254)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.CreateModel( name='Profile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('picture', models.ImageField(default='blank/no_img.png', upload_to=accounts.models.user_id)), ('date_of_birth', models.DateField(blank=True, null=True)), ('bio', models.TextField(blank=True, max_length=500, null=True)), ('website', models.CharField(blank=True, max_length=255, null=True)), ('location', models.CharField(blank=True, max_length=100, null=True)), ('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='UserProfileInfo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('name', models.CharField(max_length=50)), ('yearofpassing', models.IntegerField(choices=[(2019, 2019), (2020, 2020), (2021, 2021), (2022, 2022), (2023, 2023), (2024, 2024), (2025, 2025), (2026, 2026), (2027, 2027), (2028, 2028)], default=accounts.models.current_year, verbose_name='year')), ('resume', models.ImageField(upload_to='resumes')), ('cgpa', models.FloatField()), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('accounts', '0015_auto_20200327_0105'), ] operations = [ migrations.CreateModel( name='OfficerImg', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('img', models.ImageField(storage=data.storage.OverwriteStorage(), upload_to=accounts.models.path_and_rename, verbose_name=b'Image')), ], ), migrations.RemoveField( model_name='user', name='img', ), migrations.AddField( model_name='officerimg', name='officer', field=models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, related_name='img', to=settings.AUTH_USER_MODEL), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('avatar', models.ImageField(blank=True, default='default-user-image.png', height_field='height_field', null=True, upload_to=accounts.models.upload_location, width_field='width_field')), ('height_field', models.IntegerField(default=50)), ('width_field', models.IntegerField(default=50)), ('user', models.OneToOneField( blank=True, null=True, 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='ResetToken', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('token', models.CharField(max_length=50)), ('expiration_date', models.DateField( default=accounts.models.get_expiration_date)), ('email', models.EmailField(max_length=254)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, related_name='token', 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')), ('picture', models.ImageField(blank=True, null=True, upload_to=accounts.models.get_picture_filename, verbose_name='Upload a picture')), ('location', models.CharField(blank=True, max_length=30, verbose_name='Location')), ('phone_number', models.CharField(blank=True, max_length=16, validators=[django.core.validators.RegexValidator(message='Invalid phone number. Please provide valid phone number.', regex='^((\\+92)|(0092))-{0,1}\\d{3}-{0,1}\\d{7}$|^\\d{11}$|^\\d{4}-\\d{7}$')], verbose_name='Phone Number')), ('phone_number_verified', models.BooleanField(default=False)), ('email_confirmed', models.BooleanField(default=False)), ('member_since', models.DateTimeField(default=django.utils.timezone.now)), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, related_name='profile', to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'Profile', 'verbose_name_plural': 'Profiles', 'ordering': ('-member_since',), }, ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('phone_number', models.CharField(blank=True, max_length=11, null=True)), ('picture', models.FileField(blank=True, null=True, upload_to=accounts.models.upload_to)), ('sex', models.CharField(choices=[(1, '男'), (2, '女')], default=1, max_length=2)), ('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')), ('profile_picture', models.ImageField(default='img/profile_pictures/default.png', upload_to=accounts.models.upload_location)), ('joined_at', models.DateField(auto_now_add=True)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('accounts', '0001_initial'), ] operations = [ migrations.CreateModel( name='Subscription', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('expires', models.DateTimeField( default=accounts.models.get_expiration_date)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), migrations.RemoveField( model_name='profile', name='pro_subscriber', ), ]
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')), ('created_at', models.DateTimeField(auto_now_add=True)), ('first', models.CharField(blank=True, max_length=30)), ('last_name', models.CharField(blank=True, max_length=50)), ('birth', models.DateField(blank=True)), ('bio', models.TextField(default='', max_length=300)), ('location', models.CharField(blank=True, max_length=30)), ('ava', models.ImageField(blank=True, null=True, upload_to=accounts.models.get_ava_image)), ('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='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('given_name', models.CharField(max_length=255)), ('family_name', models.CharField(max_length=255)), ('date_of_birth', models.DateField()), ('bio', models.TextField()), ('avatar', models.ImageField(blank=True, null=True, upload_to=accounts.models.user_avatar_path)), ('city', models.CharField(blank=True, default='', max_length=255)), ('state', models.CharField(blank=True, default='', max_length=255)), ('country', models.CharField(blank=True, default='', max_length=255)), ('favourite_animal', models.CharField(blank=True, default='', max_length=255)), ('hobby', models.CharField(blank=True, default='', max_length=255)), ('favourite_fountain_pen', models.CharField(blank=True, default='', max_length=255)), ('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='User_profile', fields=[ ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)), ('profile_image', models.ImageField(blank=True, null=True, upload_to=accounts.models.get_image_path)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [] 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')), ('name', models.CharField(max_length=100, verbose_name='Full Name')), ('email', models.EmailField(max_length=100, unique=True, verbose_name='Email Address')), ('phone', models.CharField(max_length=50, unique=True, verbose_name='Phone Number')), ('is_superuser', models.BooleanField(default=False)), ('is_admin', models.BooleanField(default=False)), ('is_manager', models.BooleanField(default=False)), ('is_staff', models.BooleanField(default=False)), ('is_active', models.BooleanField(default=False)), ('created_by', models.CharField(blank=True, max_length=100, null=True)), ], options={ 'abstract': False, }, ), migrations.CreateModel( name='Profile', fields=[ ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)), ('profile_pic', models.ImageField( default='profile_pics/user.svg', upload_to=accounts.models.profile_pic_filename, verbose_name='Profile Picture')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.CreateModel( name='UserProfile', fields=[ ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)), ('profile_pic', models.ImageField( default='profile_pics/user.png', upload_to=accounts.models.profile_pic_filename, verbose_name='Profile Picture')), ('website', models.URLField(blank=True)), ], options={ 'verbose_name': 'Profile', }, ), ]
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')), ('location', models.CharField(blank=True, max_length=30, null=True)), ('mobile_number', models.CharField(blank=True, max_length=13, null=True)), ('profile_pic', models.ImageField(blank=True, null=True, upload_to=accounts.models.upload_location)), ('created_at', models.DateTimeField(auto_now_add=True)), ('updated_at', models.DateTimeField(auto_now=True)), ('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), ('auth', '0008_alter_user_username_max_length'), ] operations = [ migrations.CreateModel( name='Profile', fields=[ ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='profile', serialize=False, to=settings.AUTH_USER_MODEL, to_field='username')), ('name', models.CharField(blank=True, max_length=50)), ('phone', models.CharField(blank=True, max_length=11)), ('address', models.CharField(blank=True, max_length=100)), ('status_msg', models.CharField(blank=True, max_length=100)), ('updated', models.DateTimeField(auto_now=True)), ('following', models.ManyToManyField(blank=True, related_name='followed_by', to=settings.AUTH_USER_MODEL)), ], ), migrations.CreateModel( name='ProfileImage', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('image', models.ImageField(upload_to=accounts.models.scramble_uploaded_image)), ('created', models.DateTimeField(auto_now_add=True)), ('updated', models.DateTimeField(auto_now=True)), ('profile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='profile_images', to='accounts.Profile')), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('profile_photo', models.ImageField( blank=True, null=True, upload_to=accounts.models.profile_photo_upload_path, validators=[help.file_upload_help.file_size_limit], verbose_name='Profile photo')), ('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='UserProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('profile_image', models.ImageField( blank=True, null=True, upload_to=accounts.models.upload_profile_image)), ('active', models.BooleanField(default=True)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, related_name='profile', to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] operations = [ migrations.CreateModel( name='UserProfileInfo', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('about_you', models.TextField(blank=True)), ('url', models.URLField(blank=True)), ('profile_pic', models.ImageField( blank=True, default='profile_pic/default/no_picture.png', null=True, upload_to=accounts.models.UserProfileInfo.picture_path)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0009_alter_user_last_name_max_length'), ] operations = [ migrations.CreateModel( name='Profile', fields=[ ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)), ('avatar', models.ImageField( upload_to=accounts.models.user_directory_path)), ('birthday', models.CharField(blank=True, max_length=250)), ('city', models.CharField(blank=True, max_length=250)), ], ), ]