Skip to content

Instantly share code, notes, and snippets.

@collinanderson
Created January 15, 2015 14:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save collinanderson/db18bae45f6ed3e05a8a to your computer and use it in GitHub Desktop.
Save collinanderson/db18bae45f6ed3e05a8a to your computer and use it in GitHub Desktop.
Python 3.4.2 (v3.4.2:ab2c023a9432, Oct 5 2014, 20:42:22)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
sys.path[0] is '/Users/collin/django1.8/tests'
os.listdir('/Users/collin/django1.8/tests/migrations/migrations_22') is ['0001_my_initial_migration.py', '__init__.py']
self.migration_pkg is 'migrations.migrations_22'
Traceback (most recent call last):
File "/Users/collin/django1.8/tests/migrations/test_commands.py", line 702, in test_makemigrations_with_custom_name
importlib.import_module(self.migration_pkg)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/importlib/__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2224, in _find_and_load_unlocked
ImportError: No module named 'migrations.migrations_22'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment