#30300: Allow migrations directories without __init__.py files
-------------------------------------+-------------------------------------
Reporter: Benjy Weinberger | Owner: Benjy
| Weinberger
Type: New feature | Status: assigned
Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Václav Řehák):
We had a similar issue with test discovery. One of our developers read an
article that `__init__.py` files are not required on Python3 and started
removing them. Everything seemingly worked but some tests were not
discovered and did not run in CI (which made it difficult to spot).
I think Django should not required them if technically possible or at
least it should be made clear in the documentation (sorry if I overlooked
it).
--
Ticket URL: <https://code.djangoproject.com/ticket/30300#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.fe614d28b752ab12369cdcc37070c620%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.