[open-ils-commits] r161 - servres/trunk/conifer/custom (gfawcett)

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Mar 9 19:49:30 EDT 2009


Author: gfawcett
Date: 2009-03-09 19:49:30 -0400 (Mon, 09 Mar 2009)
New Revision: 161

Modified:
   servres/trunk/conifer/custom/course_codes.py
   servres/trunk/conifer/custom/course_sections.py
Log:
added some test data for Art.


Modified: servres/trunk/conifer/custom/course_codes.py
===================================================================
--- servres/trunk/conifer/custom/course_codes.py	2009-03-09 23:49:27 UTC (rev 160)
+++ servres/trunk/conifer/custom/course_codes.py	2009-03-09 23:49:30 UTC (rev 161)
@@ -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'])

Modified: servres/trunk/conifer/custom/course_sections.py
===================================================================
--- servres/trunk/conifer/custom/course_sections.py	2009-03-09 23:49:27 UTC (rev 160)
+++ servres/trunk/conifer/custom/course_sections.py	2009-03-09 23:49:30 UTC (rev 161)
@@ -116,9 +116,15 @@
 
 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'),



More information about the open-ils-commits mailing list