The following information reflects what is new in the edX Platform this week.
EdX is not issuing a platform release this week. Instead, edX has completed an upgrade of Django, the web framework that edX uses to develop Studio, the LMS, and Insights. This upgrade does not result in any user-visible changes.
The edX engineering wiki Release Pages provide access to detailed information about every change made to the edx-platform GitHub repository. If you are interested in additional information about every change in a release, create a user account for the wiki and review the dated release pages.
EdX has just completed an upgrade from Django 1.4 to Django 1.8.
This upgrade includes the following changes as well as several additional changes. For more information, see the Django 1.8 Upgrade Release Notes page on the edX wiki or the Django 1.8 pull request in GitHub.
commit_on_success decorator is no longer available. You can use the
outer_atomic decorator instead.
To avoid exceptions when you create models, edX recommends that you use the following pattern.
if need_to_create_model: try: with transaction.atomic(): MyFancyModel.create(**kwargs) except IntegrityError: # Model has already been created. log.warning("Something...")
egg_namevalue in each GitHub-based
requirements.txtline must match the
namevalue in the
setup.pyfile of the repository.
-e) prefix only when necessary.