Exemple #1
0
def delete_assignment(assignment_pk):
	model.delete_assignment(assignment_pk)
	assignments = model.get_assignments()
	return render_template('assignmentlist.html', user = current_user, assignments=assignments)
Exemple #2
0
def delete_assignment(assignment_pk):
    model.delete_assignment(assignment_pk)
    assignments = model.get_assignments()
    return render_template('assignmentlist.html',
                           user=current_user,
                           assignments=assignments)
Exemple #3
0
def list_assignments():
	assignments = model.get_assignments()
	return render_template('assignmentlist.html', assignments=assignments, user=current_user)
Exemple #4
0
def list_assignments():
    assignments = model.get_assignments()
    return render_template('assignmentlist.html',
                           assignments=assignments,
                           user=current_user)