Skip to content

Commit

Permalink
use camelot session when creating query in entity admin
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjanss committed Oct 13, 2012
1 parent 694435b commit 394218d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions camelot/admin/entity_admin.py
Expand Up @@ -26,14 +26,13 @@
import logging
logger = logging.getLogger('camelot.admin.entity_admin')

from sqlalchemy.orm.session import Session

from camelot.admin.action.list_action import OpenFormView
from camelot.admin.object_admin import ObjectAdmin
from camelot.view.model_thread import post, model_function
from camelot.view.utils import to_string
from camelot.core.memento import memento_change
from camelot.core.utils import ugettext_lazy, ugettext
from camelot.core.utils import ugettext_lazy, ugettext
from camelot.core.orm import Session
from camelot.admin.validator.entity_validator import EntityValidator

from sqlalchemy import orm
Expand Down

0 comments on commit 394218d

Please sign in to comment.