-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fix for Python 3 #8
Conversation
https://docs.djangoproject.com/en/1.5/topics/http/shortcuts/ "content_type Changed in Django 1.5: This parameter used to be called mimetype."
This is great, can we add a tests and a test matrix to make sure it works with the supported version of Django? We probably want to make it explicit on the README too. |
527e533
to
618ecb0
Compare
Now it comes with the Travist testing and Coveralls coverage reports. You will have to enable it for the main repository. |
Apparently as this repositiory is not in an org, I cannot do it myself. @jojax can you do it? |
- pip install -q "$DJANGO_VERSION" | ||
- python setup.py install | ||
script: | ||
- coverage run manage.py test --settings=settings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When trying to run this locally I get a No file to run: 'manage.py'
error.
Would you mind also adding a tox.ini file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind it just works:
$ coverage run manage.py test --settings=settings
Creating test database for alias 'default'...
ERROR Got error:
details: Description of the error by the browser javascript engine.
user: <UNAUTHENTICATED>
..
----------------------------------------------------------------------
Ran 2 tests in 0.030s
OK
Destroying test database for alias 'default'...
First of all thanks @PetrDlouhy for your work on this. |
based on PR #7