diff --git a/django_code/cloudmanager/views.py b/django_code/cloudmanager/views.py
new file mode 100644
index 0000000..616e7e0
--- /dev/null
+++ b/django_code/cloudmanager/views.py
@@ -0,0 +1,9 @@
+from django.http import HttpResponse
+
+def trigger_my_action(request):
+ # 1. Run your Django module/function
+ result = "1"
+ print('here')
+ # 2. Return ONLY the HTML fragment you want to show on the page
+ # This will replace the content inside the "hx-target" div
+ return HttpResponse("Done!")
\ No newline at end of file
diff --git a/django_code/django_code/urls.py b/django_code/django_code/urls.py
index 6fb762c..b847d70 100644
--- a/django_code/django_code/urls.py
+++ b/django_code/django_code/urls.py
@@ -17,7 +17,8 @@ Including another URLconf
from django.contrib import admin
from django.urls import path
from cloudmanager import (credentials,db_interaction)
-from cloudmanager import apps as cloudmanager_apps
+from cloudmanager import apps as cloudmanager_apps
+from cloudmanager import views as cloudmanager_views
from random_simpsons import apps as random_simpsons
from paperless_django import apps as paperless_django
from onenote import apps as onenote
@@ -92,6 +93,8 @@ urlpatterns = [
################### cloudmanager ###################
path('cmm/', cloudmanager_apps.redirect),
path('cmm/hello', cloudmanager_apps.hello),
+ path('cmm/print', cloudmanager_apps.print),
+ path('cmm/run-action/', cloudmanager_views.trigger_my_action, name='run_my_action_url'),
path('cmm/main/', db_interaction.main),
]