From f9b63637263ccedde62d96ca2f681ec8fcf666ac Mon Sep 17 00:00:00 2001 From: kovacspe Date: Sat, 23 Nov 2024 20:43:45 +0100 Subject: [PATCH] Add migrations --- cms/migrations/0003_alter_menuitem_url.py | 18 +++++++++++++ ...er_solution_corrected_solution_and_more.py | 26 +++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 cms/migrations/0003_alter_menuitem_url.py create mode 100644 competition/migrations/0003_alter_solution_corrected_solution_and_more.py diff --git a/cms/migrations/0003_alter_menuitem_url.py b/cms/migrations/0003_alter_menuitem_url.py new file mode 100644 index 0000000..94c9975 --- /dev/null +++ b/cms/migrations/0003_alter_menuitem_url.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.15 on 2024-11-23 19:43 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('cms', '0002_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='menuitem', + name='url', + field=models.TextField(help_text='URL stránky kam má preklik viesť', verbose_name='URL'), + ), + ] diff --git a/competition/migrations/0003_alter_solution_corrected_solution_and_more.py b/competition/migrations/0003_alter_solution_corrected_solution_and_more.py new file mode 100644 index 0000000..1275f0d --- /dev/null +++ b/competition/migrations/0003_alter_solution_corrected_solution_and_more.py @@ -0,0 +1,26 @@ +# Generated by Django 4.2.15 on 2024-11-23 19:43 + +import base.models +import competition.models +import django.core.files.storage +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('competition', '0002_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='solution', + name='corrected_solution', + field=base.models.RestrictedFileField(blank=True, storage=django.core.files.storage.FileSystemStorage(base_url='/protected/', location='C:\\Users\\petko\\Documents\\GitHub\\webstrom\\webstrom-backend\\protected_media/'), upload_to=competition.models.get_corrected_solution_path, verbose_name='opravené riešenie'), + ), + migrations.AlterField( + model_name='solution', + name='solution', + field=base.models.RestrictedFileField(blank=True, storage=django.core.files.storage.FileSystemStorage(base_url='/protected/', location='C:\\Users\\petko\\Documents\\GitHub\\webstrom\\webstrom-backend\\protected_media/'), upload_to=competition.models.get_solution_path, verbose_name='účastnícke riešenie'), + ), + ]