Skip to content

Commit

Permalink
fix(migrations): missing meta for pages and sections
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Nov 12, 2023
1 parent f6e1e22 commit 5dcc4de
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Generated by Django 4.2.7 on 2023-11-12 15:09

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('pages', '0004_alter_page_parent_alter_page_slug_and_more'),
]

operations = [
migrations.AlterModelOptions(
name='page',
options={'ordering': ('section', 'order', 'title'), 'verbose_name': 'Page', 'verbose_name_plural': 'Pages'},
),
migrations.AlterField(
model_name='page',
name='default',
field=models.BooleanField(default=None, help_text="If set, this page will be displayed on section's base URL; only one page can be default for section.", null=True, verbose_name='default page'),
),
migrations.AlterField(
model_name='page',
name='slug_path',
field=models.CharField(default='', editable=False, max_length=128, verbose_name='url path in page tree'),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Generated by Django 4.2.7 on 2023-11-12 15:09

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('sections', '0018_sectionsconfiguration_required_university'),
]

operations = [
migrations.AlterField(
model_name='sectionsconfiguration',
name='required_faculty',
field=models.BooleanField(blank=True, default=None, help_text='Flag if field is needed to fill in user profile: Yes=field is required, No=field is optional, Unknown=field is not available', null=True, verbose_name='required faculty'),
),
migrations.AlterField(
model_name='sectionsconfiguration',
name='required_gender',
field=models.BooleanField(blank=True, default=None, help_text='Flag if field is needed to fill in user profile: Yes=field is required, No=field is optional, Unknown=field is not available', null=True, verbose_name='required gender'),
),
migrations.AlterField(
model_name='sectionsconfiguration',
name='required_interests',
field=models.BooleanField(blank=True, default=None, help_text='Flag if field is needed to fill in user profile: Yes=field is required, No=field is optional, Unknown=field is not available', null=True, verbose_name='required interests'),
),
migrations.AlterField(
model_name='sectionsconfiguration',
name='required_nationality',
field=models.BooleanField(blank=True, default=None, help_text='Flag if field is needed to fill in user profile: Yes=field is required, No=field is optional, Unknown=field is not available', null=True, verbose_name='required nationality'),
),
migrations.AlterField(
model_name='sectionsconfiguration',
name='required_phone_number',
field=models.BooleanField(blank=True, default=None, help_text='Flag if field is needed to fill in user profile: Yes=field is required, No=field is optional, Unknown=field is not available', null=True, verbose_name='required phone number'),
),
migrations.AlterField(
model_name='sectionsconfiguration',
name='required_picture',
field=models.BooleanField(blank=True, default=None, help_text='Flag if field is needed to fill in user profile: Yes=field is required, No=field is optional, Unknown=field is not available', null=True, verbose_name='required profile picture'),
),
migrations.AlterField(
model_name='sectionsconfiguration',
name='required_university',
field=models.BooleanField(blank=True, default=None, help_text='Flag if field is needed to fill in user profile: Yes=field is required, No=field is optional, Unknown=field is not available', null=True, verbose_name='required university'),
),
]

0 comments on commit 5dcc4de

Please sign in to comment.