Re: Using Django without database

2007-07-13 Thread Mike Caldwell
I've done a lot of applications with this kind of concern. But it really doesn't change the design much. The web server goes on one side of the DMZ and the database server goes on the other. That probably should be the standard anyway, keep as little extraneous data as possible on the web server.

Re: Using Django without database

2007-07-12 Thread Patrick
On Thu, 12 Jul 2007 21:51:27 -0400, Todd O'Bryan wrote: > On Fri, 2007-07-13 at 01:40 +, Patrick wrote: > >> Unfortunately, I can't give you more details about the security aspect, >> except that it has to do with prolonged physical storage of large >> amounts of data online, which is "insec

Re: Using Django without database

2007-07-12 Thread Todd O'Bryan
On Fri, 2007-07-13 at 01:40 +, Patrick wrote: > Unfortunately, I can't give you more details about the security aspect, > except that it has to do with prolonged physical storage of large amounts > of data online, which is "insecure". The exact details are not known to > me yet. I'm a deve

Re: Using Django without database

2007-07-12 Thread Patrick
On Thu, 12 Jul 2007 20:06:33 -0500, Jeremy Dunck wrote: > On 7/12/07, Patrick <[EMAIL PROTECTED]> wrote: >> Using a database is assumed, > > Not true. URL dispatch, forms, and views still work. It very must > depends what kind of site you're making. > > Though I raise my eyebrow at the idea th

Re: Using Django without database

2007-07-12 Thread Jeremy Dunck
On 7/12/07, Patrick <[EMAIL PROTECTED]> wrote: > Using a database is assumed, Not true. URL dispatch, forms, and views still work. It very must depends what kind of site you're making. Though I raise my eyebrow at the idea that making something accessible via web service somehow makes it more s

Using Django without database

2007-07-12 Thread Patrick
Hi! I'm just about to start on a project, which for security reasons might require storing data on a separate server via undefined yet "web services", in other words I might not be able to use a database. I've been using Django for a couple of projects now and it transformed my web developmen

Re: Django without database

2006-05-14 Thread Bill de hÓra
Bill de hÓra wrote: > For models and admin usage your storage will need to meet the DBAPI > contract. I think it can be done, but with considerable effort. I think > I'd wonder why bother tho' - the main reason I cna think of is for the > CMS case where users can create ...arbitrary content t

Re: Django without database

2006-05-14 Thread Bill de hÓra
Karl Fast wrote: > Can anyone point me to examples of django apps that either do not use > a database, or use it for only part of the app? Looking for source. > > I'm specifically interested in examples with models that use other > persistence backends (like a config file), and the associated > v

Re: Django without database

2006-05-13 Thread Facundo Casco
On 5/12/06, Karl Fast <[EMAIL PROTECTED]> wrote: >> Can anyone point me to examples of django apps that either do not use >> a database, or use it for only part of the app? Looking for source. >> >> I'm specifically interested in examples with models that use other >> persistence backends (like a c

Re: Django without database

2006-05-12 Thread Adrian Holovaty
On 5/12/06, Karl Fast <[EMAIL PROTECTED]> wrote: > Can anyone point me to examples of django apps that either do not use > a database, or use it for only part of the app? Looking for source. > > I'm specifically interested in examples with models that use other > persistence backends (like a confi

Re: Django without database

2006-05-12 Thread Jeremy Dunck
On 5/12/06, Karl Fast <[EMAIL PROTECTED]> wrote: > > Can anyone point me to examples of django apps that either do not use > a database, or use it for only part of the app? Looking for source. > > I'm specifically interested in examples with models that use other > persistence backends (like a con

Re: Django without database

2006-05-12 Thread Karl Fast
Can anyone point me to examples of django apps that either do not use a database, or use it for only part of the app? Looking for source. I'm specifically interested in examples with models that use other persistence backends (like a config file), and the associated views and templates. --~--~-

Re: Django without database

2006-05-12 Thread Adrian Holovaty
On 5/12/06, Alexandre CONRAD <[EMAIL PROTECTED]> wrote: > Can django run without a DB ? Yes, you can use Django without a DB, in the latest development version (trunk). A database connection is required in 0.90 and 0.91, but removing that dependency is one of the many, many improvements we made i

