From 1e435fefcb63160b5189137584a49f73c4da9d3d Mon Sep 17 00:00:00 2001 From: gfawcett Date: Mon, 9 Mar 2009 23:49:30 +0000 Subject: [PATCH] added some test data for Art. git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@161 6d9bc8c9-1ec2-4278-b937-99fde70a366f --- conifer/custom/course_codes.py | 1 + conifer/custom/course_sections.py | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/conifer/custom/course_codes.py b/conifer/custom/course_codes.py index 0759ea6..7c34d35 100644 --- a/conifer/custom/course_codes.py +++ b/conifer/custom/course_codes.py @@ -111,6 +111,7 @@ _codes = [('ENG100', 'Introduction to English'), ('ART108', 'English: An Introduction'), ('FRE238', 'Modern French Literature'), + ('LIB201', 'Intro to Library Science'), ('WEB203', 'Advanced Web Design'),] _crosslists = set(['ENG100', 'ART108']) diff --git a/conifer/custom/course_sections.py b/conifer/custom/course_sections.py index 02bce4d..4003e0b 100644 --- a/conifer/custom/course_sections.py +++ b/conifer/custom/course_sections.py @@ -116,9 +116,15 @@ sections_for_code_and_term = None sections_tuple_delimiter = '|' +# For any of the students to actually appear in a course site, they +# must also exist as Django users (or be in an authentication backend +# that supports 'maybe_initialize_user'; see auth_evergreen.py). + _db = [ + #(instructor, (term, code, sec-code), 'student1 student2 ... studentN'), ('fred', ('2009W', 'ENG203', '1'), 'jim joe jack ellen ed'), ('fred', ('2009W', 'ENG327', '1'), 'ed paul bill'), + ('art', ('2009W', 'LIB201', '1'), 'graham bill ed'), ('graham', ('2009S', 'ART108', '1'), 'alan june jack'), ('graham', ('2009S', 'ART108', '2'), 'emmet'), ('graham', ('2009S', 'ART108', '3'), 'freda hugo bill'), -- 2.11.0