virtualenv/web/res/README
author ymh <ymh.work@gmail.com>
Thu, 06 Nov 2014 02:08:12 +0100
changeset 176 a343992c55fd
parent 0 81e7900b06a7
permissions -rw-r--r--
Added tag V00.08 for changeset 1ff6533ba75d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
README - Platform virtualenv lib modifications
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
-------------------------------------------------
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
1. DJANGO-PISTON 
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
https://bitbucket.org/jespern/django-piston/overview
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
------------------------------------------------------
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
Model name collision with python-oauth.
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
Described here: https://bitbucket.org/david/django-oauth/issue/3/collision-with-django-piston-on-syncdb
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
Piston and Django-oauth use the same model for Tokens, and same related name to their ForeignKey User.
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
One of the related_name has to be modified.
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
See platform/virtualenv/web/res/patch/piston.diff
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
2. PYTHON-OAUTH2
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
https://github.com/simplegeo/python-oauth2
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
---------------------------------------------
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
Request paramters are not handled correctly, and sometimes appear twice in the request query_string.
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    19
Described here: https://github.com/simplegeo/python-oauth2/issues#issue/21
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
Modification made in get_normalized_parameters in order to avoid doubling the parameters, and making the request non-valid.
81e7900b06a7 First import
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
See platform/virtualenv/web/res/patch/oauth2.diff