Changes between Initial Version and Version 1 of Ticket #30300, comment 7
- Timestamp:
- Mar 29, 2019, 8:54:43 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #30300, comment 7
initial v1 3 3 It seems unnecessary to insist on an empty `__init__.py` just to preserve a (stale) check for `__file__`, when they are otherwise not required in Python 3. 4 4 5 And https://code.djangoproject.com/ticket/29091 implies that this should be allowed.5 And #29091 implies that this should be allowed. 6 6 7 7 Context is: We've just finished migrating our codebase to all-python 3, and nuked all our `__init__py` files. We are now upgrading to Django 2.1, and noticing the various places where they're still de-facto required by Django. This particular case seemed unnecessary and easy to fix.