gunluk diye bir app oluşturdum şu komutla 'python manage.py sql gunluk' kontrol etmek istiyorum ama bu hatayı alıyorum.
Traceback (most recent call last):
File "manage.py", line 14, in <module>
execute_manager(settings)
File "D:python26libsite-packagesdjangocoremanagement__init.py", line
438, in execute_manager
utility.execute()
File "D:python26libsite-packagesdjangocoremanagement__init.py", line
379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "D:python26libsite-packagesdjangocoremanagementbase.py", line 191,
in run_from_argv
self.execute(*args, options.dict)
File "D:python26libsite-packagesdjangocoremanagementbase.py", line 220,
in execute
output = self.handle(*args, options)
File "D:python26libsite-packagesdjangocoremanagementbase.py", line 286,
in handle
app_output = self.handle_app(app, options)
File "D:python26libsite-packagesdjangocoremanagementcommandssql.py", l
ine 19, in handle_app
return u'n'.join(sql_create(app, self.style, connections[options.get('datab
ase', DEFAULT_DB_ALIAS)])).encode('utf-8')
File "D:python26libsite-packagesdjangocoremanagementsql.py", line 26, i
n sql_create
tables = connection.introspection.table_names()
File "D:python26libsite-packagesdjangodbbackends_init_.py", line 791,
in table_names
cursor = self.connection.cursor()
File "D:python26libsite-packagesdjangodbbackends_init_.py", line 250,
in cursor
cursor = self.make_debug_cursor(self._cursor())
File "D:python26libsite-packagesdjangodbbackendssqlite3base.py", line
207, in _cursor
self.connection = Database.connect(kwargs)
sqlite3.OperationalError: unable to open database file
20 Haziran '11 tarihinde soruldu
codicer
1●1●1●1