Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!postnews.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!panix!roy From: Roy Smith Newsgroups: comp.lang.python Subject: Re: using only the django ORM (DB access model) and nothing else. Date: Tue, 21 Jun 2011 21:02:12 -0400 Organization: PANIX Public Access Internet and UNIX, NYC Lines: 32 Message-ID: References: <4e012e8d$0$23682$426a34cc@news.free.fr> NNTP-Posting-Host: localhost X-Trace: reader1.panix.com 1308704534 7358 127.0.0.1 (22 Jun 2011 01:02:14 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 22 Jun 2011 01:02:14 +0000 (UTC) User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:8155 In article <4e012e8d$0$23682$426a34cc@news.free.fr>, News123 wrote: > Hi, > > I have a small application running on a host without web server and > without any need for django except its ORM accessing data bases without > explicitely writing sql queries.) You would do much better to ask this question on the django mailing list (http://groups.google.com/group/django-users). > I assume there's many libraries (SQL Alchemy or others), which could do > this job. and which migh have less overhead than django. Ugh. I've played with SQL Alchemy a few times and every time I've run away screaming in the other direction. I can see how it's useful if you need to be totally cross-platform, but, man, if that's what it takes to be cross platform, I'm happy being a MySQL bigot all day long. > As I am already implementing a web server application with django on > another host I wanted to use the same syntax / API for my non web > application. > > Now my question: > > What would be the minimal setup required to use django orms and nothing > else. I don't see any reason you couldn't use the Model layer by itself, if you want to. It pretty much stands on its own.