On 9/12/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am getting ready to deploy my first real production django web site
> for a customer and I was wondering what people had to say about
> mod_python vs fcgi. I have the impression that using mod_python is the
> prefered way. Is this beca
I'm trying to order a class by its parent, but apparently I'm doing
something wrong. The code I use:
class ParentClass(meta.Model):
somevar= meta.CharField(maxlength=100)
def __repr__(self):
return self.somevar
class META:
admin = meta.Admin()
ord
2005/9/13, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> I am getting ready to deploy my first real production django web site
> for a customer and I was wondering what people had to say about
> mod_python vs fcgi. I have the impression that using mod_python is the
> prefered way. Is this because
On 12-Sep-05, at 6:45 PM, tonemcd wrote:
% svn co
http://code.djangoproject.com/svn/djangoproject.com/django_website/
django_website/
I'm not massively familiar with svn, but it looks like the
django_website is not downloadable.
You've appended an extra "django_website" at the end.
This c
On Mon, 2005-09-12 at 21:10 -0500, Adrian Holovaty wrote:
> We've used Django with mod_python for the past couple of years in a
> production setting, so that's the most "proven" server arrangement. I
> personally haven't used it with fcgi -- just haven't had the chance --
> so I'm not sure how fc
Hi
I'm looking for hints on the best way to attack the following problem.
I have a model as follows
Question(meta.Model):
fields = (
meta.CharField('question', maxlength=250),
meta.CharField('phrasing', maxlength=50,
choices=QUESTION_PHRASING),
)
where I insert
2005/9/13, Jason F. McBrayer <[EMAIL PROTECTED]>:
>
> On Mon, 2005-09-12 at 21:10 -0500, Adrian Holovaty wrote:
>
> > We've used Django with mod_python for the past couple of years in a
> > production setting, so that's the most "proven" server arrangement. I
> > personally haven't used it with
D'oh!
Thanks
On Sep 12, 2005, at 9:07 PM, [EMAIL PROTECTED] wrote:
What if we, the community, created our own site. djangoapps.com or
something. It would allow people to upload there own django apps.
People could rate and comment on the apps posted there. And it would
of course be written using django.
> - We need to fix on a good structure for app packages. As a few
> people have mentioned, the one that django-admin startapp creates may
> or may not be good in the long term. Personally, I think it would be
> cool to load apps from ZIP files (like JARs) so that an app is a
> single pac
Hey Andreas --
I actually ran into this same problem myself today. It appears to be
a bug in the admin changelist view; until I get a chance to actually
track it down you can work around it by adding a "ordering" option to
your META.admin::
class FirstChild(meta.Model):
...
Hi Jacob,
thanks, it's good to know that I'm not going to find the bug in my
code.
While trying different things, I too found out that adding the
"ordering"-option made the listview work again. The first thing I tried
was adding ordering = ['theparent']:
class FirstChild(meta.Model):
So I'm wasting some time before my next class hacking on this 8) Thought I'd
get some ideas before I get too far in
The model is something like:
App:
name
description
maintainer
version
min django version
max django version
Maintainer:
name
Hi, I'm having some trouble with these models:
class Section(GenericDoc):
#GenericDoc is a subclass of meta.Model, no keys, just
plain char and datefields
parent = meta.ForeignKey('self', blank=True, null=True,
related_name='child)
image = meta.ForeignKey(Image)
14 matches
Mail list logo