class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name='Site', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('title', models.CharField(default='illic', max_length=140)), ('social_description', models.CharField(default='Social description', max_length=140)), ('who', ckeditor.fields.RichTextField( verbose_name='¿Quiénes somos?')), ('when', ckeditor.fields.RichTextField( verbose_name='¿Cuándo acudir a Terapia')), ('phone', models.CharField(max_length=140)), ('email', models.EmailField(max_length=254)), ('message', models.CharField(max_length=140)), ('footer_message', models.CharField(max_length=140)), ], options={ 'verbose_name': 'Textos del sitio', 'verbose_name_plural': 'Textos del sitio', }, ), migrations.CreateModel( name='Therapy', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('order', models.PositiveIntegerField(db_index=True, default=0, editable=False)), ('title', models.CharField(default='Terapia', max_length=140)), ('slug', models.CharField(editable=False, max_length=200)), ('image', models.FileField(upload_to=cms.models.upload_to_therapy)), ], options={ 'verbose_name': 'Terapia', 'verbose_name_plural': 'Terapias', 'ordering': ['order'], }, ), ]
class Migration(migrations.Migration): dependencies = [ ('cms', '0007_site_when_image'), ] operations = [ migrations.AddField( model_name='therapy', name='large_image', field=models.FileField(default=1, upload_to=cms.models.upload_to), preserve_default=False, ), ]
class Migration(migrations.Migration): dependencies = [ ('cms', '0014_auto_20180921_1112'), ] operations = [ migrations.AlterField( model_name='video', name='source', field=models.FileField(blank=True, upload_to='cms/%Y_%m', validators=[cms.models.validate_video_type ]), ), ]
class Migration(migrations.Migration): dependencies = [ ('cms', '0011_auto_20160720_1251'), ] operations = [ migrations.CreateModel( name='Video', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('content_type', models.CharField(max_length=190)), ('object_id', models.PositiveIntegerField()), ('label', models.CharField(max_length=100)), ('source', models.FileField(upload_to='cms/%Y_%m', validators=[cms.models.validate_video_type ])), ('poster', models.ImageField(blank=True, upload_to='cms/%Y_%m')), ('description', models.CharField(blank=True, max_length=255)), ('loop', models.BooleanField(default=False)), ], options={ 'abstract': False, }, ), migrations.AlterField( model_name='block', name='language', field=models.CharField(choices=[ ('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese') ], default='en-us', max_length=10), ), migrations.AlterField( model_name='image', name='file', field=models.ImageField(blank=True, upload_to='cms/%Y_%m'), ), migrations.AlterUniqueTogether( name='video', unique_together={('content_type', 'object_id', 'label')}, ), ]
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')), ('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')), ('first_name', models.CharField(blank=True, max_length=150, verbose_name='first name')), ('last_name', models.CharField(blank=True, max_length=150, verbose_name='last name')), ('email', models.EmailField(max_length=254, unique=True, verbose_name='email address')), ('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')), ('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, 'swappable': 'AUTH_USER_MODEL', }, managers=[ ('objects', cms.models.UserManager()), ], ), migrations.CreateModel( name='QuestionAndAnswer', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('question_name', models.CharField(max_length=50, null=True)), ('question_file', models.FileField(upload_to='audio/', verbose_name='問題用音声')), ('answer', models.TextField(max_length=1000)), ], ), ]