Code

Changes between Version 19 and Version 20 of NewbieMistakes


Ignore:
Timestamp:
04/06/06 12:40:00 (8 years ago)
Author:
pbx
Comment:

added note about SQLIte directory permissions

Legend:

Unmodified
Added
Removed
Modified
  • NewbieMistakes

    v19 v20  
    158158}}} 
    159159If you pass in empty tuples for data & errors, it will silently fail to insert your form fields. 
     160 
     161 
     162== Django says "Unable to Open Database File" when using SQLite3 == 
     163 
     164==== Problem ==== 
     165 
     166You're using SQLite3, your DATABASE_NAME is set to the database file's full path, the database file is writeable by Apache, but you still get the above error. 
     167 
     168==== Solution ==== 
     169 
     170Make sure Apache can also write to the parent directory of the database. SQLite needs to be able to write to this directory.