[Rock]
> (I read up on tag libraries and the docs say that the admin tool can be
> used to browse through the available tags, filters, models, views.
> Neat! But my version of admin seems to have nothing like the "built-in
> reference" that is discussed. What needs to be done to activate this
> f
Hi,
Does anyone have any experience of using Apache2's mod_cache with Django?
I have lots of small repeated requests that I'd like to cache on disk
(definitely on disk, not in RAM). I'd be grateful for any experience that
people can pass on.
--
Richie Hindle
[EMAIL PROTECTED]
(Presumably yes, because new-admin
will be merged in.) Is there something in Trac that answers that
question?
Thanks,
--
Richie Hindle
[EMAIL PROTECTED]
if 'prefetch' in request.META.get('HTTP_X_MOZ', '').lower():
return HttpResponseForbidden()
Thanks!
--
Richie Hindle
[EMAIL PROTECTED]
r, or some such.
Good point, thanks:
def process_request(self, request):
if 'prefetch' in request.META.get('HTTP_X_MOZ', '').lower():
response = HttpResponseForbidden()
response['Vary'] = 'x-moz'
return response
--
Richie Hindle
[EMAIL PROTECTED]
the request ever get anywhere near the
views/decorators code? It will get as far as this middleware and be
rejected. Or have I misunderstood the architecture?
--
Richie Hindle
[EMAIL PROTECTED]
en the SpamBayes Wiki (http://entrian.com/sbwiki)
developed spam problems we reluctantly switched to demanding registration.
We've had no complaints and no spam as a result (so far, touch wood). (It's
possible that we've lost potential contributors without hearing from them,
of course).
--
Richie Hindle
[EMAIL PROTECTED]
riggering autoreload was last
modified in DST.)
--
Richie Hindle
[EMAIL PROTECTED]
[Eugene]
> I tried to reproduce what you reported and it does work like you said.
> Probably something was broken some time ago. Please file a ticket.
Thanks for reproducing it. I've filed ticket #937.
--
Richie Hindle
[EMAIL PROTECTED]
be interested to know what lighttpd gives you?
Thanks,
--
Richie Hindle
[EMAIL PROTECTED]
tation/model_api/#meta-options
Well done on staying out of the pub! 8-)
--
Richie Hindle
[EMAIL PROTECTED]
hanks,
--
Richie Hindle
[EMAIL PROTECTED]
[Richie]
> can I have some root URLs served by Django and some served by Apache?
[Adrian]
> http://www.djangoproject.com/documentation/modpython/#serving-media-files
[Bryan]
> I would use the LocationMatch:
>
>
> SetHandler None
>
>
> and add txt and ico to the regular expression.
Wond
partly
responsible for setting up the import path.)
--
Richie Hindle
[EMAIL PROTECTED]
plate say something like:
{% if blog_post.allow_ad %}{% endif %}
and do something like this in your Python code:
for i, blog_post in enumerate(blog_posts):
blog_post.allow_ad = (i < MAX_ADS_PER_PAGE)
--
Richie Hindle
[EMAIL PROTECTED]
ean "stream" as in "live audio", I just mean not reading
the whole file into memory at once.)
Thanks,
--
Richie Hindle
[EMAIL PROTECTED]
but it doesn't explain
which MPM.
--
Richie Hindle
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
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.c
t have
permission to edit anything".
o When I run "manage.py sqlinitialdata myapp" I get the following output:
BEGIN;
COMMIT;
Any ideas?
--
Richie Hindle
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message becaus
.
I've spent many hours on this aspect of my port - improvements would be
most welcome!
Thanks to those who helped me with this, and I hope it might be useful to
others going through the porting process.
As an aside: I am *so* glad I have a decent set of Selenium tests
(http://www.openqa.org/
[Greg]
> using Eugene's #1442 patch, to store db connections in TLS
> using Apache's prefork MPM
(Showing my ignorance, probably) Why do you need that patch if you're using
the prefork MPM? I'm using the prefork MPM because I'm assuming I won't get
thread
[Greg]
> I think you're right, Richie. I applied the patch just in case I used
> threads at some point, like maybe if I used Django's database layer in
> some context other than a web server.
OK, thanks. That's a relief! I thought I'd misunderstood the prefork
[Eric]
> Apparently the problem is fixed in the
> trunk-previously-known-as-magic-removal.
Great - that's where I am. Thanks for the info.
--
Richie Hindle
[EMAIL PROTECTED]
--~--~-~--~~~---~--~~
You received this message because you are subscr
INSTALLED_APPS, when I also needed its
dependencies. I believe this is the minimal INSTALLED_APPS if you want to
use Admin:
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.admin',
'django.contrib.sessions',
23 matches
Mail list logo