circular import
This commit is contained in:
parent
f535656941
commit
4dfb86b9ca
1 changed files with 3 additions and 1 deletions
|
@ -3,6 +3,8 @@ from django.conf import settings
|
||||||
from django import forms
|
from django import forms
|
||||||
|
|
||||||
import models
|
import models
|
||||||
|
from item.models import Item
|
||||||
|
|
||||||
|
|
||||||
ajax_filtered_js = (
|
ajax_filtered_js = (
|
||||||
settings.ADMIN_MEDIA_PREFIX + "js/SelectBox.js",
|
settings.ADMIN_MEDIA_PREFIX + "js/SelectBox.js",
|
||||||
|
@ -13,7 +15,7 @@ ajax_filtered_js = (
|
||||||
|
|
||||||
|
|
||||||
class FileAdminForm(forms.ModelForm):
|
class FileAdminForm(forms.ModelForm):
|
||||||
item = ForeignKeyByLetter(models.Item, field_name='itemId')
|
item = ForeignKeyByLetter(Item, field_name='itemId')
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = models.File
|
model = models.File
|
||||||
|
|
Loading…
Reference in a new issue