Tuesday, May 29, 2012

how to tell apache to see my projects database file?

hey guys, i need your help again, 

after successful deployment, i wanted to do something with database but it says: 
DatabaseError at /ajax/
unable to open database file
because ajax is trying to write something to db. what can be the problem. in my settings.py the path is this: 

PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))
...
'NAME': os.path.join(PROJECT_PATH, 'stahlbank.db'),

i am using sqlite. OS is linux. 

thanks 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/qkkO9dd9C7AJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment