[EMAIL PROTECTED] schrieb:
> We're using Django quite heavily at Chesspark.com, but have been
> having severe load problems of late. I suspected database
> bottlenecking and I turned on query logging and analyzed the results.
>
> To my surprise, 25% of all database time is the call to SET TIME
(unrelated to the other message about documentation I just sent)
After seeing Malcolm mention it in a blog comment, I got to thinking
about the various "developer-ish" things in Django that currently have
no documentation, but are still useful to folks who know what they're
doing -- Malcolm's wri
With the recent talk of things that need to get done before 1.0, I
think something that'd be great to hit is a list of the thing which
most commonly confuse new users, or which they have the hardest time
figuring out -- getting that information into the official docs would,
hopefully, save a lot o
+1 from me, the silent reader
Am 07.02.2007 um 21:12 schrieb James Bennett:
>
> Forwarding this here, because the problem would go away if we could
> get some attention on ticket #3185:
>
> http://code.djangoproject.com/ticket/3185
>
>
>
>
> -- Forwarded message --
> From: Mike H
We're using Django quite heavily at Chesspark.com, but have been
having severe load problems of late. I suspected database
bottlenecking and I turned on query logging and analyzed the results.
To my surprise, 25% of all database time is the call to SET TIME
ZONE. Another 10-15% is the isolation
On 2/7/07, Michael Radziej <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> we are still waiting for confirmation, but it seems that with
> changeset 4459, adding inline items in the admin is broken. See
> ticket #3447. The resulting error looks like this:
I've reverted [4459]. Admin should be back to norm
I second that. I have some example awstats calls I did in python just for
that purpose, if anyone wants to take a look. One tricky thing a client
asked me to do was to parse the awstats config file and insert custom html
every month, so you could look at past months full reports. I would be
kind
2007/2/7, Tom Dyson <[EMAIL PROTECTED]>:
>
> > I wonder if something like bbclone [1] (especially the "live" view
> > [2]) exists in python? I've just found Peastat [3] which looks new but
> > interesting (fortunately, the author is maybe on this list).
>
> Yes, I am. :)
Great :)
> the two impor
[This is very off-topic, so I'll make this my last post on this topic.
Email me directly if you want more info.]
On Wed, 2007-02-07 at 04:01 -0800, Nicola Larosa (tekNico) wrote:
> Malcolm Tredinnick wrote:
> > But it's all "git" under the covers. I wrote up a brief description when
> > I started
Forwarding this here, because the problem would go away if we could
get some attention on ticket #3185:
http://code.djangoproject.com/ticket/3185
-- Forwarded message --
From: Mike H <[EMAIL PROTECTED]>
Date: Feb 7, 2007 6:16 AM
Subject: passing arguments to the login_required
Michael Radziej wrote:
> No, I'd propose simply to use the file system's encoding for files
> within the file system, that's all,
This will fail in some cases. The problem is that file system itself
doesn't check (nor enforce) any encoding in file names. And files may
come to server from differ
*Media Mall Toolbar : Advanced 1-click System to the Following Items :*
*- 200 Live TV Channels
- FM Radio With alot of Radio Stations and You Can Add More.
- Live WebCams around The World
- Tools and Essentials as : Online Spyware Scanners,Online Virus
Scanners and Online Firewall
Thanks for the info, having PythonInterpreter in there worked!!
Thanks
On Feb 6, 6:09 pm, Sandro Dentella <[EMAIL PROTECTED]> wrote:
> On Tue, Feb 06, 2007 at 12:18:45PM -0800, Moses Ting wrote:
>
> > Hello,
>
> > I've been having ALOT of trouble getting multiple Django instances to
> > work on
Hi,
we are still waiting for confirmation, but it seems that with
changeset 4459, adding inline items in the admin is broken. See
ticket #3447. The resulting error looks like this:
Exception Type: ProgrammingError
Exception Value:ERROR: invalid input syntax for integer: ""
http:
Malcolm Tredinnick wrote:
> But it's all "git" under the covers. I wrote up a brief description when
> I started using this a few months ago:
> http://www.pointy-stick.com/blog/topics/software/version%20control/ .
(I know, I should have directly commented on that page, and I would
have, if there
Michael Radziej wrote:
> Gábor Farkas:
>>
>> 1. we do not mandate yet that GET/POST data is in settings.DEFAULT_CHARSET
>
> We don't mandate any particular encoding in
> settings.DEFAULT_CHARSET? Take a look at ticket #951 and the recent
> discussion about it here.
i'm sorry, are you sure that i
> I wonder if something like bbclone [1] (especially the "live" view
> [2]) exists in python? I've just found Peastat [3] which looks new but
> interesting (fortunately, the author is maybe on this list).
Yes, I am. :)
I'm planning to release Peastat 0.3 at tonight's Oxford Geek Night
[1], and i
The problem of server and application level stats is that they are
fairly easy to implement and attractive, but they're hideously
inaccurate. First you have to ignore robot traffic, then you have to
accurately sessionise, then build the reporting interface, which must
be very powerful if it is to
Gábor Farkas:
> but, if i understand correctly, you propose it to behave like:
>
>
> =
> filename1 =
> request.POST.somehow_get_the_filename_i_do_not_want_to_look_it_up_right_now()
>
> # let's pray that the user's html templates
> # are encoded using settings.DEFAUL
Malcolm Tredinnick:
> I didn't change django.utils.html.escape() though, since I was trying to
> avoid breaking existing code and that function can be called from
> outside the templating system (in that sense, the naming is logical;
> away from the templating system, escape() escapes always). The
Michael Radziej wrote:
> Gábor Farkas:
>> Michael Radziej wrote:
>>>* What encoding does python use if you pass unicode to open()?
>> for os.listdir it uses sys.getfilesystemencoding(), so i assume it does
>> the same for open().
>>
>> so usually it does the correct thing.
>>
>> so using unic
On Wed, 2007-02-07 at 10:17 +0100, Michael Radziej wrote:
> Malcolm Tredinnick:
> > I just got back today from overseas, so after I've worked out which way
> > is up I'll have a look at your fixes and fill in the missing bits
> > (newforms + admin).
>
> Hey, nice to hear you're back and safe!
>
Malcolm Tredinnick:
> I just got back today from overseas, so after I've worked out which way
> is up I'll have a look at your fixes and fill in the missing bits
> (newforms + admin).
Hey, nice to hear you're back and safe!
It would certainly be good if you could look into the new patches,
there
Hey Michael,
On Wed, 2007-02-07 at 09:11 +0100, Michael Radziej wrote:
> Hi,
>
> I'd like to revive the discussion about autoescape (note that it is
> *not* on by default). I have brought the patches up to date (see the
> notes in the ticket, #2359), and I'm starting to use this now in my
> own
The problem I see is that I want to save stats info about each object
in itself because that gives me versatility. So could I show info
about every object in my own django views and If I want to show for
example the most viewed user profiles or any other query ordered by
stats I could do it.
I t
Gábor Farkas:
> Michael Radziej wrote:
>>* What encoding does python use if you pass unicode to open()?
> for os.listdir it uses sys.getfilesystemencoding(), so i assume it does
> the same for open().
>
> so usually it does the correct thing.
>
> so using unicode filenames are probably fine
Hi,
I'd like to revive the discussion about autoescape (note that it is
*not* on by default). I have brought the patches up to date (see the
notes in the ticket, #2359), and I'm starting to use this now in my
own projects (with the exception of the admin patch which I have no
use for). I can only
Michael Radziej wrote:
> Hi Tsuyuki!
>
> tsuyuki makoto:
>> Proposed solution: punicode conversion before call
>> django.util.text.get_valid_filename.
>
> Why punycode? I'd think that most filesystems these days support UTF-8
> (though, with different normalization, which *is* a problem).
>
>
28 matches
Mail list logo