Fix Djblets packaging on newer versions of Django.
Review Request #7622 — Created Sept. 10, 2015 and submitted — Latest diff uploaded
This brings over some of the other packaging fixes we have from other
projects, in order to enable the Djblets package to be built against
Django 1.7/1.8.The primary differences are that we must now call django.setup() on
these versions, and we need to call the management command for building
localization files using the proper machinery instead of directly
importing and calling the command's internal functions.
Built the Djblets packages against both Django 1.6 and 1.8, without any
problems.