golf/views/view_course.py
def editCourseTees(request, courseId):
    """
    View function for editting the list of course holes and tees
    """
    courseTees = list(CourseTee.objects.filter(course_id=courseId).values('id', 'default', 'priority', 'name', 'slope', 'color'))
    context = {
        'courseId': courseId,
        'courseTees': courseTees
    }
    return render(request, 'golf/editcoursetees.html', context=context)

    View function for editting the list of course holes and tees
    
View function for editting the list of course holes and tees
View function for editting the list of course holes and tees
def editCourseTees(request, courseId):
    courseTees = list(CourseTee.objects.filter(course_id=courseId).values('id', 'default', 'priority', 'name', 'slope', 'color'))
    context = {
        'courseId': courseId,
        'courseTees': courseTees
    }
    return render(request, 'golf/editcoursetees.html', context=context)
def editCourseTees ( request , courseId ) : courseTees = list ( CourseTee . objects . filter ( course_id = courseId ) . values ( 'id' , 'default' , 'priority' , 'name' , 'slope' , 'color' ) ) context = { 'courseId' : courseId , 'courseTees' : courseTees } return render ( request , 'golf/editcoursetees.html' , context = context )
View function for editting the list of course holes and tees
View function for editting the list of course holes and tees
"""
    View function for editting the list of course holes and tees
    """
request
courseId