Prednasky (skoro) funkcni.
Zobrazeni daneho seznamu pretezuje server, jinak vse ok.
This commit is contained in:
parent
0c67eccd92
commit
67c02ca437
2 changed files with 26 additions and 2 deletions
24
prednasky/migrations/0010_auto_20160929_0508.py
Normal file
24
prednasky/migrations/0010_auto_20160929_0508.py
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('prednasky', '0009_auto_20160929_0354'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='prednaska',
|
||||||
|
name='anotace',
|
||||||
|
field=models.TextField(help_text='Ve\u0159ejn\xe1 anotace v hlasov\xe1n\xed', null=True, verbose_name=b'Anotace', blank=True),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='prednaska',
|
||||||
|
name='popis',
|
||||||
|
field=models.TextField(help_text='Neve\u0159ejn\xfd popis pro ostatn\xed orgy', null=True, verbose_name='Popis pro orgy', blank=True),
|
||||||
|
),
|
||||||
|
]
|
|
@ -55,8 +55,8 @@ class Prednaska(models.Model):
|
||||||
id = models.AutoField(primary_key = True)
|
id = models.AutoField(primary_key = True)
|
||||||
nazev = models.CharField(u'Název', max_length = 300)
|
nazev = models.CharField(u'Název', max_length = 300)
|
||||||
org = models.ForeignKey(Organizator)
|
org = models.ForeignKey(Organizator)
|
||||||
popis = models.TextField(u'Popis pro orgy',null = True,help_text = u'Neveřejný popis pro ostatní orgy')
|
popis = models.TextField(u'Popis pro orgy',null = True, blank = True,help_text = u'Neveřejný popis pro ostatní orgy')
|
||||||
anotace = models.TextField('Anotace',null = True, help_text = u'Veřejná anotace v hlasování')
|
anotace = models.TextField('Anotace',null = True, blank = True, help_text = u'Veřejná anotace v hlasování')
|
||||||
obtiznost = models.IntegerField(u'Obtížnost', choices=CHOICES_OBTIZNOST)
|
obtiznost = models.IntegerField(u'Obtížnost', choices=CHOICES_OBTIZNOST)
|
||||||
obor = models.CharField(u'Obor', max_length = 5, help_text = u'Podmnožina MFIOB')
|
obor = models.CharField(u'Obor', max_length = 5, help_text = u'Podmnožina MFIOB')
|
||||||
klicova = models.CharField(u'Klíčová slova', max_length = 200, null = True, blank = True)
|
klicova = models.CharField(u'Klíčová slova', max_length = 200, null = True, blank = True)
|
||||||
|
|
Loading…
Reference in a new issue