<s> from __future__ import absolute_import <EOL> from django import forms <EOL> from . models import Author <EOL> class AuthorForm ( forms . ModelForm ) : <EOL> name = forms . CharField ( ) <EOL> slug = forms . SlugField ( ) <EOL> class Meta : <EOL> model = Author <EOL> class ContactForm ( forms . Form ) : <EOL> name = forms . CharField ( ) <EOL> message = forms . CharField ( widget = forms . Textarea ) </s>
