attpcdaq.daq.views.pages.choose_config

attpcdaq.daq.views.pages.choose_config(request, pk)[source]

Renders a page for choosing the config for an ECC server.

This renders the ConfigSelectionForm to pick the configuration.

Parameters:
  • request (HttpRequest) – The request object
  • pk (int) – The primary key of the ECC server to configure.
Returns:

Redirects back to the main page on success.

Return type:

HttpResponse