circular import
This commit is contained in:
parent
5a139094e9
commit
ceab0fba2a
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue