18 lines
1.1 KiB
Python
Executable File
18 lines
1.1 KiB
Python
Executable File
from django.urls import path
|
|
from scriptAudit import views
|
|
from django.views.generic import TemplateView
|
|
|
|
urlpatterns = [
|
|
# path("home", views.AuditHomeView.as_view(), name="upload_audit"),#fetch from backup
|
|
path("counter_run", views.Get_Counter.as_view(), name="counter_run"),
|
|
# path("fetch_in_counter", views.Fetch_in_Counter.as_view(), name="fetch_in_counter"),
|
|
path("audit-blockchain_", views.AuditedScriptsView_Without_blockchain.as_view(), name="new_audited_page"), #new audited page
|
|
path("audits1", views.AuditedScriptsView_With_Blockchain.as_view(), name="new_audited_page1"), #new audited page
|
|
path("download",views.DownloadScript.as_view()),
|
|
path("delete_scripts/<str:screen_play>", views.DeleteScriptAPIView.as_view(),name="delete_script"),
|
|
path("audit_tutorial",TemplateView.as_view(template_name = "audit/audit_tutorial.html"),name="audit_tutorial"),
|
|
path("scriptAuditDemo", TemplateView.as_view(template_name = "audit/audit_demo.html"), name="scriptAuditDemo"),
|
|
path("downloadScriptFromBlockchain",views.DownloadScriptFromBlockchain.as_view()),
|
|
|
|
]
|
|
# path('view/',login_required(ViewSpaceIndex.as_view(..)), |