urls.py 329 B

123456789101112
  1. from django.urls import path
  2. from design_template import views
  3. from django.shortcuts import redirect
  4. app_name = "design"
  5. urlpatterns = [
  6. path("", views.upload, name="settings"),
  7. path("logo.ico", lambda _ : redirect('SharixAdmin/img/logo.ico', permanent=True)),
  8. path("colors", views.change_colors, name="colors"),
  9. ]