Incoming Student Views¶
-
class
fyt.incoming.views.BaseRegistrationView[source]¶ CBV base for registration form with all contextual information
-
form_class¶ alias of
RegistrationForm
-
model¶ alias of
Registration
-
-
class
fyt.incoming.views.EditSettings(**kwargs)[source]¶ Edit Registration settings - cost, contact info
-
model¶ alias of
Settings
-
-
class
fyt.incoming.views.IfRegistrationAvailable[source]¶ Redirect if trippee registration is not currently available
-
class
fyt.incoming.views.IncomingStudentDelete(**kwargs)[source]¶ Delete an incoming student.
-
model¶ alias of
IncomingStudent
-
-
class
fyt.incoming.views.IncomingStudentIndex(**kwargs)[source]¶ All incoming students
-
model¶ alias of
IncomingStudent
-
-
class
fyt.incoming.views.IncomingStudentPortal(**kwargs)[source]¶ Information for incoming students.
Shows trip assignment, if available, and link to registration.
-
class
fyt.incoming.views.IncomingStudentUpdate(**kwargs)[source]¶ Edit other incoming student information.
-
form_class¶ alias of
TrippeeInfoForm
-
model¶ alias of
IncomingStudent
-
-
class
fyt.incoming.views.MatchRegistrations(**kwargs)[source]¶ Match all registrations for this
trips_year.Backdoor solution in case auto-matching is not working.
Todo
expose this with a link
-
class
fyt.incoming.views.NonStudentRegistration(**kwargs)[source]¶ Used to register a non-student for trips.
This was needed because a TA was going on trips but would not be assigned a netid until mid-September. We needed some way to put her in the system. She won’t be able to log in and see her assignment, but she can be assigned to a trip.
This view creates a registration linked to the sentinel user, and an associated incoming student object.
Todo
I don’t think this will handle more than one no-student registration per year because
sentinel.netidis not unique.-
form_class¶ alias of
RegistrationForm
-
model¶ alias of
Registration
-
-
class
fyt.incoming.views.Register(**kwargs)[source]¶ Register for trips
Redirect to the edit view if this incoming student has already registered.
-
class
fyt.incoming.views.RegistrationDelete(**kwargs)[source]¶ Delete a registration.
-
model¶ alias of
Registration
-
-
class
fyt.incoming.views.RegistrationIndex(**kwargs)[source]¶ All trippee registrations.
-
model¶ alias of
Registration
-
-
class
fyt.incoming.views.RegistrationNotAvailable(**kwargs)[source]¶ View shown if registration is not available.
-
class
fyt.incoming.views.RegistrationUpdate(**kwargs)[source]¶ Edit a registration.
-
form_class¶ alias of
RegistrationForm
-
model¶ alias of
Registration
-
-
class
fyt.incoming.views.UpdateTripAssignment(**kwargs)[source]¶ Edit trip and bus assignments for an incoming student.
-
form_class¶ alias of
AssignmentForm
-
model¶ alias of
IncomingStudent
-
-
class
fyt.incoming.views.UploadIncomingStudentData(**kwargs)[source]¶ Accept an upload of CSV file of incoming students.
Parses the CSV file and adds the data to the database as IncomingStudent objects.
Todo
parse or input the status of the incoming student
Todo
simplify and document the column names
-
form_class¶ alias of
UploadIncomingStudentsForm
-