Just to save you a step, you don't have to create the sqlite db file. If you
reference it in settings.py, then run syncdb.. django will create it for
you.

On Fri, May 2, 2008 at 11:31 AM, Matic Žgur <[EMAIL PROTECTED]> wrote:

>
> I use Sqlite3 for development because it already comes installed with
> Ubuntu. I used to use Apache and MySQL, but it didn't make much sense
> using that since Django development server and Sqlite3 handle serving
> quite well and are quite lightweight.
>
> To start using Sqlite you just have to create a new database file and
> setup project's setting.py file accordingly.
>
> Cheers,
> Matic
>
> On Fri, May 2, 2008 at 3:28 PM, Taylor <[EMAIL PROTECTED]> wrote:
> >
> >  SQLite is a good solution, but if you maybe want something that's
> >  closer to what you may be using in production, installation of MySQL
> >  on OS X is pretty easy.
> >  Check out this link:
> >  http://dev.mysql.com/doc/refman/5.1/en/mac-os-x-installation.html
> >
> >  The only other thing you need is the database binding so that Python
> >  can talk to MySQL.  You can get that here:
> >  http://sourceforge.net/projects/mysql-python
> >
> >  I prefer MySQL over SQLite because it's more of a "real" database, you
> >  don't feel like you are just playing with a toy, but actually working
> >  on what will be in your production.
> >  If you have OS X, don't bother doing any hobby programming on your
> >  webserver.  You can do anything / install anything on your mac that
> >  you could on the webserver, plus it will be much faster and more
> >  convenient.  The best part is that you learn more by installing things
> >  yourself.  I say suffer through a couple of tough installs, document
> >  what you do so that you can do it again, and then you will be a lot
> >  better off, and have a greater understanding of how everything works.
> >
> >  At least, that's what I do.
> >
> >  Taylor
> >
> >
> >
> >
> >  On May 1, 10:43 pm, selmac <[EMAIL PROTECTED]> wrote:
> >  > I didn't realize I could use an SQLite that was already installed. I
> >  > have python 2.5.1 on my IMac.  I've gone as far through the tutorial
> >  > and already installed Django and run some of the code in the first
> few
> >  > chapters, I was just getting stuck with how to interface with the
> >  > database. Is there something I need to do to interface Django with
> >  > SQLite?  Is this what most Djangophiles are using to build sites
> >  > before they go live?
> >  >
> >  > I'll look into MacPorts and Fink as well, I've never heard of them.
> >  > I'll need to find a way to configure the thing for production at some
> >  > point if it's going to be of any use to me.
> >  >
> >  > Thanks for the tips
> >  >
> >
>
> >
>


-- 
Justin Lilly
Web Developer/Designer
http://justinlilly.com

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to