"""Note that for this to work at all, you must have memcached running (or you won'tget shared sessions)"""fromcoursesimport*# Move this to a shared file later:forclass_id,db_nameinCLASSES_TO_DBS.items():DATABASES[class_id]={'ENGINE':'django.db.backends.sqlite3','NAME':path_for_db(db_name)}