Downloaded Django, ran install, now I need to setup a database -- And I'm stuck. How can I do this? Tried following instructions on-site; no good.
Thanks!
Downloaded Django, ran install, now I need to setup a database -- And I'm stuck. How can I do this? Tried following instructions on-site; no good.
Thanks!
The Django Book is the best place to start. Django is one of the best documented frameworks I have ever used. There should be no shortage of material for you.
The Getting Started chapter specifically has a database section.
I don't see the instructions you followed...
the easiest database to start with is sqlite, all you need to do is put a filename in the DATABASE_NAME setting
so you should have something like this in your settings.py file:
DATABASE_ENGINE = 'sqlite3'
DATABASE_NAME = 'dev.db'
then in the terminal cd into your project root (the folder with manage.py in it) and run:
python manage.py syncdb