<s> from __future__ import absolute_import , unicode_literals <EOL> import logging <EOL> from django import forms <EOL> from . . import models <EOL> from . . validators import validate_hosts_ids <EOL> LOG = logging . getLogger ( __name__ ) <EOL> class MaintenanceForm ( forms . ModelForm ) : <EOL> hostsid = forms . CharField ( widget = forms . TextInput , <EOL> validators = [ validate_hosts_ids ] ) <EOL> class Meta : <EOL> model = models . Maintenance <EOL> fields = ( "<STR_LIT:description>" , "<STR_LIT>" , "<STR_LIT>" , "<STR_LIT>" , <EOL> "<STR_LIT>" , "<STR_LIT:status>" , "<STR_LIT>" , ) </s>
