]> git.parisson.com Git - django_quiz.git/commitdiff
Tested the app with Django==1.7 and only change was to add an `exlude` to the meta...
authortomwalker <tomwalker0472@gmail.com>
Wed, 8 Oct 2014 17:14:17 +0000 (18:14 +0100)
committertomwalker <tomwalker0472@gmail.com>
Wed, 8 Oct 2014 17:14:17 +0000 (18:14 +0100)
The extent of the test was:
* a fresh install in a virtualenv with Django==1.7 and an SQLite DB
* all the tests passed
* made a couple of quiz models with different configurations, filled them with different question types, completed them and marked the essay questions

quiz/admin.py

index 9478998a748d1d4c5de7eb546cc56267009f1747..5cfbb71bc75643780133c26882a1200d5bb395be 100644 (file)
@@ -22,6 +22,7 @@ class QuizAdminForm(forms.ModelForm):
 
     class Meta:
         model = Quiz
+        exclude = []
 
     questions = forms.ModelMultipleChoiceField(
         queryset=Question.objects.all().select_subclasses(),