admin: cleanup imports.
This commit is contained in:
parent
2b8223498e
commit
e8fe72ebfb
8 changed files with 7 additions and 6 deletions
|
|
@ -21,10 +21,9 @@
|
|||
import logging
|
||||
|
||||
from pyramid.view import view_config
|
||||
from sqlalchemy.orm import joinedload
|
||||
|
||||
from rhodecode.apps._base import BaseAppView
|
||||
from rhodecode.model.db import UserLog
|
||||
from rhodecode.model.db import joinedload, UserLog
|
||||
from rhodecode.lib.user_log_filter import user_log_filter
|
||||
from rhodecode.lib.auth import LoginRequired, HasPermissionAllDecorator
|
||||
from rhodecode.lib.utils2 import safe_int
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
import logging
|
||||
|
||||
|
||||
from pyramid.httpexceptions import HTTPFound
|
||||
from pyramid.view import view_config
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@
|
|||
import collections
|
||||
import logging
|
||||
|
||||
|
||||
from pyramid.view import view_config
|
||||
|
||||
from rhodecode.apps._base import BaseAppView
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
import re
|
||||
import logging
|
||||
import formencode
|
||||
import formencode.htmlfill
|
||||
import datetime
|
||||
from pyramid.interfaces import IRoutesMapper
|
||||
|
||||
|
|
@ -37,7 +38,8 @@ from rhodecode.lib import helpers as h
|
|||
from rhodecode.lib.auth import (
|
||||
LoginRequired, HasPermissionAllDecorator, CSRFRequired)
|
||||
from rhodecode.lib.utils2 import aslist, safe_unicode
|
||||
from rhodecode.model.db import or_, joinedload, coalesce, User, UserIpMap, UserSshKeys
|
||||
from rhodecode.model.db import (
|
||||
or_, coalesce, User, UserIpMap, UserSshKeys)
|
||||
from rhodecode.model.forms import (
|
||||
ApplicationPermissionsForm, ObjectPermissionsForm, UserPermissionsForm)
|
||||
from rhodecode.model.meta import Session
|
||||
|
|
|
|||
|
|
@ -25,7 +25,6 @@ from pyramid.view import view_config
|
|||
|
||||
from rhodecode.apps._base import BaseAppView
|
||||
from rhodecode.apps.admin.navigation import navigation_list
|
||||
from rhodecode.lib import helpers as h
|
||||
from rhodecode.lib.auth import (
|
||||
LoginRequired, HasPermissionAllDecorator, CSRFRequired)
|
||||
from rhodecode.lib.utils2 import safe_int
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
|
||||
import logging
|
||||
import formencode
|
||||
import formencode.htmlfill
|
||||
|
||||
from pyramid.httpexceptions import HTTPFound, HTTPForbidden
|
||||
from pyramid.view import view_config
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
import logging
|
||||
import datetime
|
||||
import formencode
|
||||
import formencode.htmlfill
|
||||
|
||||
from pyramid.httpexceptions import HTTPFound
|
||||
from pyramid.view import view_config
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ import time
|
|||
import logging
|
||||
|
||||
import formencode
|
||||
import formencode.htmlfill
|
||||
import peppercorn
|
||||
|
||||
from pyramid.httpexceptions import HTTPNotFound, HTTPForbidden, HTTPFound
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue