Перенесено из репозитария SpecialistOff.NET
This commit is contained in:
21
myapp/forms/page.py
Normal file
21
myapp/forms/page.py
Normal file
@@ -0,0 +1,21 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: UTF-8 -*-
|
||||
|
||||
__author__ = 'RemiZOffAlex'
|
||||
__copyright__ = '(c) RemiZOffAlex'
|
||||
__license__ = 'MIT'
|
||||
__email__ = 'remizoffalex@mail.ru'
|
||||
__url__ = 'http://remizoffalex.ru'
|
||||
|
||||
from wtforms import (
|
||||
Form,
|
||||
BooleanField,
|
||||
TextField,
|
||||
PasswordField,
|
||||
TextAreaField
|
||||
)
|
||||
|
||||
|
||||
class PageEdit(Form):
|
||||
title = TextField('Заголовок')
|
||||
text = TextAreaField('Текст')
|
||||
Reference in New Issue
Block a user