2012-04-27 9 views
0

のために、私はジャンゴ-1.4、sqlite3の、セットアップへのWikiの指示に従いジャンゴ - facebookconnectジャンゴ - FacebookはDjangoApp

を使用している接続の使用中DB_TYPE()エラーを取得します。 "python manage.py syncdb"がエラーをスローします。

 
Creating tables ... 
Creating table auth_permission 
Creating table auth_group_permissions 
Creating table auth_group 
Creating table auth_user_user_permissions 
Creating table auth_user_groups 
Creating table auth_user 
Creating table django_content_type 
Creating table django_session 
Creating table django_site 
Creating table blog_post 
Creating table blog_comment 
Creating table django_admin_log 
Traceback (most recent call last): 
    File "manage.py", line 10, in 
    execute_from_command_line(sys.argv) 
    File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 443, in execute_from_command_line 
    utility.execute() 
    File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 382, in execute 
    self.fetch_command(subcommand).run_from_argv(self.argv) 
    File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv 
    self.execute(*args, **options.dict) 
    File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute 
    output = self.handle(*args, **options) 
    File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 371, in handle 
    return self.handle_noargs(**options) 
    File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", line 91, in handle_noargs 
    sql, references = connection.creation.sql_create_model(model, self.style, seen_models) 
    File "/usr/local/lib/python2.7/dist-packages/django/db/backends/creation.py", line 44, in sql_create_model 
    col_type = f.db_type(connection=self.connection) 
TypeError: db_type() got an unexpected keyword argument 'connection' 

解決策はありますか?

+2

あなたはジャンゴ・facebookconnectのホームページでこのコメント見なかったん:「WARNING:THIS THINGが廃止されました - DON」をT ITを使用してください - 代わりにこれを使用してください:http://github.com/ryanmark/django_facebook_oauth "? –

+0

ちょっとダニエルありがとう...私は読むのを忘れていた。 – ashish2py

答えて

1

あなたが代わりにdjango-facebookを使用する必要があり、それは、より、それが積極的にサポートされています:)