from django.urls import path from design_template import views from django.shortcuts import redirect app_name = "design" urlpatterns = [ path("", views.upload, name="settings"), path("logo.ico", lambda _ : redirect('SharixAdmin/img/logo.ico', permanent=True)), ]