From 4dfb86b9cadaa939d158a8bbbd2bc94fc8554019 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 291d77c..9b602a3 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