Changes between Version 1 and Version 2 of Ticket #23366, comment 5


Ignore:
Timestamp:
Sep 12, 2014, 2:02:48 AM (10 years ago)
Author:
Lukas Schulze

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23366, comment 5

    v1 v2  
    1010Add to your setting.py {{{AUTH_USER_MODEL = 'accounts.MyUser'}}} and now run
    1111 $ ./manage.py migrate --list
     12
     13
     14The error message:
     15
     16{{{
     17Traceback (most recent call last):
     18  File "./manage.py", line 10, in <module>
     19    execute_from_command_line(sys.argv)
     20  File "/var/dev/project/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
     21    utility.execute()
     22  File "/var/dev/project/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
     23    self.fetch_command(subcommand).run_from_argv(self.argv)
     24  File "/var/dev/project/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
     25    self.execute(*args, **options.__dict__)
     26  File "/var/dev/project/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
     27    output = self.handle(*args, **options)
     28  File "/var/dev/project/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 60, in handle
     29    return self.show_migration_list(connection, args)
     30  File "/var/dev/project/local/lib/python2.7/site-packages/django/core/management/commands/migrate.py", line 307, in show_migration_list
     31    loader = MigrationLoader(connection)
     32  File "/var/dev/project/local/lib/python2.7/site-packages/django/db/migrations/loader.py", line 48, in __init__
     33    self.build_graph()
     34  File "/var/dev/project/local/lib/python2.7/site-packages/django/db/migrations/loader.py", line 239, in build_graph
     35    parent = self.check_key(parent, key[0])
     36  File "/var/dev/project/local/lib/python2.7/site-packages/django/db/migrations/loader.py", line 163, in check_key
     37    raise ValueError("Dependency on app with no migrations: %s" % key[0])
     38ValueError: Dependency on app with no migrations: accounts
     39}}}
Back to Top