kanikachugh24 / firepy

Automatically exported from code.google.com/p/firepy
MIT License
0 stars 0 forks source link

Django 1.1 #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have installed firepy in a Django 1.1 project and it doesn't appear to be
working.  What version of Django has this been testing with?

I have firepy as the first middleware in my settings:
MIDDLEWARE_CLASSES = (
    'firepy.django.middleware.FirePHPMiddleware',
    'django.middleware.common.CommonMiddleware',

and have logging imported into my view

import logging

def index(request):
    logging.debug("hello")
    return render_to_response('ideas/index.html')

Original issue reported on code.google.com by visseraj on 25 Jun 2009 at 7:07

GoogleCodeExporter commented 9 years ago
After digging into the firepy code, I found that firepy thought I was serving 
media
on every request because my settings.MEDIA_URL was blank.  I would like to 
propose
the attached patch, so that if the settings.MEDIA_URL is blank, it gets ignored.

Original comment by visseraj on 19 Jul 2009 at 1:04

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you very much! Your patch have been commited.

Original comment by serialx....@gmail.com on 19 Jul 2009 at 3:02