Thursday, March 31, 2011

Serve a tracking pixel via Django

We have one static file that needs to be served after business logic has run (i.e. log a view on a specific url based on a unique code).  We used to use serve() in production.  This has always been frowned upon but with Django 1.3, the errors are worse.  Can one return an image in any other way?

--
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.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment