From: Charles Connell Date: Sun, 9 Feb 2014 21:20:15 +0000 (-0500) Subject: fix nested inlines X-Git-Tag: release-20150131~148^2^2~20 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e6b17e8f9283f4e8973d6358d519f6f147d8cca7;p=oweals%2Fkarmaworld.git fix nested inlines --- diff --git a/karmaworld/apps/quizzes/admin.py b/karmaworld/apps/quizzes/admin.py index 7bf5712..99c588b 100644 --- a/karmaworld/apps/quizzes/admin.py +++ b/karmaworld/apps/quizzes/admin.py @@ -3,6 +3,7 @@ # Copyright (C) 2014 FinalsClub Foundation from django.contrib import admin from karmaworld.apps.quizzes.models import MultipleChoiceQuestion, FlashCardQuestion, MultipleChoiceOption, Quiz +from nested_inlines.admin import NestedTabularInline, NestedModelAdmin, NestedStackedInline class MultipleChoiceOptionInlineAdmin(NestedTabularInline): diff --git a/reqs/common.txt b/reqs/common.txt index 08ec9c8..8c6ac1c 100644 --- a/reqs/common.txt +++ b/reqs/common.txt @@ -22,3 +22,4 @@ django-allauth boto==2.6.0 django-storages==1.1.4 django-reversion +git+https://github.com/Soaa-/django-nested-inlines.git