Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get models and migrations into line #480

Merged
merged 2 commits into from
Oct 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ install:
- pip install -r requirements.dev.txt
- pip install coveralls
script:
- python manage.py makemigrations --check
- coverage run manage.py test
- flake8 .
after_success:
Expand Down
34 changes: 34 additions & 0 deletions aldryn_quote/migrations/0002_auto_20201028_0940.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Generated by Django 2.2.16 on 2020-10-28 09:40

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('aldryn_quote', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='quote',
name='cmsplugin_ptr',
field=models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='aldryn_quote_quote', serialize=False, to='cms.CMSPlugin'),
),
migrations.AlterField(
model_name='quote',
name='content',
field=models.TextField(default='', verbose_name='Quote'),
),
migrations.AlterField(
model_name='quote',
name='style',
field=models.CharField(choices=[('standard', 'Standard'), ('carousel', 'Carousel')], default='standard', max_length=50, verbose_name='Style'),
),
migrations.AlterField(
model_name='quote',
name='target',
field=models.CharField(blank=True, choices=[('_blank', 'New window')], default='_blank', max_length=50, verbose_name='Target'),
),
]
19 changes: 19 additions & 0 deletions aldryn_video/migrations/0002_auto_20201028_1115.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 2.2.16 on 2020-10-28 11:15

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('aldryn_video', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='oembedvideoplugin',
name='cmsplugin_ptr',
field=models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='aldryn_video_oembedvideoplugin', serialize=False, to='cms.CMSPlugin'),
),
]
18 changes: 18 additions & 0 deletions article_list_item/migrations/0009_auto_20201028_1116.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 2.2.16 on 2020-10-28 11:16

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('article_list_item', '0008_auto_20200824_1033'),
]

operations = [
migrations.AlterField(
model_name='articlelistitemplugin',
name='image',
field=models.ImageField(blank=True, upload_to='articles/thumbs'),
),
]
104 changes: 104 additions & 0 deletions foundation/organisation/migrations/0016_auto_20201028_1118.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
# Generated by Django 2.2.16 on 2020-10-28 11:18

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

dependencies = [
('organisation', '0015_remove_networkgroup_position'),
]

operations = [
migrations.AlterField(
model_name='boardmembership',
name='order',
field=models.IntegerField(blank=True, help_text='Higher numbers mean higher up in the list', null=True),
),
migrations.AlterField(
model_name='networkgroup',
name='group_type',
field=models.IntegerField(choices=[(0, 'Local group'), (1, 'Chapter'), (2, 'Established group'), (3, 'Incubating group'), (4, 'Hibernated group'), (5, 'Affiliate')], default=0),
),
migrations.AlterField(
model_name='networkgrouplist',
name='group_type',
field=models.IntegerField(choices=[(0, 'Local group'), (1, 'Chapter'), (2, 'Established group'), (3, 'Incubating group'), (4, 'Hibernated group'), (5, 'Affiliate')], default=0),
),
migrations.AlterField(
model_name='networkgroupmembership',
name='order',
field=models.IntegerField(blank=True, help_text='The lower the number the higher on the page this Person will be shown.', null=True),
),
migrations.AlterField(
model_name='nowdoing',
name='doing_type',
field=models.CharField(choices=[('reading', 'reading'), ('listening', 'listening'), ('working', 'working'), ('location', 'location'), ('watching', 'watching'), ('eating', 'eating')], max_length=10),
),
migrations.AlterField(
model_name='person',
name='photo',
field=models.ImageField(blank=True, upload_to='organisation/people/photos'),
),
migrations.AlterField(
model_name='project',
name='old_project',
field=models.BooleanField(default=False, help_text='Is this an old/archived project?'),
),
migrations.AlterField(
model_name='project',
name='picture',
field=models.ImageField(blank=True, help_text='A simple logo or picture to represent this project', upload_to='projects/pictures'),
),
migrations.AlterField(
model_name='project',
name='teaser',
field=models.CharField(help_text='A single line description for list views', max_length=400),
),
migrations.AlterField(
model_name='projectlist',
name='project_type',
field=models.ForeignKey(blank=True, help_text='Limit to projects with this type', null=True, on_delete=django.db.models.deletion.CASCADE, to='organisation.ProjectType'),
),
migrations.AlterField(
model_name='projectlist',
name='theme',
field=models.ForeignKey(blank=True, help_text='Limit to projects with this theme', null=True, on_delete=django.db.models.deletion.CASCADE, to='organisation.Theme'),
),
migrations.AlterField(
model_name='signupform',
name='title',
field=models.CharField(default='Get Connected to Open Knowledge', max_length=50),
),
migrations.AlterField(
model_name='theme',
name='blurb',
field=models.TextField(help_text='Blurb for theme page'),
),
migrations.AlterField(
model_name='theme',
name='picture',
field=models.ImageField(blank=True, help_text='A simple logo or picture to represent this theme', upload_to='themes/pictures'),
),
migrations.AlterField(
model_name='unit',
name='order',
field=models.IntegerField(blank=True, help_text='Higher numbers mean higher up in the list', null=True),
),
migrations.AlterField(
model_name='unitmembership',
name='order',
field=models.IntegerField(blank=True, help_text='Higher numbers mean higher up in the list', null=True),
),
migrations.AlterField(
model_name='workinggroup',
name='incubation',
field=models.BooleanField(default=True, help_text='Is this group in incubation?'),
),
migrations.AlterField(
model_name='workinggroup',
name='logo',
field=models.ImageField(blank=True, upload_to='organisation/working-groups/logos'),
),
]