am not able to sync the db... manage.py syncdb is not working am getting follwing error
D:\deepak\py\ifrnds>manage.py syncdb
Traceback (most recent call last):
File "D:\deepak\py\ifrnds\manage.py", line 11, in <module>
execute_manager(settings)
File "C:\Python25\Lib\site-packages\django\core\management.py", line 1670, in
execute_manager
execute_from_command_line(action_mapping, argv)
File "C:\Python25\Lib\site-packages\django\core\management.py", line 1569, in
execute_from_command_line
action_mapping[action](int(options.verbosity), options.interactive)
File "C:\Python25\Lib\site-packages\django\core\management.py", line 504, in s
yncdb
cursor = connection.cursor()
File "C:\Python25\Lib\site-packages\django\db\backends\postgresql_psycopg2\bas
e.py", line开发者_StackOverflow中文版 57, in cursor
postgres_version = [int(val) for val in cursor.fetchone()[0].split()[1].spli
t('.')]
ValueError: invalid literal for int() with base 10: '1,'
pls help me what to do....
typically a one word answer would get down votes. but i think everyone will agree on this one.
update!
精彩评论