Opened 12 years ago
Closed 11 years ago
#21015 closed Bug (fixed)
MigrationLoader trips on file modules and empty directories called migrations.
Reported by: | loic84 | Owned by: | |
---|---|---|---|
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 |
Pull Requests: | How to create a pull request | ||
Description ¶
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)
comment:1 by , 12 years ago
Has patch: | set |
---|
comment:2 by , 11 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:3 by , 11 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
PR https://github.com/django/django/pull/1541.