This is an automated email from the ASF dual-hosted git repository.
yasithdev pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airavata-portals.git
The following commit(s) were added to refs/heads/main by this push:
new 29d031915 Remove dead portal Python code (#216)
29d031915 is described below
commit 29d031915b4deb709c6c8386f5945019f3bc01ee
Author: Yasith Jayawardana <[email protected]>
AuthorDate: Sat Jun 13 00:56:21 2026 -0400
Remove dead portal Python code (#216)
- api/web.py: unused _cls_or/_cls_and/_cls_invert helpers — superseded by
the
inline monkeypatch lambdas that set
OperationHolderMixin.__or__/__and__/__invert__
(0 callers).
- admin/views.py: compute_resource view and its admin/compute_resource.html
template — the view has no URL route anywhere.
- api/helpers.py: unused _can_read (0 callers); the live permission check
is _can_write.
---
.../apps/admin/templates/admin/compute_resource.html | 8 --------
1 file changed, 8 deletions(-)
diff --git
a/airavata-django-portal/django_airavata/apps/admin/templates/admin/compute_resource.html
b/airavata-django-portal/django_airavata/apps/admin/templates/admin/compute_resource.html
deleted file mode 100644
index 517140381..000000000
---
a/airavata-django-portal/django_airavata/apps/admin/templates/admin/compute_resource.html
+++ /dev/null
@@ -1,8 +0,0 @@
-{% extends "admin/admin_base.html"%}
-{% load static %}
-{% block scripts %}
- <script>
- window.airavataDashboardName='group_resource_preference_dashboard';
- </script>
- {{ block.super }}
-{% endblock %}