X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/f69e27528218f5db3e4fafd536be49f473e3b8fd..3c26965045e8881acd4d5de8c195e4aa61b95ed1:/contrib/gilbert/plugins/models.py?ds=inline diff --git a/contrib/gilbert/plugins/models.py b/contrib/gilbert/plugins/models.py index 5217df3..0ba310e 100644 --- a/contrib/gilbert/plugins/models.py +++ b/contrib/gilbert/plugins/models.py @@ -1,15 +1,15 @@ -import operator -from django.forms.models import ModelForm, modelform_factory +from django.conf import settings +from django.contrib.admin.util import lookup_field, label_for_field, display_for_field, NestedObjects +from django.core.exceptions import PermissionDenied from django.db.models import Q from django.db.models.fields.related import ManyToOneRel from django.db.models.fields.files import FieldFile, ImageFieldFile, FileField -from django.contrib.admin.util import lookup_field, label_for_field, display_for_field, NestedObjects +from django.forms.models import ModelForm, modelform_factory +from django.utils import simplejson as json from django.utils.encoding import smart_unicode -import staticmedia from .base import Plugin from ..extdirect import ext_action, ext_method -from django.core.exceptions import PermissionDenied -from django.utils import simplejson as json +import operator, staticmedia @ext_action(name='models')