On Monday 04 May 2009 08:16:58 am bconnors wrote:
> I deleted the file and
> When I do python manage.py syncdb  and the message ends up with:


You should be using touch, vi might work, if you save it as an empty file, but 
touch is the best.  example:


[gufym...@sylia testing]$ ls
__init__.py  __init__.pyc  manage.py  settings.py  settings.pyc  testfun  
testing.db  urls.py
[gufym...@sylia testing]$ rm testing.db
[gufym...@sylia testing]$ touch testing.db
[gufym...@sylia testing]$ ./manage.py syncdb
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table testfun_testfun

----------

settings.py - DB settings:

DATABASE_ENGINE = 'sqlite3'           
# 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = 'testing.db'             # Or path to database file if using 
sqlite3.                       
DATABASE_USER = ''             # Not used with sqlite3.                         
                            
DATABASE_PASSWORD = ''         # Not used with sqlite3.                         
                            
DATABASE_HOST = ''             # Set to empty string for localhost. Not used 
with sqlite3.                  
DATABASE_PORT = ''             # Set to empty string for default. Not used 
with sqlite3.   

Mike
-- 
<Myxie> I know. Unless htere is a cookie monster somewhere between us tat 
muches the amil.
<Myxie> amil/mail
<Myxie> muches/munches tat/that htere/there
<HippieGuy> heheh
<HippieGuy> problems? :)
* Myxie needs an ircii addon that pipes teh command line through ispell :)
        -- Seen on #Debian

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to