Skip to content

Commit

Permalink
bug fix in urls
Browse files Browse the repository at this point in the history
  • Loading branch information
usmannasir committed Oct 25, 2023
1 parent fde3560 commit 2fa3a83
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions baseTemplate/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,22 @@
from . import views

urlpatterns = [
path('', views.renderBase, name='index'),
path('getSystemStatus', views.getSystemStatus, name='getSystemInformation'),
path('getAdminStatus', views.getAdminStatus, name='getSystemInformation'),
path('getLoadAverage', views.getLoadAverage, name='getLoadAverage'),
path('versionManagment', views.versionManagement, name='versionManagement'),
path('design', views.design, name='design'),
path('getthemedata', views.getthemedata, name='getthemedata'),
url(r'^$', views.renderBase, name='index'),
url(r'^getSystemStatus$',views.getSystemStatus, name='getSystemInformation'),
url(r'^getAdminStatus',views.getAdminStatus, name='getSystemInformation'),
url(r'^getLoadAverage',views.getLoadAverage, name='getLoadAverage'),
url(r'^versionManagment',views.versionManagement, name='versionManagment'),
url(r'^design', views.design, name='design'),
url(r'^getthemedata', views.getthemedata, name='getthemedata'),

#url(r'^upgrade',views.upgrade, name='upgrade'),

url(r'^UpgradeStatus',views.upgradeStatus, name='UpgradeStatus'),
url(r'^upgradeVersion',views.upgradeVersion, name='upgradeVersion'),

# Add this URL pattern for 'upgrade_cyberpanel'
path('upgrade_cyberpanel', views.upgrade_cyberpanel, name='upgrade_cyberpanel'),
url(r'upgrade_cyberpanel', views.upgrade_cyberpanel, name='upgrade_cyberpanel'),
url(r'UpgradeStatus', views.upgradeStatus, name='UpgradeStatus'),
url(r'upgradeVersion', views.upgradeVersion, name='upgradeVersion'),

path('UpgradeStatus', views.upgradeStatus, name='UpgradeStatus'),
path('upgradeVersion', views.upgradeVersion, name='upgradeVersion'),
]
]

0 comments on commit 2fa3a83

Please sign in to comment.