Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSRF Exemption Removed #22

Closed
wants to merge 7 commits into from
Closed

CSRF Exemption Removed #22

wants to merge 7 commits into from

Conversation

jmons
Copy link
Owner

@jmons jmons commented Mar 28, 2017

This has a new set of tests specifically to look at issue #14, but even with the @csrf_exempt decorator removed, I can't find any issues.

I don't think this is needed for a release right now, but I would like to merge it in ready for whatever feature comes next.

James Taylor added 6 commits March 28, 2017 22:40
I’ve tested all the way down, and basically, because ofpython 3 compatibility, and other reasons, Django 1.7 is the mimimum we support (Also see note this isnt supported by Django community:

> 1.8[46]	1 Apr 2015	Native support for multiple template engines. Long-term support release, supported until at least April 2018
Now has test covering this situation (?)
# Conflicts:
#	ramlwrap/utils/validation.py
#	tests/RamlWrapTest/tests/test_ramlwrap.py
@jmons jmons mentioned this pull request Mar 28, 2017
@jmons
Copy link
Owner Author

jmons commented Mar 28, 2017

Ooh now that's interesting, because I ran all the tox tests before committing and pushing (screen grab from local tox:

screen shot 2017-03-28 at 23 21 03

I will have to look at this later.

@Jamian
Copy link
Collaborator

Jamian commented Mar 29, 2017

I gave tox a run locally and get fails for py27-django7 and py3-django7... same as the travis.

Not sure how your local ran fine.

image

@jmons
Copy link
Owner Author

jmons commented Mar 29, 2017

Ok, if I force tox to reload its cache (tox -r) then this now fails on my local machine. I wonder if django7 is now a broken install?

@jmons
Copy link
Owner Author

jmons commented Mar 30, 2017

Dave has graciously found the cause - there is a django change (the builds worked fine for him on his mac) so I'm going to reverse-merge again, and re-run the tests.

@jmons
Copy link
Owner Author

jmons commented Feb 11, 2018

Closing as not part of RC2 structure: this code has been completly re-written.

@jmons jmons closed this Feb 11, 2018
@Jamian Jamian deleted the f_test_csrf_exemption branch February 14, 2018 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants