On Mon, 2009-10-05 at 22:16 -0700, ihomest...@gmail.com wrote:
> I read this doc about the performance comparison between Tornado and
> Django: http://www.tornadoweb.org/documentation
>
> I am quite new to both django and tornado (just heard about it). To me
> there are a few confusing points abo
A server mainly needs to be stable and you only need to start pushing for
that 1% more performance when your servers load is over the edge. You can
create bottlenecks with misconfiguration, but to misconfigure something,
just means you didn't follow the guidelines to establish a basic
configuration
One of the things that has been established at DjangoCon is that, as a
community, we don't have a strong enough culture of testing. This is
despite Django shipping with some good testing tools (TestClient and
the like). Anything we can do to make testing more attractive is a
Good Thing.
In my opi
On Tuesday 06 Oct 2009 1:53:44 pm TheMaTrIx wrote:
> I have a nack for optimizing PHP Webservers
what is a PHP webserver?
--
regards
kg
http://lawgon.livejournal.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
2009/10/6 Simon Willison
> I think this issue is well worth solving. If we DO solve it, we could
> even think about adding some stuff about running "./manage.py test" to
> the tutorial.
>
I think this is probably the biggest thing you could do to make django
testing more prevalent - I've read va
Apache_mod_PHP or Apache_fastCGI, or IIS flavored.
Although I've had some good experiences using lighttpd with php too.
What I mean with a php server in general is any webserver configured to run
PHP websites and static files and nothing else.
You can get rather funky results having a webserver
On Oct 5, 7:08 pm, mrts wrote:
> There'shttp://code.djangoproject.com/wiki/CollaborateOnGithub
> I will update that page with these instructions,
Done. Any comments and amendments should probably go to the wiki page
now.
Best,
MS
--~--~-~--~~~---~--~~
You receive
On Tue, Oct 6, 2009 at 4:43 PM, Simon Willison wrote:
>
> One of the things that has been established at DjangoCon is that, as a
> community, we don't have a strong enough culture of testing. This is
> despite Django shipping with some good testing tools (TestClient and
> the like). Anything we c
On Oct 5, 1:44 pm, Simon Willison wrote:
> Other than dates being a bit more annoying to pass around, I really
> don't think that telling people they can only dumps/loads JSON-
> encodable data would be a huge burden.
You could use YAML instead if you want date support... although JSON
does seem
I saw these tickets:
http://code.djangoproject.com/ticket/9484 (closed: duplicate)
Admin, raw_id_fields, not int value
Msg: #8746 covers this.
http://code.djangoproject.com/ticket/8746 (closed: fixed)
Data entered in raw_id_fields needs better checking
Msg: Please file a new ticket for this
htt
On Tue, Oct 6, 2009 at 1:24 PM, Marcob wrote:
>
> I saw these tickets:
>
> http://code.djangoproject.com/ticket/9484 (closed: duplicate)
> Admin, raw_id_fields, not int value
> Msg: #8746 covers this.
>
> http://code.djangoproject.com/ticket/8746 (closed: fixed)
> Data entered in raw_id_fields ne
In a Django project, I have a bash script that does:
APPS=`python -c "import settings; print settings.only_our_apps()"`
./manage.py test $APPS
In settings.py I define OUR_APPS as a list, and then define
INSTALLED_APPS as the django built-ins plus OUR_APPS:
_OUR_APPS = (
'something',
'an
Thanks to you guys for the insightful discussions and thoughts on this
topic. It is always good to hear from many sides to get a complete
picture. I agree with your comments about the benchmark thing and that
is the also the origin of my confusions when I read the benchmark part
in the Tornado doc
Considering you mostly run django on a webserver like apache, you need to ask
the question if your method of runing python on apache (wsgi or mod-python for
instance) runs in a way apache runs multi threaded and multi instance, which it
normaly does, in which case itll use as much cares as you
On Oct 6, 1:43 am, Simon Willison wrote:
>
> Option 6 would be welcome if anyone has any ideas.
>
Do what Grok does:
$ grokproject newapp
$ cd newapp
$ ./bin/test
Running tests at level 1
Total: 0 tests, 0 failures, 0 errors in 0.000 seconds.
That is, if it's a fresh project, and no code has
On Wed, Oct 7, 2009 at 6:50 AM, Kevin Teague wrote:
>
> On Oct 6, 1:43 am, Simon Willison wrote:
>>
>> Option 6 would be welcome if anyone has any ideas.
>
> Do what Grok does:
>
> $ grokproject newapp
> $ cd newapp
> $ ./bin/test
> Running tests at level 1
> Total: 0 tests, 0 failures, 0 errors
Read:
http://blog.dscpl.com.au/2007/09/parallel-python-discussion-and-modwsgi.html
Graham
On Oct 7, 8:56 am, "ihomest...@gmail.com"
wrote:
> Thanks to you guys for the insightful discussions and thoughts on this
> topic. It is always good to hear from many sides to get a complete
> picture.
On Wednesday 07 Oct 2009 3:26:21 am ihomest...@gmail.com wrote:
> Since many have mentioned that django is not an asynchronous
> framework,
you still have not understood. django is a framework. It is not a webserver,
or any kind of server. (oops, just noticed that this discussion is on the
deve
18 matches
Mail list logo