From ceab0fba2a4c01844f0397930661e37b29336a20 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Sun, 4 Sep 2011 20:42:05 +0200 Subject: [PATCH] circular import --- pandora/archive/forms.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pandora/archive/forms.py b/pandora/archive/forms.py index 291d77c51..9b602a3c6 100644 --- a/pandora/archive/forms.py +++ b/pandora/archive/forms.py @@ -3,6 +3,8 @@ from django.conf import settings from django import forms import models +from item.models import Item + ajax_filtered_js = ( settings.ADMIN_MEDIA_PREFIX + "js/SelectBox.js", @@ -13,7 +15,7 @@ ajax_filtered_js = ( class FileAdminForm(forms.ModelForm): - item = ForeignKeyByLetter(models.Item, field_name='itemId') + item = ForeignKeyByLetter(Item, field_name='itemId') class Meta: model = models.File