On May 30, 1:52 pm, chrominance <[EMAIL PROTECTED]> wrote:
> > BTW, if you run 'ldd' on the mod_python.so file from the Apache
> > modules directory, does it use Python as a shared library or is there
> > no reference to libpython2.?.so at all, meaning it is embedded with in
> > mod_python.so?
> Depends on what RSS means for that platform when running ps. This may
> count private memory used plus shared memory use. If Webfaction is
> counting shared memory use in your 40MB limit would suck somewhat, as
> they would be double counting across all processes.
>
> If you run 'top' it
I have been trying to unsubscribe from this list for some time and it is
not working.
Can the list maintainer please remove me from the list?
On Tue, 2007-05-29 at 21:38 -0400, Todd O'Bryan wrote:
> With the latest from SVN, I'm getting an error in a template, but I
> can't figure out why...
>
On May 30, 12:48 pm, chrominance <[EMAIL PROTECTED]> wrote:
> PID PPID RSS COMMAND
> 17122 1 21504 /home/---/webapps/django/apache2/bin/httpd -f /
> home/---/webapps/django/apache2/conf/httpd.conf
> 14180 14154 1808 sshd: [EMAIL PROTECTED]/2
> 14181 14180 1464 -bash
> 14892 17122 20496
PID PPID RSS COMMAND
17122 1 21504 /home/---/webapps/django/apache2/bin/httpd -f /
home/---/webapps/django/apache2/conf/httpd.conf
14180 14154 1808 sshd: [EMAIL PROTECTED]/2
14181 14180 1464 -bash
14892 17122 20496 /home/---/webapps/django/apache2/bin/httpd -f /
On Tuesday, May 29, 2007, at 05:25 PM, Russell Keith-Magee wrote:
> The only other cause I can think of would be an error in the fixture
> file that might be getting eaten by the test process. Does the fixture
> load ok if you run './manage.py loaddata myfixture' (where myfixture
> is the name of
What is important to understand with Apache is that there is a parent
process, which effectively acts as a supervisor process, and the child
processes which actually accept and handle requests. When one uses
'restart' with the traditional 'apachectl' management command, it only
kills off and
On Wed, 2007-05-30 at 09:50 +0800, Russell Keith-Magee wrote:
> On 5/30/07, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
> >
> > Caught an exception while rendering: 'ManyRelatedManager' object is not
> > iterable
> >
> > 18 {% for obligation in oblig_list %}
> >
> > Any ideas what's going on?
>
>
On 5/30/07, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
>
> Caught an exception while rendering: 'ManyRelatedManager' object is not
> iterable
>
> 18 {% for obligation in oblig_list %}
>
> Any ideas what's going on?
The Manager isn't iterable, but the query sets it produces are.
You're looking for:
On 5/30/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> There are some backwards-incompat
> changes between the Python 2.4 doctest.py (which is what is included in
> Django) and the Python 2.5 version.
The version in Django isn't an _exact_ copy of Python 2.4; it has been
slightly modified
I've restarted apache several times, using the restart command in the
webapps/django directory provided by Webfaction. Perhaps there's a
more absolute restart command I don't know about, but I'm pretty sure
that's the one--whenever I use it, memory usage seems to go down.
Also, I'm not sure if
With the latest from SVN, I'm getting an error in a template, but I
can't figure out why...
def obligation_list(request, org_name):
org = Organization.objects.get(slug=org_name)
oblig_list = org.obligation_set.all()
return render_to_response('obligationList.html',
On Tue, 2007-05-29 at 22:12 +, Rand Bradley wrote:
> When I run my unit tests using 'manage.py test', I recently started
> receiving the following exception:
>
> Traceback (most recent call last):
> File "E:\dev\engage\src\engage\manage.py", line 11, in
> execute_manager(settings)
>
On Tue, 2007-05-29 at 15:30 -0400, Jason McVetta wrote:
> What is the right way to require a user be authenticated when using
> the databrowse module? I tried adding @login_required decorators to
> both functions in databrowse.views, but that did not work -- it
> appears databrowse does not
On Tue, 2007-05-29 at 19:27 +0200, Paul Rauch wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hello list ;)
>
Howdy.
I just took a quick browse through the attached pages. The first thing
that jumped out at me was the fact that in django_fcgi.conf you have the
site setup as a
On Tue, 2007-05-29 at 12:19 -0700, ringemup wrote:
> Hello --
>
> I'm using a basic form_for_model() form object for a model that has a
> unique=True constraint on a field other than the primary key.
>
> When validating submitted data, is there a reason the form check that
> that constraint
On Tue, 2007-05-29 at 08:38 -0700, Almad wrote:
> Hi,
>
> I'm trying to migrate to unicode branch, but Syndication framework
> won't work for me (usual UnicodeDecodeError). I made sure that all
> strings are u'' ones.
>
> Is this middleware ready for unicode?
Everything is ready (you can see
I've recently put up a newspaper site on Webfaction that was developed
without much concern for memory limits--coming from PHP, my knowledge
of memory issues is practically nil. Of course, Webfaction's plans all
have memory limits, and we're currently on Shared 1, which imposes a
40MB limit.
On 5/30/07, Almad <[EMAIL PROTECTED]> wrote:
>
> On May 29, 6:46 pm, "Joseph Heck" <[EMAIL PROTECTED]> wrote:
> > You might take a look at twill (http://twill.idyll.org/) - Although I
> > find it a tad trickier to get rolling with than Selenium, it has the
> > functionality that you want
The original question was never really answered.
I am using 0.96 and cannot load any fixture unless it is named
'initial_data.json', even when I add a fixtures attribute to my
testcase (yes, it is subclassed from django.test.TestCase). My testing
works great, as long as I put all my data into
On Tue, May 29, 2007 at 08:28:04PM -, Andrew wrote:
>
> Sorry, should have been more explicit:
>
> The question is what the SVN revision number is for the 0.96 release
> -- (I'm assuming that things were pinned to trunk for the release, and
> not released from some branch)
>
> We already
On 5/29/07, Andrew <[EMAIL PROTECTED]> wrote:
>
> Sorry, should have been more explicit:
>
> The question is what the SVN revision number is for the 0.96 release
/tags/0.96 was rev 4810.
You can pull that code from trunk based on 4810.
--~--~-~--~~~---~--~~
You
Anyone know? We were working off the django SVN 0.96pre, but we've
made some patches and would rather just do an SVN update to 0.96.
Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
What is the right way to require a user be authenticated when using the
databrowse module? I tried adding @login_required decorators to both
functions in databrowse.views, but that did not work -- it appears
databrowse does not presently use its views.py. I also tried decorating
On 5/29/07, hotani <[EMAIL PROTECTED]> wrote:
> in the model, I changed to:
> models.ForeignKey(Client,raw_id_admin=True)
To be fair, the official model docs do recommend using raw_id_admin
when the related table contains large numbers of records; otherwise,
building a drop-down form of all of
I found in another message this fix:
in the model, I changed to:
models.ForeignKey(Client,raw_id_admin=True)
Filing this in the "gotcha's" category. gr.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Hello --
I'm using a basic form_for_model() form object for a model that has a
unique=True constraint on a field other than the primary key.
When validating submitted data, is there a reason the form check that
that constraint hasn't been violated and throw a validation error?
I'd like to be
I should add that I ruled out the template by commenting out the
entire page. It still took a minute or more to load.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
Here is the basic model setup:
--
class Client(models.Model):
fname= models.CharField(maxlength=30)
mname= models.CharField(maxlength=30, blank=True, null=True)
lname= models.CharField(maxlength=30)
[...and more details, but you get the point...]
I've done this with a massive database. It wasn't pretty, but is
possible.
Here are my very brief notes on the conversion. I used phpMyAdmin to
export the data, and the postgresql module in Webmin or phpPgAdmin.
Webmin became necessary for large tables as phpPgAdmin would fail/
timeout or
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello list ;)
it just doesn't work..
I always get a 404 error instead of the djangopage.
the configs are in the attachements.
django.rc is used to start the django fcgiprocess.
the script bases on:
On May 29, 6:46 pm, "Joseph Heck" <[EMAIL PROTECTED]> wrote:
> You might take a look at twill (http://twill.idyll.org/) - Although I
> find it a tad trickier to get rolling with than Selenium, it has the
> functionality that you want (emulating a browser, including cookies)
> and can be
Your question is far to vague for anyone here to help you. You need to
ask an explicit question, giving an example.
-joe
On 5/29/07, xzh <[EMAIL PROTECTED]> wrote:
>I am a rookie of Diango . I have problem.I wrote a template then
> test it in the browser, the coding was not I want . How can
You might take a look at twill (http://twill.idyll.org/) - Although I
find it a tad trickier to get rolling with than Selenium, it has the
functionality that you want (emulating a browser, including cookies)
and can be 'programmed' to walk to an OpenID login site and back again
following
On Tue, May 29, 2007 at 08:46:29AM -0700, Joshua D. Drake wrote:
> Well, that would be because MySQL is effectively broke in many weird
> ways. Your best bet is to recreate your model in postgresql, initialize
> that model and move the data over relation by relation.
Where "broke" means roughly
Hancock, David (DHANCOCK) wrote:
> We are strongly considering migrating from MySQL to PostgreSQL, but
> there seem to be enough differences between the two that I'm pulling my
> hair out. I know this is somewhat off-topic, but has anybody got some
> resources for the conversion process?
>
>
Hi,
I'm trying to migrate to unicode branch, but Syndication framework
won't work for me (usual UnicodeDecodeError). I made sure that all
strings are u'' ones.
Is this middleware ready for unicode?
Thank You,
Almad
--~--~-~--~~~---~--~~
You received this
Thanks for the ideas, guys! Looks to me like forms.py will do the
trick for now.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Hello everyone,
To celebrate our 1000th Django site WebFaction is proud to offer 10
free Django
hosting accounts as a thank you to the Django community.
To take part in this offer just sign up for a Django account using the
promo code
"DJANGO1K" in the next 7 days
Hi guys!
I think it's not possible but I think this will be a good addition it
we could have a template extending itself. I made a project that used
sites framework and I missed this feature, now I need some improves on
admin interface to let flatpages use tinymce as default editor.
To let
Malcolm;
Thanks for everything. I was hoping there was a trick here. I am
interested in getting as much efficiency out of this as possible; in
fact, it is queries like this that made me switch away from php due to
sql hang ups. I guess the long lines of code will have to due. Thanks
for the tip
Twas brillig at 12:53:42 29.05.2007 UTC+01 when James Aylett did gyre and
gimble:
>> DL> And if you don't know what OpenID is:
>> DL> http://simonwillison.net/2006/Dec/19/openid/
>>
>> Single identity and single sign-on are the quite orthogonal things.
JA> Isn't one usually a subset
On Tue, May 29, 2007 at 06:33:29PM +0700, Mikhail Gusarov wrote:
> DL> And if you don't know what OpenID is:
> DL> http://simonwillison.net/2006/Dec/19/openid/
>
> Single identity and single sign-on are the quite orthogonal things.
Isn't one usually a subset of the other? I can't think of a
Twas brillig at 13:31:28 29.05.2007 UTC+02 when David Larlet did gyre and
gimble:
DL> And if you don't know what OpenID is:
DL> http://simonwillison.net/2006/Dec/19/openid/
Single identity and single sign-on are the quite orthogonal things.
--
JID: [EMAIL PROTECTED]
2007/5/29, Gábor Farkas <[EMAIL PROTECTED]>:
>
> hi,
>
> i probably will have to implement a single-sign-on (SSO) solution for
> several django-based intranet web-applications.
>
> i looked into the mailing list archives, and found this:
>
>
Am Freitag, 25. Mai 2007 10:51 schrieb Thomas Güttler:
> Hi,
>
> the upload_to argument to FileField evals strftime formatting.
>
> I would like to have the ID of the belonging row.
>
> Example: One MyObject has N attachments.
>
> class Attachment(models.Model):
>
I am hungry for the book.
But if the book is going for reviews, is there no more major changes
from svn-trunk to 1.0?
It is only such a case if a book could really come out.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Oh man... look like we are not going to file any tickets to
code.djangoproject.com... I should feel sorry for that because I was
one of them ;-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
El mar, 29-05-2007 a las 20:22 +1000, Malcolm Tredinnick escribió:
> Fixed in [5378].
Thanks, it works perfectly now! ;)
> It's actually a good bug to find; we were violating the WSGI spec, so it
> actually was an error in our wsgi handler. Fortunately, the dev server
> is very aggressive about
On Tue, 2007-05-29 at 20:03 +1000, Malcolm Tredinnick wrote:
[...]
>
> If anybody doesn't believe software development is hard, this is a
> beautiful example. I fixed a very similar problem for modpython last
> night. At the same time I looked for analogous problems in the other
> handlers and
El mar, 29-05-2007 a las 20:03 +1000, Malcolm Tredinnick escribió:
> There are no bugs on the unicode branch; so it's clearly your fault. :-)
Ahh! I knew I knew... :)
> However, just this once, we can adjust the code so that this doesn't
> happen.
Oh, thanks!!! :)
> If anybody doesn't believe
On Tue, 2007-05-29 at 11:58 +0200, Marc Fargas wrote:
> Hi there,
> When using i18n I'm getting a nice stacktrace for every request, this
> only happens once you set the language for a client and the exception
> raises due to Content-Language being a Unicode string for some reason.
>
>
Hi there,
When using i18n I'm getting a nice stacktrace for every request, this
only happens once you set the language for a client and the exception
raises due to Content-Language being a Unicode string for some reason.
Backtrace:
Traceback (most recent call last):
File
Hi Sebastjan,
On Tue, 2007-05-29 at 11:37 +0200, Sebastjan Trepca wrote:
> Hi,
>
> I would like to create a custom abstract field for a model. This field
> shouldn't affect the database, it should only be used for passing
> variables.
> I need to get "request.user" when "post_init" signal is
Hi,
I would like to create a custom abstract field for a model. This field
shouldn't affect the database, it should only be used for passing
variables.
I need to get "request.user" when "post_init" signal is fired. So I
was thinking about something like this:
Creating a model in view
> n =
what
On 5/29/07, cs <[EMAIL PROTECTED]> wrote:
>
> look it
>
> 使用下一代的 MSN Messenger。 立即尝试!
> >
>
>
--
[EMAIL PROTECTED]
13585201588
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Great - thanks for your replies, Jacob and Vince.
Looking forward to having that book sitting beside me :-)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
hi,
i probably will have to implement a single-sign-on (SSO) solution for
several django-based intranet web-applications.
i looked into the mailing list archives, and found this:
http://blog.case.edu/bmb12/2006/12/cas_for_django_part_2
it uses CAS
Thank you all for the prompt responses.
Yes Lutz, it was the different versions of python running. I have
installed the memcached for 2.5 but mod_python is running with 2.4.
Stupid me. This was something I should clean-up long ago.
Thanks...
On 29 Mayıs, 10:12, Lutz Steinborn <[EMAIL
> > Do we need such a settings or we really need to *copy* database encoding so
> > that tests are done exactly as the application database. (if it's possible
> > to use other than utf8...).
>
> That assumes there is an application database to copy and/or that is
> configured sensibly. It's a
I am a rookie of Diango . I have problem.I wrote a template then
test it in the browser, the coding was not I want . How can I settle
this problem.
Thanks very much!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On Tue, 2007-05-29 at 06:56 +, Michael Newman wrote:
> Thanks for the reply and sorry for my vagueness;
>
> Rob: I was talking about really long lines of python. Thanks for the
> heads up about the all. I was just typing off the top of my head and
> still and figuring out python.
>
>
On Tue, 2007-05-29 at 16:54 +1000, Malcolm Tredinnick wrote:
> On Tue, 2007-05-29 at 06:49 +, omat wrote:
> > Hi all,
> >
> > I have installed memcached and python bindings on Fedora Core 4.
My sincere apologies. I completely misread this line. You *have*
installed the pre-reqs (in
err.. Malcolm--sorry about the typo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send
Thanks for the reply and sorry for my vagueness;
Rob: I was talking about really long lines of python. Thanks for the
heads up about the all. I was just typing off the top of my head and
still and figuring out python.
Malcom: I suppose that is what I am asking. Is there any simple way
to take
Could it possibly be due to the fact that your python shell has the
correct PYTHONPATH set (with the memcached python bindings) and that
your django configuration doesn't have the correct PYTHONPATH?
omat wrote:
> Hi all,
>
> I have installed memcached and python bindings on Fedora Core 4.
On Tue, 2007-05-29 at 06:49 +, omat wrote:
> Hi all,
>
> I have installed memcached and python bindings on Fedora Core 4. Using
> the python shell I am able to use cache with django:
>
> >>> from django.conf import settings
> >>> settings.configure(CACHE_BACKEND =
On Tue, 2007-05-29 at 05:20 +, Michael Newman wrote:
> Something that has been bothering me for awhile and I finally just
> decided to post it here because my code work around hits the database
> way too many times.
>
> I am writing a custom view for an application that uses multiple
>
Hi all,
I have installed memcached and python bindings on Fedora Core 4. Using
the python shell I am able to use cache with django:
>>> from django.conf import settings
>>> settings.configure(CACHE_BACKEND = 'memcached://127.0.0.1:11211/')
>>> from django.core.cache import cache
>>>
Its hard to tell what you mean by "really long once I start factoring
time and uniqueness". Do you mean really large data sets or really
wide lines in your python file?
If the former, you will probably need to be more specific about what
the long query contains. If the latter, look at chaining
70 matches
Mail list logo