--- a/app/projrev/views/helpers/forms.py Mon Aug 10 00:40:47 2009 +0530
+++ b/app/projrev/views/helpers/forms.py Mon Aug 10 01:00:32 2009 +0530
@@ -8,6 +8,7 @@
from django import forms
+from django.contrib.auth.models import User
from projrev.models import Project
from projrev.models import Review
@@ -36,9 +37,10 @@
project = forms.ModelChoiceField(queryset=Project.objects.all(),
widget=forms.HiddenInput(),
required=False)
+ reviewer = forms.ModelChoiceField(queryset=User.objects.all(),
+ widget=forms.HiddenInput(),
+ required=False)
class Meta:
# Create a form from Review data model.
model = Review
-
- exclude = ('reviewer')