learning-unlimited/ESP-Website — pull request #876 by pricem (2013-12-27 22:02:13+00:00)
Title: Deployment fixes

This pull request addresses some minor problems I found while upgrading our sites to the "beta" of the next stable release. Summary below.

* Splashcon: on migration program:0025_add_json_module, django.db.utils.DatabaseError: column modules_studentclassregmoduleinfo.apply_multiplier_to_room_cap does not exist

Fix by using ORM frozen models ProgramModule and ProgramModuleObj and adding module by ID
* Old-Chicago themed sites: content area appears below navbar instead of at same height

This is a code bug. Issue #875. Temporary workaround is to comment code in esp/public/media/scripts/content/user_classes.js that alters the class of the #main div.
* BC: In migration miniblog:0003_remove_anchor,
django.db.utils.DatabaseError: cannot ALTER TABLE "miniblog_entry" because it has pending trigger events

This is a code bug. Solution: add db.start_transaction(), db.commit_transaction() around data related parts of migration.