From e6b17e8f9283f4e8973d6358d519f6f147d8cca7 Mon Sep 17 00:00:00 2001 From: Charles Connell Date: Sun, 9 Feb 2014 16:20:15 -0500 Subject: [PATCH] fix nested inlines --- karmaworld/apps/quizzes/admin.py | 1 + reqs/common.txt | 1 + 2 files changed, 2 insertions(+) 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 -- 2.25.1