Re: Tag Library questions

2005-10-31 Thread Richie Hindle
[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

Django and Apache's mod_cache

2005-11-11 Thread Richie Hindle
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]

Re: Repeating Blocks Within a Template

2005-11-14 Thread Richie Hindle
(Presumably yes, because new-admin will be merged in.) Is there something in Trac that answers that question? Thanks, -- Richie Hindle [EMAIL PROTECTED]

Preventing Google Web Accelerator from prefetching

2005-11-16 Thread Richie Hindle
if 'prefetch' in request.META.get('HTTP_X_MOZ', '').lower(): return HttpResponseForbidden() Thanks! -- Richie Hindle [EMAIL PROTECTED]

Re: Preventing Google Web Accelerator from prefetching

2005-11-16 Thread Richie Hindle
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]

Re: Preventing Google Web Accelerator from prefetching

2005-11-19 Thread Richie Hindle
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]

Re: Django Trac Spam

2005-11-24 Thread Richie Hindle
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]

Autoreload reloading for every request

2005-11-27 Thread Richie Hindle
riggering autoreload was last modified in DST.) -- Richie Hindle [EMAIL PROTECTED]

Re: Autoreload reloading for every request

2005-11-27 Thread Richie Hindle
[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]

Re: Django on Textdrive?

2005-12-02 Thread Richie Hindle
be interested to know what lighttpd gives you? Thanks, -- Richie Hindle [EMAIL PROTECTED]

Re: human readable name for a foreign key in admin

2005-12-02 Thread Richie Hindle
tation/model_api/#meta-options Well done on staying out of the pub! 8-) -- Richie Hindle [EMAIL PROTECTED]

Serving both Django content and plain files with mod_python

2005-12-12 Thread Richie Hindle
hanks, -- Richie Hindle [EMAIL PROTECTED]

Re: Serving both Django content and plain files with mod_python

2005-12-12 Thread Richie Hindle
[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

Re: [NOOB] ImportError: No module named django.core

2005-12-13 Thread Richie Hindle
partly responsible for setting up the import path.) -- Richie Hindle [EMAIL PROTECTED]

Re: ifequal

2005-12-15 Thread Richie Hindle
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]

Streaming large responses

2006-01-24 Thread Richie Hindle
ean "stream" as in "live audio", I just mean not reading the whole file into memory at once.) Thanks, -- Richie Hindle [EMAIL PROTECTED]

Re: problem with threaded apache

2006-04-21 Thread Richie Hindle
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

Various problems porting to Magic Removal

2006-04-22 Thread Richie Hindle
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

Re: Various problems porting to Magic Removal

2006-04-24 Thread Richie Hindle
. 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/

Re: DB connections never go away?

2006-05-03 Thread Richie Hindle
[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

Re: DB connections never go away?

2006-05-04 Thread Richie Hindle
[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

Re: DB connections never go away?

2006-05-04 Thread Richie Hindle
[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

Re: Runserver from 0.95 problems

2006-05-12 Thread Richie Hindle
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',