#29039: Disabling migrations doesn't work with --keepdb
-------------------------------------+-------------------------------------
Reporter: Vackar Afzal | Owner: Anoosha
| keen
Type: Uncategorized | Status: assigned
Component: Migrations | Version: 1.11
Severity: Normal | Resolution:
Keywords: database, tests, | Triage Stage:
migrations | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Anoosha keen):
**Output is this:**
python manage.py runserver
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Performing system checks...
System check identified no issues (0 silenced).
Unhandled exception in thread started by <function
check_errors.<locals>.wrapper at 0x7f570f8098c8>
Traceback (most recent call last):
File "/home/anoosha/django/django/utils/autoreload.py", line 220, in
wrapper
fn(*args, **kwargs)
File
"/home/anoosha/django/django/core/management/commands/runserver.py", line
113, in inner_run
self.check_migrations()
File
"/home/anoosha/django/django/core/management/commands/runserver.py", line
159, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
File "/home/anoosha/django/django/db/migrations/executor.py", line 19,
in __init__
self.loader = MigrationLoader(self.connection)
File "/home/anoosha/django/django/db/migrations/loader.py", line 49, in
__init__
self.build_graph()
File "/home/anoosha/django/django/db/migrations/loader.py", line 178, in
build_graph
self.load_disk()
File "/home/anoosha/django/django/db/migrations/loader.py", line 71, in
load_disk
module = import_module(module_name)
File
"/home/anoosha/.virtualenvs/djangodev/lib/python3.5/importlib/__init__.py",
line 117, in import_module
if name.startswith('.'):
AttributeError: 'NoneType' object has no attribute 'startswith'
--
Ticket URL: <https://code.djangoproject.com/ticket/29039#comment:4>
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/069.872eaafca2205b1245fd8a5a49f29662%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.