virtualenv/web/res/README
author cavaliet
Thu, 13 Nov 2014 16:27:11 +0100
changeset 157 a3b764f393a0
parent 2 bafbf72652b9
permissions -rwxr-xr-x
Added tag V00.06.06 for changeset 60917da03414
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     1
README - Platform virtualenv lib modifications
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     2
-------------------------------------------------
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     3
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     4
1. DJANGO-PISTON 
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     5
https://bitbucket.org/jespern/django-piston/overview
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     6
------------------------------------------------------
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     7
Model name collision with python-oauth.
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     8
Described here: https://bitbucket.org/david/django-oauth/issue/3/collision-with-django-piston-on-syncdb
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
     9
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    10
Piston and Django-oauth use the same model for Tokens, and same related name to their ForeignKey User.
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    11
One of the related_name has to be modified.
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    12
See platform/virtualenv/web/res/patch/piston.diff
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    13
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    14
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    15
2. PYTHON-OAUTH2
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    16
https://github.com/simplegeo/python-oauth2
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    17
---------------------------------------------
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    18
Request paramters are not handled correctly, and sometimes appear twice in the request query_string.
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    19
Described here: https://github.com/simplegeo/python-oauth2/issues#issue/21
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    20
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    21
Modification made in get_normalized_parameters in order to avoid doubling the parameters, and making the request non-valid.
bafbf72652b9 virtualenv first commit and structure for spel app
cavaliet
parents:
diff changeset
    22
See platform/virtualenv/web/res/patch/oauth2.diff