Hi Folks,

I'd like to have a site that gives away and sells PDFs, and tracks downloads  
of those PDFs.  For example, I'd like to know the IP address/useragent of who 
downloaded the free files, and I'd like to record the same plus the logged in 
user for the pay ones (after authenticating the user is allowed to download 
that file).

I've done this in Java by returning binary content (the PDF) from a servlet, 
and having the servlet write to the database to say what was downloaded and 
who downloaded it.  I'd like to migrate this app to django (less 
heavyweight!) can anyone point me towards a mechanism for doing this?  I'm 
fairly new at python but loving it...

Thanks,

Tim.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to