virtualenv/web/res/README
author grandjoncl
Wed, 28 Nov 2012 12:27:08 +0100
changeset 995 94f9d36371f6
parent 22 03d02cf0bea7
permissions -rw-r--r--
new template tag absstatic to have absolute url for static file and avoid using LDT_MEDIA_PREFIX new absurl template tag can be used instead of template tag url to have absolute url replacement of all LDT_MEDIA_PREFIX in different templates and views

README - Platform virtualenv lib modifications
-------------------------------------------------

1. DJANGO-PISTON 
https://bitbucket.org/jespern/django-piston/overview
------------------------------------------------------
Model name collision with python-oauth.
Described here: https://bitbucket.org/david/django-oauth/issue/3/collision-with-django-piston-on-syncdb

Piston and Django-oauth use the same model for Tokens, and same related name to their ForeignKey User.
One of the related_name has to be modified.
See platform/virtualenv/web/res/patch/piston.diff


2. PYTHON-OAUTH2
https://github.com/simplegeo/python-oauth2
---------------------------------------------
Request paramters are not handled correctly, and sometimes appear twice in the request query_string.
Described here: https://github.com/simplegeo/python-oauth2/issues#issue/21

Modification made in get_normalized_parameters in order to avoid doubling the parameters, and making the request non-valid.
See platform/virtualenv/web/res/patch/oauth2.diff