MigrationLoader trips on file modules and empty directories called migrations.
Reported by: |
loic84 |
Owned by: |
Tim Graham <timograham@…> |
Component:
|
Migrations
|
Version:
|
dev
|
Severity:
|
Normal
|
Keywords:
|
|
Cc:
|
|
Triage Stage:
|
Accepted
|
Has patch:
|
yes
|
Needs documentation:
|
no
|
Needs tests:
|
no
|
Patch needs improvement:
|
no
|
Easy pickings:
|
no
|
UI/UX:
|
no
|
File "/Users/loic/Dev/django/django/db/migrations/loader.py", line 75, in load_disk
directory = os.path.dirname(module.__file__)
AttributeError: 'module' object has no attribute '__file__'
Change History
(3)
Triage Stage: |
Unreviewed → Accepted
|
Owner: |
set to Tim Graham <timograham@…>
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
PR https://github.com/django/django/pull/1541.