class Migration(migrations.Migration): dependencies = [ ('Projects', '0026_auto_20160209_0334'), ] operations = [ migrations.AddField( model_name='addon', name='addon_video', field=models.FileField( blank=True, upload_to=Projects.models.get_upload_video_name), ), migrations.AddField( model_name='addon', name='post_video_block', field=models.TextField(blank=True), ), migrations.AddField( model_name='addon', name='pre_video_block', field=models.TextField(blank=True), ), migrations.AddField( model_name='addon', name='video_visibility', field=models.BooleanField(default=False), ), migrations.AlterField( model_name='project', name='header', field=models.FileField( blank=True, upload_to=Projects.models.get_upload_file_name), ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ('Accounts', '0001_initial'), ] operations = [ migrations.CreateModel( name='MyProject', fields=[ ('uuid', models.UUIDField(default=uuid.uuid4, primary_key=True, serialize=False)), ('title', models.CharField(blank=True, max_length=100, null=True)), ('start_date', models.DateField(blank=True, null=True)), ('end_date', models.DateField(blank=True, null=True)), ('file', models.FileField(upload_to=Projects.models.path_and_rename)), ('link', models.URLField(blank=True, max_length=500, null=True)), ('author', models.TextField(null=True)), ('faculty', models.CharField(max_length=200)), ('course_code', models.CharField(max_length=10)), ('course_name', models.CharField(max_length=100)), ('duration', models.CharField(max_length=200)), ('description', models.TextField()), ('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='student_project', to='Accounts.Student')), ], ), ]
class Migration(migrations.Migration): dependencies = [ ('Projects', '0006_auto_20160207_1711'), ] operations = [ migrations.CreateModel( name='Addon', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(max_length=500)), ('project_hook', models.IntegerField()), ('sort_index', models.IntegerField(blank=True, default=1)), ('image_visibility', models.BooleanField()), ('image', models.FileField( blank=True, upload_to=Projects.models.get_upload_file_name)), ('discription', models.TextField(blank=True)), ('code_visibility', models.BooleanField()), ('type_of_code', models.CharField(choices=[('javascript', 'javascript'), ('markup', 'markup'), ('css', 'css'), ('php', 'php'), ('python', 'python')], default='markup', max_length=20)), ('pre_block', models.TextField(blank=True)), ('code_block', models.TextField(blank=True)), ('post_block', models.TextField(blank=True)), ], ), migrations.AlterField( model_name='project', name='header', field=models.FileField( blank=True, upload_to=Projects.models.get_upload_file_name), ), ]
class Migration(migrations.Migration): dependencies = [ ('Projects', '0005_auto_20160117_1937'), ] operations = [ migrations.AlterField( model_name='project', name='header', field=models.FileField( blank=True, upload_to=Projects.models.get_upload_file_name), ), migrations.AlterField( model_name='project', name='tumbnail', field=models.FileField( blank=True, upload_to=Projects.models.get_upload_thumbnail_name), ), ]
class Migration(migrations.Migration): dependencies = [ ('Projects', '0011_auto_20160208_0610'), ] operations = [ migrations.AlterField( model_name='project', name='header', field=models.FileField(blank=True, upload_to=Projects.models.get_upload_file_name), ), ]
class Migration(migrations.Migration): dependencies = [ ('Projects', '0001_initial'), ] operations = [ migrations.AlterField( model_name='myproject', name='file', field=models.FileField(null=True, upload_to=Projects.models.path_and_rename), ), ]
class Migration(migrations.Migration): dependencies = [ ('Projects', '0002_auto_20210522_1944'), ] operations = [ migrations.AlterField( model_name='myproject', name='author', field=models.TextField(blank=True, null=True), ), migrations.AlterField( model_name='myproject', name='file', field=models.FileField(blank=True, null=True, upload_to=Projects.models.path_and_rename), ), ]