diff --git a/config/settings/common.py b/config/settings/common.py index 8cbfe57..6eb2a84 100644 --- a/config/settings/common.py +++ b/config/settings/common.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- """ -Django settings for WAStD project. +Django settings for TSC project. For more information on this file, see https://docs.djangoproject.com/en/dev/topics/settings/ @@ -792,7 +792,7 @@ # Error reporting -TSC_RELEASE = env("TSC_RELEASE", default="master") +TSC_RELEASE = env("TSC_RELEASE", default="main") if env('SENTRY_DSN', False): # RAVEN_CONFIG = {'dsn': env('SENTRY_DSN')} sentry_sdk.init( diff --git a/config/urls.py b/config/urls.py index 752bf75..56f73ba 100644 --- a/config/urls.py +++ b/config/urls.py @@ -28,8 +28,8 @@ actions.add_to_site(site) urlpatterns = [ - path('', cache_page(60 * 60)(TemplateView.as_view(template_name='pages/index.html')), name='home'), - path('map/', cache_page(60 * 60)(wastd_views.HomeView.as_view()), name='map'), + path('', TemplateView.as_view(template_name='pages/index.html'), name='home'), + # path('map/', cache_page(60 * 60)(wastd_views.HomeView.as_view()), name='map'), path('healthcheck/', TemplateView.as_view(template_name='pages/healthcheck.html'), name='healthcheck'), path(settings.ADMIN_URL, admin.site.urls), diff --git a/occurrence/tests/test_views.py b/occurrence/tests/test_views.py index 0b780aa..1766a38 100644 --- a/occurrence/tests/test_views.py +++ b/occurrence/tests/test_views.py @@ -493,12 +493,6 @@ def test_healthcheck_loads(self): self.assertEqual(response.status_code, 200) self.assertTemplateUsed(response, 'pages/healthcheck.html') - def test_map_loads(self): - """Test map page.""" - response = self.client.get(reverse("map")) - self.assertEqual(response.status_code, 200) - self.assertTemplateUsed(response, 'pages/map.html') - def test_tae_absolute_admin_url_loads(self): """Test absolute admin url.""" response = self.client.get(self.tae.absolute_admin_url) diff --git a/shared/templates/shared/navbar.html b/shared/templates/shared/navbar.html index d5659b0..b3f4dbb 100644 --- a/shared/templates/shared/navbar.html +++ b/shared/templates/shared/navbar.html @@ -268,15 +268,6 @@

{{ settings.SITE_TITLE }}

-