views

Functions

add_period_view(request, course_id)[source]

Creates a period and associated it with a course

Parameters:
  • request – The HTTP request

  • course_id – The primary key of an instance of Course

create_view(request)[source]

Creates a course

Parameters:

request – The HTTP request

edit_period_view(request, course_id, period_id)[source]

Edits a period

Parameters:
  • request – The HTTP request

  • course_id – The primary key of an instance of Course

  • period_id – The primary key of an instance of Period

edit_view(request, course_id)[source]

Edits a course

Parameters:
  • request – The HTTP request

  • course_id – The primary key of an instance of Course

import_from_selected_course(request, course_id, other_course_id)[source]

Select folders and assignments to import from another course

Parameters:
  • request – The HTTP request

  • course_id – The primary key of an instance of Course

  • other_course_id – The primary key of a difference instance of Course

import_select_course_view(request, course_id)[source]

Select another course to import assignments or folders from

Parameters:
  • request – The HTTP request

  • course_id – The primary key of an instance of Course

import_students_view(request, course_id)[source]

Add students to a course

This puts students in a queue so that when they log in again, they get added to the course

Parameters:
  • request – The HTTP request

  • course_id – The primary key of an instance of Course

index_view(request)[source]

Lists all courses

Parameters:

request – The request

manage_students_view(request, course_id)[source]

Add/remove students from a coure

Parameters:
  • request – The HTTP request

  • course_id – The primary key of an instance of Course

show_view(request, course_id)[source]

Lists information about a course

Parameters:
  • request – The HTTP request

  • course_id – The primary key of an instance of Course

students_view(request, course_id)[source]

View students enrolled in a course

Parameters:
  • request – The HTTP request

  • course_id – The primary key of an instance of Course