So i should just set the database file name in settings.py and stop
worring about it untill i hit syncdb?'

Alan.

On Apr 4, 10:38 pm, Alex Gaynor <alex.gay...@gmail.com> wrote:
> On Sat, Apr 4, 2009 at 3:34 PM, alan.kesselm...@gmail.com <
>
>
>
> alan.kesselm...@gmail.com> wrote:
>
> > Hello
>
> > I decided to check out django and i finished tutorial and it was all
> > good. When i wanted to try something for myself and created another
> > app and proceeded to create new database for this project - i failed.
>
> > I installed sqlite3 on my computer (i use kubuntu 9.04) and when i run
> > sqlite3 insertdatabasenamehere - nothing happens. Well somethind
> > happens..
>
> > x...@xxx:~/Django/p2$ sqlite3 new.db
> > SQLite version 3.6.10
> > Enter ".help" for instructions
> > Enter SQL statements terminated with a ";"
> > sqlite>
>
> > i exit and there is no file named new.db:
>
> > sqlite> .exit
> > x...@xxx:~/Django/p2$ ls -l
> > total 12
> > -rw-r--r-- 1 xxx xxx    0 2009-04-04 13:31 __init__.py
> > -rw-r--r-- 1 xxx xxx  546 2009-04-04 13:31 manage.py
> > -rw-r--r-- 1 xxx xxx 2765 2009-04-04 13:31 settings.py
> > -rw-r--r-- 1 xxx xxx  529 2009-04-04 13:31 urls.py
> > x...@xxx:~/Django/p2$
>
> > Doest matter if i run it with sudo rights or not.
>
> > Alan
>
> You don't need to worry about creating the SQLite file, the Python bindings
> automatically create the file if it doesn't exist.
>
> Alex
>
> --
> "I disapprove of what you say, but I will defend to the death your right to
> say it." --Voltaire
> "The people's good is the highest law."--Cicero
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to