j2a sub projects regular byteflow_tst manage py syncdb Unable to read

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
j2a@sub:~/projects/regular/byteflow_tst$ ./manage.py syncdb
Unable to read settings_local.py
Unable to read settings_local.py
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log
Creating table django_flatpage
Creating table actionrecord
Creating table blog_post
Creating table comment_nodes
Creating table tag
Creating table tagged_item
Creating table openidconsumer_nonce
Creating table openidconsumer_association
Creating table openidconsumer_userassociation
Creating table openidserver_oidstorenonce
Creating table openidserver_oidstoreassociation
Creating table openidserver_oidstoresetting
Creating table openidserver_trustedroot
Creating table openidserver_djangoiduser
You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): no
You have just initialized your sites subsystem, which means you don't have any
sites defined. Please enter domain and name of your site (you can create more
in admin interface later)
Domain (Leave blank to use 'example.com'): foo.bar
Name (Leave blank to use 'example'): foo
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(settings)
File "/var/lib/python-support/python2.5/django/core/management/__init__.py", line 340, in execute_manager
utility.execute()
File "/var/lib/python-support/python2.5/django/core/management/__init__.py", line 295, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/lib/python-support/python2.5/django/core/management/base.py", line 77, in run_from_argv
self.execute(*args, **options.__dict__)
File "/var/lib/python-support/python2.5/django/core/management/base.py", line 96, in execute
output = self.handle(*args, **options)
File "/var/lib/python-support/python2.5/django/core/management/base.py", line 178, in handle
return self.handle_noargs(**options)
File "/var/lib/python-support/python2.5/django/core/management/commands/syncdb.py", line 101, in handle_noargs
emit_post_sync_signal(created_models, verbosity, interactive)
File "/var/lib/python-support/python2.5/django/core/management/sql.py", line 205, in emit_post_sync_signal
interactive=interactive)
File "/var/lib/python-support/python2.5/django/dispatch/dispatcher.py", line 148, in send
response = receiver(signal=self, sender=sender, **named)
File "/home/j2a/projects/regular/byteflow_tst/apps/blog/management.py", line 67, in create_about_page
enable_comments=False, registration_required=False)
File "/var/lib/python-support/python2.5/django/db/models/base.py", line 265, in __init__
raise TypeError, "'%s' is an invalid keyword argument for this function" % kwargs.keys()[0]
TypeError: 'sites' is an invalid keyword argument for this function
j2a@sub:~/projects/regular/byteflow_tst$