Changes between Initial Version and Version 1 of Ticket #30300, comment 7


Ignore:
Timestamp:
Mar 29, 2019, 8:54:43 PM (5 years ago)
Author:
Tim Graham

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30300, comment 7

    initial v1  
    33It 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.
    44
    5 And https://code.djangoproject.com/ticket/29091 implies that this should be allowed.
     5And #29091 implies that this should be allowed.
    66
    77Context 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.
Back to Top