[func] tournaments with no title
parent
0f417511c1
commit
ceb3035bd8
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Generated by Django 4.0.5 on 2022-07-25 20:37
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('tournaments', '0002_tournament_photo'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='tournament',
|
||||||
|
name='title',
|
||||||
|
field=models.CharField(blank=True, default='', max_length=250, verbose_name='Tytuł'),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
@ -9,7 +9,7 @@ from filebrowser.fields import FileBrowseField
|
||||||
class Tournament(OrderableModel):
|
class Tournament(OrderableModel):
|
||||||
photo = FileBrowseField(
|
photo = FileBrowseField(
|
||||||
'Zdjęcie', directory='inneturnieje/', max_length=200, blank=True)
|
'Zdjęcie', directory='inneturnieje/', max_length=200, blank=True)
|
||||||
title = models.CharField('Tytuł', max_length=250)
|
title = models.CharField('Tytuł', default='', blank=True, max_length=250)
|
||||||
content = HTMLField('Tekst')
|
content = HTMLField('Tekst')
|
||||||
link = models.TextField('Link do wyników')
|
link = models.TextField('Link do wyników')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue