I spotted this the other day: http://www.djangosnippets.org/snippets/334/
On Jun 15, 5:42 am, victor wrote:
> can django add custom permission without module association?
> if can,how to?
> thx a lot.
--~--~-~--~~~---~--~~
You received this message because you are
Getting somewhere...
I'm running on Django 1.0 via nginx/fcgi
When I run via the dev server (leaving everything else the same) the
problem goes away.
How can the effects of a POST to a model form in admin be affected
purely by switching between fcgi and the dev server?
--~--~-~--~~
Is there any other approach to this that could be thread safe?
On Apr 16, 10:46 pm, Dave Benjamin wrote:
> On Apr 16, 2:20 pm, Alex Gaynor wrote:
>
> > This code isn't threadsafe. If you use your application in a multithreaded
> > application they will "cross the streams" so to speak and you w
Thanks everyone. I might offload some big processes into a separate
process. The background knowledge I've aquired from this thread is
going to help a lot.
I still have no flipping idea how to use heapy though!
On Apr 9, 12:30 am, Malcolm Tredinnick
wrote:
> On Wed, 2009-04-08 at 08:43 +0100, A
I've got no really huge tables - the entire db is under 6meg and the
site isn't even public yet so traffic is minimal. Memory just doesn't
seem to go down. (until the process get's restarted by maxchild or by
me killing it).
I have been labouring under the assumption that memory gets freed
eventu
Nothing wrong with designing your site using visual tools. Get your
basic page look and feel set up as a single static HTML + CSS. That
page becomes your base template.
Stick a single {{ content }} placeholder in and you can start
inserting dynamic content into your template from any of your view
Without really examining the problem in detail it doesn't sound like
you are doing anything that isn't possible with a combination of
context_processors (for common variables) and template inheritance/
includes.
Each view constructs the specific context, a custom context processor
provides site v
Did the proxy table solution that Alex suggested work out for you?
That's the one I try just as soon as I upgrade to trunk (some of the
admin template changes in trunk breaks my admin template overrides so
I might hold off for the 1.1 release in case it changes some more)
On Mar 24, 2:53 pm, Dan
8 matches
Mail list logo