Make module system handle not having a user, and pass a user in when previewing in the cms

This commit is contained in:
Calen Pennington
2012-09-05 13:29:30 -04:00
parent 82c877c036
commit 7702907662
2 changed files with 2 additions and 1 deletions

View File

@@ -215,6 +215,7 @@ def preview_module_system(request, preview_id, descriptor):
render_template=render_from_lms,
debug=True,
replace_urls=replace_urls,
user=request.user,
)