1 | $ ./manage.py migrate --database=mysite -v2
|
---|
2 | Operations to perform:
|
---|
3 | Apply all migrations: admin, sites, contenttypes, auth, sessions
|
---|
4 | Running pre-migrate handlers for application admin
|
---|
5 | Running pre-migrate handlers for application auth
|
---|
6 | Running pre-migrate handlers for application contenttypes
|
---|
7 | Running pre-migrate handlers for application sessions
|
---|
8 | Running pre-migrate handlers for application sites
|
---|
9 | Running migrations:
|
---|
10 | Rendering model states... DONE (0.000s)
|
---|
11 | Applying contenttypes.0001_initial... OK (0.205s)
|
---|
12 | Applying auth.0001_initial... OK (0.235s)
|
---|
13 | Applying admin.0001_initial... OK (0.243s)
|
---|
14 | Applying auth.0002_alter_permission_name_max_length... OK (0.169s)
|
---|
15 | Applying auth.0003_alter_user_email_max_length... OK (0.202s)
|
---|
16 | Applying auth.0004_alter_user_username_opts... OK (0.210s)
|
---|
17 | Applying auth.0005_alter_user_last_login_null... OK (0.235s)
|
---|
18 | Applying contenttypes.0002_remove_content_type_name... OK (0.218s)
|
---|
19 | Applying sessions.0001_initial... OK (0.211s)
|
---|
20 | Applying sites.0001_initial... OK (0.201s)
|
---|
21 | Running post-migrate handlers for application admin
|
---|
22 | Adding permission 'admin | log entry | Can add log entry'
|
---|
23 | Adding permission 'admin | log entry | Can change log entry'
|
---|
24 | Adding permission 'admin | log entry | Can delete log entry'
|
---|
25 | Running post-migrate handlers for application auth
|
---|
26 | Adding permission 'auth | permission | Can add permission'
|
---|
27 | Adding permission 'auth | permission | Can change permission'
|
---|
28 | Adding permission 'auth | permission | Can delete permission'
|
---|
29 | Adding permission 'auth | group | Can add group'
|
---|
30 | Adding permission 'auth | group | Can change group'
|
---|
31 | Adding permission 'auth | group | Can delete group'
|
---|
32 | Adding permission 'auth | user | Can add user'
|
---|
33 | Adding permission 'auth | user | Can change user'
|
---|
34 | Adding permission 'auth | user | Can delete user'
|
---|
35 | Running post-migrate handlers for application contenttypes
|
---|
36 | Adding permission 'contenttypes | content type | Can add content type'
|
---|
37 | Adding permission 'contenttypes | content type | Can change content type'
|
---|
38 | Adding permission 'contenttypes | content type | Can delete content type'
|
---|
39 | Running post-migrate handlers for application sessions
|
---|
40 | Adding permission 'sessions | session | Can add session'
|
---|
41 | Adding permission 'sessions | session | Can change session'
|
---|
42 | Adding permission 'sessions | session | Can delete session'
|
---|
43 | Running post-migrate handlers for application sites
|
---|
44 | Adding permission 'sites | site | Can add site'
|
---|
45 | Adding permission 'sites | site | Can change site'
|
---|
46 | Adding permission 'sites | site | Can delete site'
|
---|
47 | Traceback (most recent call last):
|
---|
48 | File "./manage.py", line 10, in <module>
|
---|
49 | execute_from_command_line(sys.argv)
|
---|
50 | File "/home/thomas/dev/nemopay/django/django/core/management/__init__.py", line 330, in execute_from_command_line
|
---|
51 | utility.execute()
|
---|
52 | File "/home/thomas/dev/nemopay/django/django/core/management/__init__.py", line 322, in execute
|
---|
53 | self.fetch_command(subcommand).run_from_argv(self.argv)
|
---|
54 | File "/home/thomas/dev/nemopay/django/django/core/management/base.py", line 347, in run_from_argv
|
---|
55 | self.execute(*args, **cmd_options)
|
---|
56 | File "/home/thomas/dev/nemopay/django/django/core/management/base.py", line 398, in execute
|
---|
57 | output = self.handle(*args, **options)
|
---|
58 | File "/home/thomas/dev/nemopay/django/django/core/management/commands/migrate.py", line 193, in handle
|
---|
59 | emit_post_migrate_signal(self.verbosity, self.interactive, connection.alias)
|
---|
60 | File "/home/thomas/dev/nemopay/django/django/core/management/sql.py", line 50, in emit_post_migrate_signal
|
---|
61 | using=db)
|
---|
62 | File "/home/thomas/dev/nemopay/django/django/dispatch/dispatcher.py", line 203, in send
|
---|
63 | response = receiver(signal=self, sender=sender, **named)
|
---|
64 | File "/home/thomas/dev/nemopay/django/django/contrib/sites/management.py", line 20, in create_default_site
|
---|
65 | if not Site.objects.exists():
|
---|
66 | File "/home/thomas/dev/nemopay/django/django/db/models/manager.py", line 127, in manager_method
|
---|
67 | return getattr(self.get_queryset(), name)(*args, **kwargs)
|
---|
68 | File "/home/thomas/dev/nemopay/django/django/db/models/query.py", line 642, in exists
|
---|
69 | return self.query.has_results(using=self.db)
|
---|
70 | File "/home/thomas/dev/nemopay/django/django/db/models/sql/query.py", line 460, in has_results
|
---|
71 | return compiler.has_results()
|
---|
72 | File "/home/thomas/dev/nemopay/django/django/db/models/sql/compiler.py", line 800, in has_results
|
---|
73 | return bool(self.execute_sql(SINGLE))
|
---|
74 | File "/home/thomas/dev/nemopay/django/django/db/models/sql/compiler.py", line 818, in execute_sql
|
---|
75 | sql, params = self.as_sql()
|
---|
76 | File "/home/thomas/dev/nemopay/django/django/db/models/sql/compiler.py", line 372, in as_sql
|
---|
77 | from_, f_params = self.get_from_clause()
|
---|
78 | File "/home/thomas/dev/nemopay/django/django/db/models/sql/compiler.py", line 604, in get_from_clause
|
---|
79 | clause_sql, clause_params = self.compile(from_clause)
|
---|
80 | File "/home/thomas/dev/nemopay/django/django/db/models/sql/compiler.py", line 347, in compile
|
---|
81 | sql, params = node.as_sql(self, self.connection)
|
---|
82 | File "/home/thomas/dev/nemopay/django/django/db/models/sql/datastructures.py", line 137, in as_sql
|
---|
83 | base_sql = compiler.quote_name_unless_alias(self.table_name)
|
---|
84 | File "/home/thomas/dev/nemopay/django/django/db/models/sql/compiler.py", line 338, in quote_name_unless_alias
|
---|
85 | r = self.connection.ops.quote_name(name)
|
---|
86 | File "/home/thomas/dev/nemopay/django/django/db/backends/dummy/base.py", line 21, in complain
|
---|
87 | raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
|
---|
88 | django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.
|
---|
89 |
|
---|