from django.conf.urls import include
from django.contrib.admin.views.decorators import staff_member_required
from django.urls import path

from conf_site.proposals.views import ExportProposalSubmittersView


urlpatterns = [
    path(
        "export/",
        staff_member_required(ExportProposalSubmittersView.as_view()),
        name="proposal_submitter_export",
    ),
    path("", include("symposion.proposals.urls")),
]

from django.conf.urls import include
from django.contrib.admin.views.decorators import staff_member_required
from django.urls import path

from conf_site.proposals.views import ExportProposalSubmittersView


urlpatterns = [
    path(
        "submitters/export/",
        staff_member_required(ExportProposalSubmittersView.as_view()),
        name="proposal_submitter_export",
    ),
    path("", include("symposion.proposals.urls")),
]

Change location of proposal submitters CSV export.
Change location of proposal submitters CSV export.

"/proposals/submitters/export/" is a more accurate URL than
/proposals/export/", since the CSV file contains information about the
people submitting proposals and not the proposals themselves.

  from django.conf.urls import include
  from django.contrib.admin.views.decorators import staff_member_required
  from django.urls import path
  
  from conf_site.proposals.views import ExportProposalSubmittersView
  
  
  urlpatterns = [
      path(
-         "export/",
+         "submitters/export/",
          staff_member_required(ExportProposalSubmittersView.as_view()),
          name="proposal_submitter_export",
      ),
      path("", include("symposion.proposals.urls")),
  ]
  
Change location of proposal submitters CSV export.
## Code Before:
from django.conf.urls import include
from django.contrib.admin.views.decorators import staff_member_required
from django.urls import path

from conf_site.proposals.views import ExportProposalSubmittersView


urlpatterns = [
    path(
        "export/",
        staff_member_required(ExportProposalSubmittersView.as_view()),
        name="proposal_submitter_export",
    ),
    path("", include("symposion.proposals.urls")),
]

## Instruction:
Change location of proposal submitters CSV export.
## Code After:
from django.conf.urls import include
from django.contrib.admin.views.decorators import staff_member_required
from django.urls import path

from conf_site.proposals.views import ExportProposalSubmittersView


urlpatterns = [
    path(
        "submitters/export/",
        staff_member_required(ExportProposalSubmittersView.as_view()),
        name="proposal_submitter_export",
    ),
    path("", include("symposion.proposals.urls")),
]
