# -*- coding: utf-8 -*-
from django.db import models
from django.utils.translation import ugettext as _
from django.utils.text import wrap


class Question(models.Model):
    text = models.CharField(_(u'Question'), max_length=100)
    specification = models.TextField(_(u'Specification'))
    nick = models.CharField(_('Nickname'), max_length=20)
    created = models.DateTimeField(auto_now_add=True)
    slug = models.SlugField()

    def __unicode__(self):
        return self.text

    class Meta:
        ordering = ('-created',)

class Answer(models.Model):
    text = models.TextField(_('Answer text'))
    nick = models.CharField(_('Nickname'), max_length=20)
    created = models.DateTimeField(auto_now_add=True)
    question = models.ForeignKey(Question)
    is_hidden = models.BooleanField(_('Is hidden'), default=False)

    def __unicode__(self):
        return self.text

    class Meta:
        ordering = ('-created',)

@@ -223,9 +223,9 @@
 gth=
-1
+2
 00)%0A
@@ -328,33 +328,34 @@
 e'), max_length=
-2
+15
 0)%0A    created =
@@ -661,11 +661,49 @@
 gth=
-20)
+150) # odbornici budou udavat adresu atd.
 %0A   

data types sizes increased