Commit 174b8e8f authored by Alex Pyrgiotis's avatar Alex Pyrgiotis
Browse files

admin: Create folder for resources

Move the user/vm/project/... folders to a folder called "resources".
parent b053dbf5
......@@ -26,7 +26,8 @@ from django.contrib.auth.models import Group
from synnefo_admin.admin.exceptions import AdminHttp404
from eztables.views import DatatablesView
from actions import AdminAction, AdminActionUnknown, AdminActionNotPermitted
from synnefo_admin.admin.actions import (AdminAction, AdminActionUnknown,
AdminActionNotPermitted)
templates = {
'list': 'admin/group_list.html',
......
......@@ -26,7 +26,7 @@ from astakos.im.models import AstakosUser, Project
from synnefo_admin.admin.actions import (has_permission_or_403,
get_allowed_actions,
get_permitted_actions,)
from synnefo_admin.admin.users.utils import get_user_or_404
from synnefo_admin.admin.resources.users.utils import get_user_or_404
from synnefo_admin.admin.tables import AdminJSONView
from synnefo_admin.admin.associations import (
UserAssociation, QuotaAssociation, VMAssociation, VolumeAssociation,
......
......@@ -27,7 +27,7 @@ from astakos.im.models import AstakosUser, Project
from synnefo_admin.admin.actions import (has_permission_or_403,
get_allowed_actions,
get_permitted_actions,)
from synnefo_admin.admin.users.utils import get_user_or_404
from synnefo_admin.admin.resources.users.utils import get_user_or_404
from synnefo_admin.admin.tables import AdminJSONView
from synnefo_admin.admin.associations import (
UserAssociation, QuotaAssociation, VMAssociation, VolumeAssociation,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment