Merge ~woutervb/django-piston:django2 into django-piston:master
Proposed by
Wouter van Bommel
Status: | Merged |
---|---|
Approved by: | Wouter van Bommel |
Approved revision: | dca08f3f9530ef878d2af27dfaba6e604e98dbb2 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~woutervb/django-piston:django2 |
Merge into: | django-piston:master |
Diff against target: |
341 lines (+46/-94) 15 files modified
.gitignore (+7/-0) demo/settings.py (+18/-7) demo/urls.py (+1/-1) piston/__init__.py (+1/-1) piston/authentication.py (+1/-3) piston/doc.py (+1/-1) piston/emitters.py (+6/-6) piston/handler.py (+0/-1) piston/migrations/0001_initial.py (+3/-5) piston/models.py (+3/-6) piston/resource.py (+1/-2) piston/signals.py (+0/-1) piston/store.py (+1/-2) piston/utils.py (+0/-2) tox.ini (+3/-56) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Natalia Bidart (community) | Approve | ||
Review via email: mp+391980@code.launchpad.net |
Commit message
Implement the changes so that django-piston is compatible with django2.
We will need out own version, as the one found on internet / github does not include the migrations (and has other changes which might not be compatible)
To post a comment you must log in.
Hey Wouter, thanks for this work. A few suggestions/ comments:
1- the demo/settings.py needs modernizing for the TEMPLATE_DEBUG setting
2- it seems like the demo/urls.py hasn't been migrated to Django2, did you happen to confirm that demo project works?
3- any reason to import json as simplejson instead of just migrating references to simplesjson->json?
And I added a few inline commnets below.