mamweb/korektury/forms.py

15 lines
467 B
Python
Raw Normal View History

2015-12-01 23:24:21 +01:00
from django import forms
class OpravaForm(forms.Form):
2022-02-15 17:48:16 +01:00
""" formulář k přidání opravy (:class:`korektury.models.Oprava`) """
2019-05-11 01:15:05 +02:00
text = forms.CharField(max_length=256)
autor = forms.CharField(max_length=20)
x = forms.IntegerField()
y = forms.IntegerField()
scroll = forms.CharField(max_length=256)
pdf = forms.CharField(max_length=256)
img_id = forms.CharField(max_length=256)
id = forms.CharField(max_length=256)
action = forms.CharField(max_length=256)
2015-12-01 23:24:21 +01:00