diff --git a/galaxy_ng/app/api/ui/__init__.py b/galaxy_ng/app/api/ui/v1/__init__.py similarity index 100% rename from galaxy_ng/app/api/ui/__init__.py rename to galaxy_ng/app/api/ui/v1/__init__.py diff --git a/galaxy_ng/app/api/ui/serializers/__init__.py b/galaxy_ng/app/api/ui/v1/serializers/__init__.py similarity index 100% rename from galaxy_ng/app/api/ui/serializers/__init__.py rename to galaxy_ng/app/api/ui/v1/serializers/__init__.py diff --git a/galaxy_ng/app/api/ui/serializers/auth.py b/galaxy_ng/app/api/ui/v1/serializers/auth.py similarity index 100% rename from galaxy_ng/app/api/ui/serializers/auth.py rename to galaxy_ng/app/api/ui/v1/serializers/auth.py diff --git a/galaxy_ng/app/api/ui/serializers/base.py b/galaxy_ng/app/api/ui/v1/serializers/base.py similarity index 100% rename from galaxy_ng/app/api/ui/serializers/base.py rename to galaxy_ng/app/api/ui/v1/serializers/base.py diff --git a/galaxy_ng/app/api/ui/serializers/collection.py b/galaxy_ng/app/api/ui/v1/serializers/collection.py similarity index 100% rename from galaxy_ng/app/api/ui/serializers/collection.py rename to galaxy_ng/app/api/ui/v1/serializers/collection.py diff --git a/galaxy_ng/app/api/ui/serializers/distribution.py b/galaxy_ng/app/api/ui/v1/serializers/distribution.py similarity index 100% rename from galaxy_ng/app/api/ui/serializers/distribution.py rename to galaxy_ng/app/api/ui/v1/serializers/distribution.py diff --git a/galaxy_ng/app/api/ui/serializers/execution_environment.py b/galaxy_ng/app/api/ui/v1/serializers/execution_environment.py similarity index 100% rename from galaxy_ng/app/api/ui/serializers/execution_environment.py rename to galaxy_ng/app/api/ui/v1/serializers/execution_environment.py diff --git a/galaxy_ng/app/api/ui/serializers/imports.py b/galaxy_ng/app/api/ui/v1/serializers/imports.py similarity index 100% rename from galaxy_ng/app/api/ui/serializers/imports.py rename to galaxy_ng/app/api/ui/v1/serializers/imports.py diff --git a/galaxy_ng/app/api/ui/serializers/search.py b/galaxy_ng/app/api/ui/v1/serializers/search.py similarity index 100% rename from galaxy_ng/app/api/ui/serializers/search.py rename to galaxy_ng/app/api/ui/v1/serializers/search.py diff --git a/galaxy_ng/app/api/ui/serializers/synclist.py b/galaxy_ng/app/api/ui/v1/serializers/synclist.py similarity index 100% rename from galaxy_ng/app/api/ui/serializers/synclist.py rename to galaxy_ng/app/api/ui/v1/serializers/synclist.py diff --git a/galaxy_ng/app/api/ui/serializers/user.py b/galaxy_ng/app/api/ui/v1/serializers/user.py similarity index 100% rename from galaxy_ng/app/api/ui/serializers/user.py rename to galaxy_ng/app/api/ui/v1/serializers/user.py diff --git a/galaxy_ng/app/api/ui/urls.py b/galaxy_ng/app/api/ui/v1/urls.py similarity index 100% rename from galaxy_ng/app/api/ui/urls.py rename to galaxy_ng/app/api/ui/v1/urls.py diff --git a/galaxy_ng/app/api/ui/versioning.py b/galaxy_ng/app/api/ui/v1/versioning.py similarity index 100% rename from galaxy_ng/app/api/ui/versioning.py rename to galaxy_ng/app/api/ui/v1/versioning.py diff --git a/galaxy_ng/app/api/ui/views/__init__.py b/galaxy_ng/app/api/ui/v1/views/__init__.py similarity index 100% rename from galaxy_ng/app/api/ui/views/__init__.py rename to galaxy_ng/app/api/ui/v1/views/__init__.py diff --git a/galaxy_ng/app/api/ui/views/ai_index.py b/galaxy_ng/app/api/ui/v1/views/ai_index.py similarity index 100% rename from galaxy_ng/app/api/ui/views/ai_index.py rename to galaxy_ng/app/api/ui/v1/views/ai_index.py diff --git a/galaxy_ng/app/api/ui/views/auth.py b/galaxy_ng/app/api/ui/v1/views/auth.py similarity index 100% rename from galaxy_ng/app/api/ui/views/auth.py rename to galaxy_ng/app/api/ui/v1/views/auth.py diff --git a/galaxy_ng/app/api/ui/views/controller.py b/galaxy_ng/app/api/ui/v1/views/controller.py similarity index 100% rename from galaxy_ng/app/api/ui/views/controller.py rename to galaxy_ng/app/api/ui/v1/views/controller.py diff --git a/galaxy_ng/app/api/ui/views/feature_flags.py b/galaxy_ng/app/api/ui/v1/views/feature_flags.py similarity index 100% rename from galaxy_ng/app/api/ui/views/feature_flags.py rename to galaxy_ng/app/api/ui/v1/views/feature_flags.py diff --git a/galaxy_ng/app/api/ui/views/index_execution_environments.py b/galaxy_ng/app/api/ui/v1/views/index_execution_environments.py similarity index 100% rename from galaxy_ng/app/api/ui/views/index_execution_environments.py rename to galaxy_ng/app/api/ui/v1/views/index_execution_environments.py diff --git a/galaxy_ng/app/api/ui/views/landing_page.py b/galaxy_ng/app/api/ui/v1/views/landing_page.py similarity index 100% rename from galaxy_ng/app/api/ui/views/landing_page.py rename to galaxy_ng/app/api/ui/v1/views/landing_page.py diff --git a/galaxy_ng/app/api/ui/views/search.py b/galaxy_ng/app/api/ui/v1/views/search.py similarity index 100% rename from galaxy_ng/app/api/ui/views/search.py rename to galaxy_ng/app/api/ui/v1/views/search.py diff --git a/galaxy_ng/app/api/ui/views/settings.py b/galaxy_ng/app/api/ui/v1/views/settings.py similarity index 100% rename from galaxy_ng/app/api/ui/views/settings.py rename to galaxy_ng/app/api/ui/v1/views/settings.py diff --git a/galaxy_ng/app/api/ui/views/signing.py b/galaxy_ng/app/api/ui/v1/views/signing.py similarity index 100% rename from galaxy_ng/app/api/ui/views/signing.py rename to galaxy_ng/app/api/ui/v1/views/signing.py diff --git a/galaxy_ng/app/api/ui/views/sync.py b/galaxy_ng/app/api/ui/v1/views/sync.py similarity index 100% rename from galaxy_ng/app/api/ui/views/sync.py rename to galaxy_ng/app/api/ui/v1/views/sync.py diff --git a/galaxy_ng/app/api/ui/viewsets/__init__.py b/galaxy_ng/app/api/ui/v1/viewsets/__init__.py similarity index 100% rename from galaxy_ng/app/api/ui/viewsets/__init__.py rename to galaxy_ng/app/api/ui/v1/viewsets/__init__.py diff --git a/galaxy_ng/app/api/ui/viewsets/collection.py b/galaxy_ng/app/api/ui/v1/viewsets/collection.py similarity index 100% rename from galaxy_ng/app/api/ui/viewsets/collection.py rename to galaxy_ng/app/api/ui/v1/viewsets/collection.py diff --git a/galaxy_ng/app/api/ui/viewsets/distribution.py b/galaxy_ng/app/api/ui/v1/viewsets/distribution.py similarity index 100% rename from galaxy_ng/app/api/ui/viewsets/distribution.py rename to galaxy_ng/app/api/ui/v1/viewsets/distribution.py diff --git a/galaxy_ng/app/api/ui/viewsets/execution_environment.py b/galaxy_ng/app/api/ui/v1/viewsets/execution_environment.py similarity index 100% rename from galaxy_ng/app/api/ui/viewsets/execution_environment.py rename to galaxy_ng/app/api/ui/v1/viewsets/execution_environment.py diff --git a/galaxy_ng/app/api/ui/viewsets/group.py b/galaxy_ng/app/api/ui/v1/viewsets/group.py similarity index 100% rename from galaxy_ng/app/api/ui/viewsets/group.py rename to galaxy_ng/app/api/ui/v1/viewsets/group.py diff --git a/galaxy_ng/app/api/ui/viewsets/my_namespace.py b/galaxy_ng/app/api/ui/v1/viewsets/my_namespace.py similarity index 100% rename from galaxy_ng/app/api/ui/viewsets/my_namespace.py rename to galaxy_ng/app/api/ui/v1/viewsets/my_namespace.py diff --git a/galaxy_ng/app/api/ui/viewsets/my_synclist.py b/galaxy_ng/app/api/ui/v1/viewsets/my_synclist.py similarity index 100% rename from galaxy_ng/app/api/ui/viewsets/my_synclist.py rename to galaxy_ng/app/api/ui/v1/viewsets/my_synclist.py diff --git a/galaxy_ng/app/api/ui/viewsets/namespace.py b/galaxy_ng/app/api/ui/v1/viewsets/namespace.py similarity index 100% rename from galaxy_ng/app/api/ui/viewsets/namespace.py rename to galaxy_ng/app/api/ui/v1/viewsets/namespace.py diff --git a/galaxy_ng/app/api/ui/viewsets/root.py b/galaxy_ng/app/api/ui/v1/viewsets/root.py similarity index 100% rename from galaxy_ng/app/api/ui/viewsets/root.py rename to galaxy_ng/app/api/ui/v1/viewsets/root.py diff --git a/galaxy_ng/app/api/ui/viewsets/synclist.py b/galaxy_ng/app/api/ui/v1/viewsets/synclist.py similarity index 100% rename from galaxy_ng/app/api/ui/viewsets/synclist.py rename to galaxy_ng/app/api/ui/v1/viewsets/synclist.py diff --git a/galaxy_ng/app/api/ui/viewsets/tags.py b/galaxy_ng/app/api/ui/v1/viewsets/tags.py similarity index 100% rename from galaxy_ng/app/api/ui/viewsets/tags.py rename to galaxy_ng/app/api/ui/v1/viewsets/tags.py diff --git a/galaxy_ng/app/api/ui/viewsets/user.py b/galaxy_ng/app/api/ui/v1/viewsets/user.py similarity index 100% rename from galaxy_ng/app/api/ui/viewsets/user.py rename to galaxy_ng/app/api/ui/v1/viewsets/user.py diff --git a/galaxy_ng/app/api/ui_v2/filters.py b/galaxy_ng/app/api/ui/v2/filters.py similarity index 100% rename from galaxy_ng/app/api/ui_v2/filters.py rename to galaxy_ng/app/api/ui/v2/filters.py diff --git a/galaxy_ng/app/api/ui_v2/permissions.py b/galaxy_ng/app/api/ui/v2/permissions.py similarity index 100% rename from galaxy_ng/app/api/ui_v2/permissions.py rename to galaxy_ng/app/api/ui/v2/permissions.py diff --git a/galaxy_ng/app/api/ui_v2/serializers.py b/galaxy_ng/app/api/ui/v2/serializers.py similarity index 100% rename from galaxy_ng/app/api/ui_v2/serializers.py rename to galaxy_ng/app/api/ui/v2/serializers.py diff --git a/galaxy_ng/app/api/ui_v2/urls.py b/galaxy_ng/app/api/ui/v2/urls.py similarity index 100% rename from galaxy_ng/app/api/ui_v2/urls.py rename to galaxy_ng/app/api/ui/v2/urls.py diff --git a/galaxy_ng/app/api/ui_v2/views.py b/galaxy_ng/app/api/ui/v2/views.py similarity index 100% rename from galaxy_ng/app/api/ui_v2/views.py rename to galaxy_ng/app/api/ui/v2/views.py diff --git a/galaxy_ng/app/api/urls.py b/galaxy_ng/app/api/urls.py index 4ea6ebeb8f..a0ab91f732 100644 --- a/galaxy_ng/app/api/urls.py +++ b/galaxy_ng/app/api/urls.py @@ -2,8 +2,8 @@ from django.urls import include, path from . import views -from .ui import urls as ui_urls -from .ui_v2 import urls as ui_v2_urls +from .ui.v1 import urls as ui_v1_urls +from .ui.v2 import urls as ui_v2_urls from .v1 import urls as v1_urls from .v3 import urls as v3_urls @@ -60,7 +60,7 @@ ] urlpatterns = [ - path("_ui/", include((ui_urls, app_name), namespace="ui")), + path("_ui/", include((ui_v1_urls, app_name), namespace="ui")), path("_ui/v2/", include((ui_v2_urls, app_name), namespace="ui_v2")), path("", include((v3_combined, app_name), namespace='v3')),