Skip to content

Commit

Permalink
Disable URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
vik-ma committed Nov 17, 2024
1 parent f086db2 commit be02bff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions app/backend/backend/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
urlpatterns = [
# PPS Backend Dashboard HTML template page
# Comment the first two paths out if deploying (After scraping initial Benchmark Data)
path('', views.pps_dashboard),
path('price_fetcher/', include('price_fetcher.urls')),
# path('', views.pps_dashboard),
# path('price_fetcher/', include('price_fetcher.urls')),

path('api/', include('api.urls')),
]
10 changes: 5 additions & 5 deletions app/backend/price_fetcher/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

urlpatterns = [
# URLs to buttons in pps_dashboard
path('test_button_cpu_g/', views.test_button_cpu_g, name='test_button_cpu_g'),
path('test_button_cpu_n/', views.test_button_cpu_n, name='test_button_cpu_n'),
path('test_button_gpu/', views.test_button_gpu, name='test_button_gpu'),
path('test_button_benchmarks/', views.test_button_benchmarks, name='test_button_benchmarks'),
path('test_button_scrape/', views.test_button_scrape, name='test_button_scrape'),
# path('test_button_cpu_g/', views.test_button_cpu_g, name='test_button_cpu_g'),
# path('test_button_cpu_n/', views.test_button_cpu_n, name='test_button_cpu_n'),
# path('test_button_gpu/', views.test_button_gpu, name='test_button_gpu'),
# path('test_button_benchmarks/', views.test_button_benchmarks, name='test_button_benchmarks'),
# path('test_button_scrape/', views.test_button_scrape, name='test_button_scrape'),
]

urlpatterns += static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)
Expand Down

0 comments on commit be02bff

Please sign in to comment.