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

Django >= 1.10 Compatibility #88

Closed
wants to merge 6 commits into from
Closed

Django >= 1.10 Compatibility #88

wants to merge 6 commits into from

Conversation

guneysus
Copy link

@guneysus guneysus commented Nov 6, 2016

No description provided.

@coveralls
Copy link

coveralls commented Nov 6, 2016

Coverage Status

Coverage decreased (-0.4%) to 95.632% when pulling 175445b on guneysus:master into a4994eb on toastdriven:master.

Copy link
Collaborator

@seocam seocam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please provide some tests to ensure the version comparisons are working properly?

Thanks for the PR! Looking forward to see the updates ;)

from django.conf import settings
from django.conf.urls import patterns, url

if get_django_version() >= '1.10.0':
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comparison might fail in some circumstances. Please see http://stackoverflow.com/questions/11887762/compare-version-strings

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seocam will be working on this.

🏃‍♂️

url(r'^(?P<pk>\d+)/$', cls.as_detail(),
name=cls.build_url_name('detail', name_prefix))]

if get_django_version() >= '1.10.0':
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 95.642% when pulling 6602dec on guneysus:master into a4994eb on toastdriven:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.4%) to 95.642% when pulling 6602dec on guneysus:master into a4994eb on toastdriven:master.

@guneysus
Copy link
Author

guneysus commented Nov 7, 2016

Seems that find_spec has a problem with python 3.3.6.

Python 2.7 and 3.4 tests passed.

image

see: http://stackoverflow.com/a/34648720/1766716

https://travis-ci.org/toastdriven/restless/jobs/173916340#L267

@leportella
Copy link

@guneysus maybe just a rebase will work.

I saw that we are not testing 3.3 on the travis file. What do you think?

@seocam
Copy link
Collaborator

seocam commented May 22, 2017

Master should now be compatible with django 1.10

@seocam seocam closed this May 22, 2017
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

4 participants