from django.urls import path from .views import list_connections, sync, toggle_connection, delete_connection from django.views.generic import RedirectView urlpatterns = [ path("", RedirectView.as_view(pattern_name="connections_list"), name="home"), path("connections/", list_connections, name="connections_list"), path("toggle_connection/", toggle_connection, name="toggle_connection"), path("delete_connection/", delete_connection, name="connection_delete"), path("sync", sync, name="sync"), ]