Re: Django without database

2006-05-12 Thread Anja
Reason for not using sqlite or not using any database: 1) My application does not need a database, it stores the data in the indexes of a search engine. 2) We would like to deliver that application to some customers. The easier the installation the better. The more steps an installation has the mo

Re: Django without database

2006-05-12 Thread Malcolm Tredinnick
Hi Anja, On Fri, 2006-05-12 at 03:44 -0700, Anja wrote: > Hi, > we are thinking about creating a small application with Django and > deliver it to our customers. > We would like to use Django without a database. > Reason: > 1) Installation without database is easier > 2) Our small application won

Re: Django without database

2006-05-12 Thread [EMAIL PROTECTED]
Django makes use of a database backend for authentication, sessions and so on. I would also advise you to look at sqlite (http://www.sqlite.org/whentouse.html). No specific installation except the sqlite shared libraries, and the python bindings (http://initd.org/tracker/pysqlite). Do you have a

Re: Django without database

2006-05-12 Thread Peter Ma
I think django has automatic CRUD method to any DB object, So, without DB maybe so diffcult on It's archieve . On 5/12/06, Peter Ma <[EMAIL PROTECTED]> wrote: > can Django's database-roadmap add XML or CSV ./etc > > On 5/12/06, Vladimir Pouzanov <[EMAIL PROTECTED]> wrote: > > > > You can use sqli

Re: Django without database

2006-05-12 Thread Peter Ma
can Django's database-roadmap add XML or CSV ./etc On 5/12/06, Vladimir Pouzanov <[EMAIL PROTECTED]> wrote: > > You can use sqlite, fast and easy db interface. > > On 5/12/06, Anja <[EMAIL PROTECTED]> wrote: > > > > Hi, > > we are thinking about creating a small application with Django and > > de

Re: Django without database

2006-05-12 Thread Alexandre CONRAD
Can django run without a DB ? Vladimir Pouzanov wrote: > You can use sqlite, fast and easy db interface. > > On 5/12/06, Anja <[EMAIL PROTECTED]> wrote: > >>Hi, >>we are thinking about creating a small application with Django and >>deliver it to our customers. >>We would like to use Django with

Re: Django without database

2006-05-12 Thread Vladimir Pouzanov
You can use sqlite, fast and easy db interface. On 5/12/06, Anja <[EMAIL PROTECTED]> wrote: > > Hi, > we are thinking about creating a small application with Django and > deliver it to our customers. > We would like to use Django without a database. > Reason: > 1) Installation without database is

Django without database

2006-05-12 Thread Anja
Hi, we are thinking about creating a small application with Django and deliver it to our customers. We would like to use Django without a database. Reason: 1) Installation without database is easier 2) Our small application won't use a database, but our own search engine that has a python api. I

Re: django without database

2006-02-23 Thread Adrian Holovaty
On 2/23/06, Deepak Sarda <[EMAIL PROTECTED]> wrote: > Super! One more question though. I would still like to keep all data > logic in models/myapp.py 'cos it is cleaner that way. Looking at the > tutorials, I suppose it would be fine.. I create regular classes (no > inheriting from meta.Model) and

Re: django without database

2006-02-23 Thread Deepak Sarda
On 2/23/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > The pieces of Django -- database access, template system, URL > dispatching -- are completely decoupled, so you can indeed write a > Django site that doesn't use a database. To do this, just write your > views and don't make any database cal

Re: django without database

2006-02-23 Thread Adrian Holovaty
On 2/23/06, Deepak Sarda <[EMAIL PROTECTED]> wrote: > I've read the tutorials and have come away with the impression that > using Django pretty much implies that one is creating a DB-backed > website. I hope that's not the case! > > I have a couple of projects in mind that don't need databases but

django without database

2006-02-23 Thread Deepak Sarda
Hi all, I've read the tutorials and have come away with the impression that using Django pretty much implies that one is creating a DB-backed website. I hope that's not the case! I have a couple of projects in mind that don't need databases but could well use some of the framework elements in Dj