Skip to content

Commit

Permalink
fix(events, requests): missing migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Oct 27, 2023
1 parent 2859123 commit ea6f419
Show file tree
Hide file tree
Showing 6 changed files with 109 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 4.2.4 on 2023-10-27 17:55

import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('accounts', '0017_alter_userprofile_instagram'),
]

operations = [
migrations.AlterField(
model_name='userprofile',
name='instagram',
field=models.CharField(blank=True, validators=[django.core.validators.RegexValidator('^[\\w_.]+$')], verbose_name='instagram username'),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.4 on 2023-10-27 17:55

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('buddy_system', '0021_remove_buddyrequest_issuer_note_and_more'),
]

operations = [
migrations.AlterField(
model_name='buddyrequestmatch',
name='note',
field=models.TextField(blank=True, null=True, verbose_name='text from matcher'),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 4.2.4 on 2023-10-27 17:56

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('buddy_system', '0022_alter_buddyrequestmatch_note'),
]

operations = [
migrations.AlterField(
model_name='buddyrequestmatch',
name='note',
field=models.TextField(blank=True, default='', verbose_name='text from matcher'),
preserve_default=False,
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Generated by Django 4.2.4 on 2023-10-27 17:55

from django.db import migrations, models


class Migration(migrations.Migration):

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

operations = [
migrations.AlterField(
model_name='event',
name='subtitle',
field=models.TextField(blank=True, help_text='short description of the event', verbose_name='subtitle'),
),
migrations.AlterField(
model_name='place',
name='description',
field=models.CharField(blank=True, help_text='Descriptions of the place or directions', max_length=256, verbose_name='description'),
),
migrations.AlterField(
model_name='place',
name='link',
field=models.CharField(blank=True, help_text='Link to the place', max_length=256, verbose_name='webpage link'),
),
migrations.AlterField(
model_name='place',
name='map_link',
field=models.CharField(blank=True, help_text='Link to a position to the place on a map', max_length=256, verbose_name='map link'),
),
]
18 changes: 18 additions & 0 deletions fiesta/apps/plugins/migrations/0015_alter_plugin_app_label.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.2.4 on 2023-10-27 17:55

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('plugins', '0014_alter_plugin_app_label'),
]

operations = [
migrations.AlterField(
model_name='plugin',
name='app_label',
field=models.CharField(choices=[('buddy_system', 'Buddy System'), ('dashboard', 'Dashboard'), ('sections', 'ESN section'), ('esncards', 'ESNcard'), ('events', 'Events'), ('pages', 'Pages')], help_text='Defines system application, which specific plugin represents.', max_length=256, verbose_name='app label'),
),
]
2 changes: 2 additions & 0 deletions fiesta/fiesta/settings/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ class AuthConfigMixin:
SOCIALACCOUNT_ADAPTER = "apps.accounts.adapters.SocialAccountAdapter"
# general django urls
LOGIN_URL = "/auth/login"
# TODO: do redirect to special url with smart router, which redirects to section
# (if user has only one section)
LOGIN_REDIRECT_URL = "/"

# fixme: verify it
Expand Down

0 comments on commit ea6f419

Please sign in to comment.