Google Groups Home
Help | Sign in
Message from discussion Django and Multiple Database Support
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Scott johnson  
View profile
 More options Dec 29 2005, 6:35 am
From: Scott johnson <fuzzygr...@gmail.com>
Date: Thu, 29 Dec 2005 06:35:41 -0500
Local: Thurs, Dec 29 2005 6:35 am
Subject: Django and Multiple Database Support

Hello,

*Long time lurker; first time poster*.  My partner and I are standarizing on
Django / Python for the front end of www.ookles.com, our new startup.  We're
both php folk and I've convinced him that Django is better than ruby (based,
honestly, on my respect for Simon and Adrian rather than a real analysis;
transitive geek fu; any who).

The issue at hand for us is we have essentially one application: Ookles
which is a highly interactive web site.  Now having scaled a MySQL app (lets
not go down the postgres discussion; we're using MySQL 5 so we have views
and stored procs) to the terabyte level at my last gig, I learned the lesson
of "DO NOT; REPEAT DO NOT; PUT EVERYTHING IN ONE DB".  But it at least feels
like Django is really oriented around the concept of one db.  To wit:

I've been playing with django today (really like it so far!). To start a
project, you define your database model with a set of sub-classes
representing each database table. Once you've defined everything you can do
a couple of things, either " django-admin.py sql app" which will spit out an
sql script for you to create your database tables with or you can do "
django-admin.py install app" and that will create all the tables for you.
Fantastic stuff and if you can get your head around doing it this way, then
it saves time by having the model setup and the database.

So far, Django feels much more solid than rails. Yes, you have to do more
but you feel good about doing it. Relying on rails magic is sometimes a
little hard to swallow :)

(From my co founder Mike)

Now I haven't hacked Django much myself yet (I've been working on the back
end tools, db loader and overall schema).  What support does Django have for
multiple db stuff?

I apologize if this is a real newbie question.  I did run through the basic
docs (great job btw; thank you).  Also we'll need to write a baseline simple
db backed, captcha class near immediately to keep out the spam bots.  Any
interest in our contributing that back?

Thanks
Scott
--
-------------------------------------------------------
J. Scott Johnson
*** Now Available for Consulting ***
blog: http://fuzzyblog.com/
fuzzygr...@gmail.com
aim: fuzzygroup
cell: 857 222 6459
-------------------------------------------------------


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google