Skip to content

Commit

Permalink
Add migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
kovacspe committed Nov 23, 2024
1 parent 27dc9b9 commit f9b6363
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
18 changes: 18 additions & 0 deletions cms/migrations/0003_alter_menuitem_url.py
Original file line number Diff line number Diff line change
@@ -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'),
),
]
Original file line number Diff line number Diff line change
@@ -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'),
),
]

0 comments on commit f9b6363

Please sign in to comment.