-
-
-
-
contrib/internal/build-media.py (Diff revision 1) Col: 1 E402 module level import not at top of file
Fix Djblets packaging on newer versions of Django.
Review Request #7622 — Created Sept. 10, 2015 and submitted
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.
Change Summary:
- Removed an unused import.
Description: |
|
|||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+25 -8) |
-
Tool: Pyflakes Processed Files: contrib/internal/build-i18n.py contrib/internal/build-media.py Tool: PEP8 Style Checker Processed Files: contrib/internal/build-i18n.py contrib/internal/build-media.py
-
-
contrib/internal/build-media.py (Diff revision 2) Col: 1 E402 module level import not at top of file