from django.urls import path

from django_ses.views import DashboardView, dashboard


urlpatterns = [
    path('', DashboardView.as_view(), name='django_ses_stats'),
    path('', dashboard, name='django_ses_stats'),
]

from django.urls import path

from django_ses.views import DashboardView


urlpatterns = [
    path('', DashboardView.as_view(), name='django_ses_stats'),
]

Remove dashboard path