added some test data for Art.
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Mon, 9 Mar 2009 23:49:30 +0000 (23:49 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Mon, 9 Mar 2009 23:49:30 +0000 (23:49 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@161 6d9bc8c9-1ec2-4278-b937-99fde70a366f

conifer/custom/course_codes.py
conifer/custom/course_sections.py

index 0759ea6..7c34d35 100644 (file)
 _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'])
index 02bce4d..4003e0b 100644 (file)
@@ -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'),