> j...@john-laptop:~/Django/mysite$ ls -l
Try using the full path to the file rather than the ~ shortcut:
/home/username/Django/mysite/mysite_data.db
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
Or perhaps they will remain trivial for a while.
I added the name as such:
DATABASE_NAME = '/Django/mysite/mysite_data.db'
{I have tried w/ ~, w/o leading /, with /john/Djan..., and w/ john/
Dja...}
My project looks like this:
j...@john-laptop:~/Django/mysite$ ls -l
total 24
-rw-r--r-- 1 john jo
WOW!!! That was painfully obvious. As I said newbe...to python,
django, and programming. Hopefully my questions will get more
interesting soon!
Thanks
On Feb 26, 3:29 am, Karen Tracey wrote:
> On Thu, Feb 26, 2009 at 2:41 AM, john wrote:
>
> > I am trying to follow the Django | Writing your
On Thu, Feb 26, 2009 at 2:41 AM, john wrote:
>
> I am trying to follow the Django | Writing your first Django ap part 1
> tutorial. When I get to the python manage.py syncdb command I get the
> following:
>
> Traceback (most recent call last):
> [snip]
>raise ImproperlyConfigured, "Please fi
The error message provides the answer: "Please fill out DATABASE_NAME in the
settings module before using the database."
When using sqlite3 you are required to provide a path the target DB as per
comment: # Or path to database file if using sqlite3.
so
Add the full path to DATABASE_NAME. I.E.
DAT
I am trying to follow the Django | Writing your first Django ap part 1
tutorial. When I get to the python manage.py syncdb command I get the
following:
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File "/usr/lib/python2.5/site-packages/djang
6 matches
Mail list logo