Changes between Initial Version and Version 1 of Ticket #29570, comment 3
- Timestamp:
- Jul 18, 2018, 11:54:07 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29570, comment 3
initial v1 1 Done : https://github.com/django/django/pull/101961 Done (update): https://github.com/django/django/pull/10201 2 2 3 3 As mentioned in the pull request, the check only runs when staticfiles takes over (ie in DEBUG mode when staticfiles is in the INSTALLED_APPS), since that is when the problem occurs and that's what the warning warns about. 4 4 5 Also, I've fixed the isort failure and most of the flake8 failure but the two remaining are 'E128 continuation line under-indented for visual indent' which seems to be due to the recommended style by Django, and the related 'E125 continuation line with same indent as next logical line'. 6 7 Could someone look at that bit of code and tell me which format would be acceptable for the project please? 8 ie 9 10 {{{ 11 with self.assertWarnsMessage(UserWarning, 12 'The contrib.staticfiles app will not serve media if MEDIA_URL is within STATIC_URL'): 13 }}}