Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Remove unused view
Marcin Gębala8fe32a14443d
diff --git a/saleor/core/views.py b/saleor/core/views.pyindex 8c7e91ec5c..b11bf1056d 100644--- a/saleor/core/views.py+++ b/saleor/core/views.py@@ -38,10 +38,6 @@ def impersonate(request, uid):return response-def offline(request):- return TemplateResponse(request, 'offline.html', {})--def handle_404(request):return TemplateResponse(request, '404.html', status=404)diff --git a/templates/offline.html b/templates/offline.htmldeleted file mode 100644index b3dd7e6f28..0000000000--- a/templates/offline.html+++ /dev/null@@ -1,7 +0,0 @@-{% extends "base.html" %}-{% load i18n %}--{% block content %}- <h1 class="text-center mt-5">Offline mode</h1>- <div class="text-center">{% trans 'You need internet connection to use this app' context 'Eror no internet connection' %}</div>-{% endblock %}