hej paolo,
I am on OS X as well, and I had problems with Apache and mod_python.
Turns out that my python (version 2.4.1 from fink) was the problem.
the following worked for me:
stop any apache that is currently running (fink or buildin)
install python 2.4.1 framework build from http://undefined
On Friday 02 Dec 2005 10:16 am, Joshua D. Drake wrote:
> >
> > I feel that runserver is only meant for people to evaluate
> > django. Once they see the automatic admin interface and decide
> > to proceed further it makes no sense to use runserver as
> > development should always be in the same en
I feel that runserver is only meant for people to evaluate django.
Once they see the automatic admin interface and decide to proceed
further it makes no sense to use runserver as development should
always be in the same environment as production
One thing that is really useful abo
On Thursday 01 Dec 2005 7:14 pm, Afternoon wrote:
> On 1 Dec 2005, at 12:04, Kenneth Gonsalves wrote:
> > i seriously doubt whether you could run the site with runserver
> > - try it with the full apache2 config
>
> Woah, hang on. If Django is not serving anything useful through
> runserver, putti
On 12/1/05, John Szakmeister <[EMAIL PROTECTED]> wrote:
> I don't see why not. The apps themselves aren't big, and isn't it the purpose
> of runserver to help do development and testing? I think my problem is what
> Luke mentioned: a lack of data.
Yeah, I poked around in the djangoproject.com c
On Thursday 01 December 2005 07:04, Kenneth Gonsalves wrote:
> On Thursday 01 Dec 2005 5:11 pm, John Szakmeister wrote:
> > I should mention that at the moment I'm using django-admin.py's
> > runserver to run the site. I just want to make sure I get all
> > the configuration settings correct befo
On Thursday 01 December 2005 19:05, Luke Plant wrote:
> On Thu, 1 Dec 2005 06:41:38 -0500 John Szakmeister wrote:
> > It runs, but
> > unfortunately, it complains that it can't find any pages. Not the
> > weblog, not the main page, nothing.
>
> I'm guessing the pages are stored in the database.
just what I needed, thanks!
On 12/2/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 12/1/05, Milton Waddams <[EMAIL PROTECTED]> wrote:
> > I've tried self.get_list though obviously it doesn't exist.
>
> Just plain "get_list" should work. Give that a shot.
On Thu, 1 Dec 2005 06:41:38 -0500 John Szakmeister wrote:
> It runs, but
> unfortunately, it complains that it can't find any pages. Not the
> weblog, not the main page, nothing.
I'm guessing the pages are stored in the database. Do you have a copy
of the djangoproject.com DB? I wouldn't ha
On 12/1/05, Paolo <[EMAIL PROTECTED]> wrote:
>
> I'm trying to setup Django with Apache and mod_python.
>
> I have followed the procedure described in the document "how to use
> Django with mod_python", but I can't obtain a working basic (single
> Django installation on the same Apache) environmen
This make me think that
apache/mod_python/python installation is fine and that the problem is
in httpd.conf or in my project.
The fact that the child process is dying suggests something fairly
low-level, but if you have another MP handler that works OK that's a
bit strange. I always had e
2005/12/1, Afternoon <[EMAIL PROTECTED]>:
>
> What platform are you building on? Where is your Python? I had to
> define PYTHONHOME = /usr/ in envopts for Apache because I'm running
> OS X and my Python is stock but my Apache comes from the Fink project.
>
> Is there any way that Apache might not
I've implemented a simple fix by manually settings the sequence value
after I do my inserts, but I'm wondering why django/postgresql doesn't
do the right thing. Has anyone seen this before?
Yeah, this is an annoying postgresql wart. We've run into it enough
that we've rolled the fix int
On 1 Dec 2005, at 15:24, Paolo wrote:
Hi Afternoon, not only I have restarted Apache after building
mod_python (3.1.4), I also have updated it from version 2.0.54 to
2.0.55, but nothing has changed.
Hang on, it's coming back to me now (sorry, it was a long night).
What platform are you buil
2005/12/1, Afternoon <[EMAIL PROTECTED]>:
>
>
> On 1 Dec 2005, at 14:29, Paolo wrote:
>
> > [Thu Dec 01 11:07:13 2005] [notice] child pid 15299 exit signal
> > Segmentation fault (11)
>
> Ah, I spent a frustrating few hours wrestling with this error (or one
> like it) last night. Are you using mod
On 12/1/05, Milton Waddams <[EMAIL PROTECTED]> wrote:
> I've tried self.get_list though obviously it doesn't exist.
Just plain "get_list" should work. Give that a shot.
Adrian
--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org
On 1 Dec 2005, at 14:29, Paolo wrote:
[Thu Dec 01 11:07:13 2005] [notice] child pid 15299 exit signal
Segmentation fault (11)
Ah, I spent a frustrating few hours wrestling with this error (or one
like it) last night. Are you using mod_python 3? After building
mod_python have you fully re
I'm trying to setup Django with Apache and mod_python.
I have followed the procedure described in the document "how to use
Django with mod_python", but I can't obtain a working basic (single
Django installation on the same Apache) environment, because Apache
unexpectedly crashes at each request.
i have a problem
lets sey i have a Poll model like this in tutorial. how to get access
to question field in Poll model form the Choice class (model)? i von
use this in search_fields?
or/and how to get one or more fields from choice model in poll model to
use it in search field?
like this
search
On Wed, 2005-11-30 at 17:51 -0800, Joshua D. Drake wrote:
> We will actually be writing a class for PayFlowPro here in a couple of
> weeks. I am sure
> we could share.
I would be very interested in this, as well. Are you translating their
PHP or Perl code from the developers kit, or taking some
On 1 Dec 2005, at 12:04, Kenneth Gonsalves wrote:
i seriously doubt whether you could run the site with runserver -
try it with the full apache2 config
Woah, hang on. If Django is not serving anything useful through
runserver, putting it up on Apache isn't going to help anything.
John,
Hi All,
I'm back around to working out how to best implement related items,
since you can't manytomany join onto self I plan to do a calculation
and cache the result.
What I would like to do is to have a post (eg. a blog post) object and
then be able to have something like the following in my te
On Thursday 01 Dec 2005 5:11 pm, John Szakmeister wrote:
> I should mention that at the moment I'm using django-admin.py's
> runserver to run the site. I just want to make sure I get all
> the configuration settings correct before I attempt to do the
> full up Apache 2 config.
i seriously doubt
I've been through the tutorial pages (which are great!) and managed to get all
that working without any fuss. I'm contemplating using Django for my
company's website since I could integrate a few applications so that others
can post job openings, and do some other miscellaneous things. I deci
On 1-12-2005, at 6:52, Kenneth Gonsalves wrote:
title = meta.CharField('Title',maxlength=250)
From http://www.djangoproject.com/documentation/model_api/#general-
field-options:
null
If True, Django will store empty values as NULL in the database.
Default is False.
Note that emp
25 matches
Mail list logo