Source

beerfingers / bf / bar / forms.py

Full commit
import datetime
from django.db import models
from django import forms
from django.forms import ModelForm
from django.contrib.formtools.wizard import FormWizard
from bar.models import Journal

class JournalForm(ModelForm):	
	satisfaction = forms.ChoiceField 
	note = forms.TextInput()
	#datetime = forms.DateTimeField(widget=forms.DateTimeInput,initial=datetime.datetime.now(), label='Search')
	
	class Meta:
		model = Journal
		exclude = ('beerhead','beer', 'brewery', 'datetime')

	
# Creating a form to change an existing article.
# article = Article.objects.get(pk=1)
# form = ArticleForm(instance=article)