two or more db connections

2005-08-16 Thread markus
hi i'm new to django and i have to build an app on an existing data layout. is there a way to use more than one db connection in a django project? thanks markus

Re: mod_python error

2005-08-16 Thread [EMAIL PROTECTED]
Your right, I upgraded to apache2 and mod_python 3.1 and everything is happy. I found that mentioned elsewhere. If no one else has, maybe I'll submit a ticket to get this updated in the documentation. Thanks --B

Why this error?

2005-08-16 Thread PythonistL
I defined my model like this from django.core import meta class Registration(meta.Model): fields = ( meta.CharField('ID_', maxlength=50,unique=True), meta.CharField('Password', maxlength=50), meta.EmailField('Email', maxlength=50), meta.CharField('InvoicingNam

Re: Why this error?

2005-08-16 Thread Adrian Holovaty
Hey there, Are you using the latest revision of Django? Adrian On 8/16/05, PythonistL <[EMAIL PROTECTED]> wrote: > > I defined my model like this > > from django.core import meta > > class Registration(meta.Model): > fields = ( > meta.CharField('ID_', maxlength=50,unique=True),

Re: global settings

2005-08-16 Thread Adam
I posed just this question on #django last week. After going around and around a few times, here's what I came up with. Its not exactly the same thing, but it is working for me in a system where all the urls are basically getting you to detail views of the different objects. In myproject/settings

where stylesheets live

2005-08-16 Thread David S .
Where stylesheets for the public interface live? What does the standalone server think its root directory is on the machine it is running on? I can only get my stylesheet working using the code from the admin base.html:

Re: unique_together across tables?

2005-08-16 Thread David S .
adrian exoweb.net> writes: > > > Is there a way to create multiple tables which share an id field? My > meaning is that ids would be unique over both tables. One way to do this with django is with a MasterTable that is responsible for the key. For the tables across which you want the un

stylesheets and "root" directory

2005-08-16 Thread David S .
Where do stylesheets for the public interface live? What does the standalone server think its root directory is on the machine it is running on? I can only get my stylesheet working using the code from the admin base.html:

Re: where stylesheets live

2005-08-16 Thread [EMAIL PROTECTED]
I'd like to add to that question an issue I've come across. I have created a new project of my own, and when I run the server from Django everything looks great, but when I run it under Apache as mod_python, it doesn't apply the stylesheets - and when I try to browse to them it doesn't find them.