Ejemplo n.º 1
0
def import_offering_members(offering, students=True):
    """
    Import all data for the course: instructors, TAs, students, meeting times.
    
    students=False used by test/demo importers
    """
    import_instructors(offering)
    if students:
        import_students(offering)
    import_meeting_times(offering)
    if settings.SVN_DB_CONNECT:
        update_offering_repositories(offering)
Ejemplo n.º 2
0
def import_offering_members(offering, students=True):
    """
    Import all data for the course: instructors, TAs, students, meeting times.
    
    students=False used by test/demo importers
    """
    import_instructors(offering)
    if students:
        import_students(offering)
    import_meeting_times(offering)
    if settings.SVN_DB_CONNECT:
        update_offering_repositories(offering)
Ejemplo n.º 3
0
def import_all_offering_repositories(strm):
    if not settings.SVN_DB_CONNECT:
        return

    for o in CourseOffering.objects.filter(semester__name=strm):
        update_offering_repositories(o)
Ejemplo n.º 4
0
def import_all_offering_repositories(strm):
    if not settings.SVN_DB_CONNECT:
        return

    for o in CourseOffering.objects.filter(semester__name=strm):
        update_offering_repositories(o)