hi,
i have three django sites on a box. It is virtual hosting. The
active memory allotted is 75MB. I am getting complaints that i am
exceeding this memory. What can be done? as far as i can see, each
time someone accesses the site, a new httpd process is started
which takes up about 12 mb - 6
Ok if I do it with handmade SQL then I'm rewriting the DB abstraction
layer since I have to do it for several models inheriting from a common
base model..
Jamie Scheinblum wrote:
that's funny. they answered how to do the tree thing, but the wiki
basically says no recursion... I should look into the % recurse %
keyword tho.
The {% recurse %} is a custom tag from the Custard work at Greenpeace,
not a Django-contributed tag. It is Open Source un
Hi all,
I have a model which looks somethng like:
class MyModel(meta.Model):
id = meta.AutoField(primary_key = True)
name = meta.CharField(maxlength=20, unique=True)
location = meta.CharField(maxlength=100, choices=getLocationChoices())
and getLocationChoices() is a function defined
XP and TDD need a unittest environment. I have written a shell script
to make the environment. This unittest use the `runtests.py' that
django test code included. Maybe it's useful for you. Feel free to use
and change it.
In this unittest framework, a string named API_TESTS is needed in
appname/mo
On 2/8/06, Chetan Vaity <[EMAIL PROTECTED]> wrote:
class MyModel(meta.Model):
id = meta.AutoField(primary_key = True)
name = meta.CharField(maxlength=20, unique=True)
location = meta.CharField(maxlength=100, choices=getLocationChoices())
What I notice is that whenever an entry is added
Does someone have a recipe for logging in via url only. I would like
to have it work with admin or regular user where
credentials can be passed as parameters in a url and they are logged in
and directed to the url. For admin login I am wanting it to simply log
into admin index.
Man
On 2/8/06, Amit Upadhyay <[EMAIL PROTECTED]> wrote:
> > What I notice is that whenever an entry is added to LDAP, it is not
> reflected in the SelectField drop-down on the create form for the model. But
> if I simply restart the Apache httpd server, the drop-down is correctly
> populated.
> >
> >
On Wed, 2006-02-08 at 13:36 +0530, Kenneth Gonsalves wrote:
> i have three django sites on a box. It is virtual hosting. The
> active memory allotted is 75MB. I am getting complaints that i am
> exceeding this memory. What can be done? as far as i can see, each
> time someone accesses the site
On Wed, 2006-02-08 at 06:04 -0800, [EMAIL PROTECTED] wrote:
> Does someone have a recipe for logging in via url only. I would like
> to have it work with admin or regular user where
> credentials can be passed as parameters in a url and they are logged in
> and directed to the url.
i already built a project with Django and it looks great but after
filling the project with all the data and after filling the txt feilds
the client want to use the tiny mice as it is more easy for him so when
i write in my pages model this line
admin = meta.Admin(js =
('js/tiny_mce/tiny_mce.js
Hi Jason. Many thanks for your reply. I'll look into what you have
suggested.
Regards,
David
Jason F. McBrayer wrote:
On Wed, 2006-02-08 at 06:04 -0800, [EMAIL PROTECTED] wrote:
Does someone have a recipe for logging in via url only. I would like
to have it work with admin or
Sorry, guys, I'm confused. I *did* search before posting, but wasn't
able to find a full answer. I saw someone doing the bulletin board
example, but I never found out how to recursively call a template.
Must I use the non Django {% recurse %} custom tag?
Thanks,
-jj
On 2/8/06, Max Battcher <[
I'm very pleased to announce that DjangoInstall package 0.1 released.
=
Django Install Package
=
:Author: limodou ([EMAIL PROTECTED])
:Blog: http://www.donews.net/limodou
:Date: 2006-02-09
What's it?
===
It's a small packa
The tiny_mce editor should appear nevertheless.
View the source of an admin page where tiny_mce should appear. Check
the tags. You should have something like this (I've set my
ADMIN_MEDIA_PREFIX to '/admin_media/'):