Command

Qualified name: intranet.apps.dataimport.management.commands.delete\_users.Command

class intranet.apps.dataimport.management.commands.delete_users.Command(stdout=None, stderr=None, no_color=False, force_color=False)[source]

Bases: BaseCommand

Methods

add_arguments

ask

handle

read_student_ids

Read student IDs from the given filename.

Attributes

help

read_student_ids(filename: str, column_header: str)[source]

Read student IDs from the given filename.

Parameters:
  • filename – Filename of the CSV to read from.

  • column_header – Column header of the Student ID column.

Returns:

A list of user IDs.