Thursday, March 31, 2011

Re: Serve a tracking pixel via Django

On Thu, Mar 31, 2011 at 7:18 PM, Russell Keith-Magee
<> wrote:
> Sure. Write a view that returns the content. It's 3 lines of code (a
> couple more if you count imports and whitespace). Added bonus -- it's
> actually more efficient than serve(), because it doesn't impose a disk
> access overhead every time it gets called.

even better, use nginx empty_gif and get the tracking data from the logs.


You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment