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
Make compatible with Django 1.8 #90
Conversation
obsolete contrib package. This fixes issue jazzband#89
1 similar comment
Including django_formtools as a dependency will not work for Django versions < 1.7, as django_formtools requires >= 1.7. What would be a portable way to continue support for older Django versions? |
I can modify the compat.py test: if django.VERSION[:2] >= (1, 8): One thing I don't know how to do is craft install_requires to On 4/3/2015 13:04, Bouke Haarsma wrote:
|
@csghormley, look at the Requirements in setup.py portion of this stackoverflow answer: So maybe something along the lines of:
However, this would also require django to already be installed and if that's the case, you would just do the same version checking that you mentioned above. Just a thought... |
Second thought, why not just always include |
Thanks for the suggestions, however;
|
@timgraham, with the release of django 1.8, formtools was moved to it's own repo. How do you guys setup your setup.py to happily work with django 1.8+ as well as older versions of django that require the formtools app? (see discussion above). |
Not sure a good solution to this. I'd try asking on the django-users mailing list. |
@Bouke, what about leaving Then update the |
I posted to the django-users group. I'll post the thread here once the topic has been approved. |
Thanks everyone for your work. I've included installation instructions in 32eb41d. In a few months, support for 1.4 is dropped and django-formtools can be included for everyone. |
Please let me know if the latest commit on master works for you on Django 1.8. If all is well, I'll release it as 1.2. |
Just tested the latest master and everything works as expected for me using django 1.8, python 3.4. Thanks @Bouke! 👍 |
Patch imports and setup to use django-formtools instead of the obsolete contrib package.
This fixes issue #89
Passed all tests in my environment.