Page MenuHomec4science

keywords_field.py
No OneTemporary

File Metadata

Created
Fri, Nov 8, 01:10

keywords_field.py

from wtforms import TextField
__all__ = ['KeywordsField']
class KeywordsField(TextField):
def __init__(self, **kwargs):
self._icon_html = '<i class="icon-tags"></i>'
super(KeywordsField, self).__init__(**kwargs)
def pre_validate(self):
return dict(error=0, error_message='')
def autocomplete(self):
return []

Event Timeline