The form does not work after adding fields


Hie friends, I made a form using the class it was running smoothly, but next time when I added two new fields in that class then on executing the command "python syncdb " it gives me the following error:

Traceback (most recent call last):
  File "", line 11, in <module>
  File "/usr/lib/pymodules/python2.6/django/core/management/", line 438, in execute_manager
  File "/usr/lib/pymodules/python2.6/django/core/management/", line 379, in execute
  File "/usr/lib/pymodules/python2.6/django/core/management/", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/usr/lib/pymodules/python2.6/django/core/management/", line 220, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/pymodules/python2.6/django/core/management/", line 351, in handle
    return self.handle_noargs(**options)
  File "/usr/lib/pymodules/python2.6/django/core/management/commands/", line 52, in handle_noargs
    cursor = connection.cursor()
  File "/usr/lib/pymodules/python2.6/django/db/backends/", line 75, in cursor
    cursor = self._cursor()
  File "/usr/lib/pymodules/python2.6/django/db/backends/sqlite3/", line 174, in _cursor
    self.connection = Database.connect(**kwargs)
pysqlite2.dbapi2.OperationalError: unable to open database file

Making changes to forms does not affect you database schema, there is no need to run syncdb after changing a form. The error you are receiving has its roots elsewhere.