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 #6

Closed
MattFisher opened this issue Feb 8, 2016 · 6 comments
Closed

Django 1.10 compatibility #6

MattFisher opened this issue Feb 8, 2016 · 6 comments

Comments

@MattFisher
Copy link

autoslug.utils.get_uniqueness_lookups uses _meta.get_field_by_name, which is deprecated in Django 1.9 and removed in Django 1.10 (shows up when running Django 1.8 with the -Wall python flag):

.../python2.7/site-packages/autoslug/utils.py:119: RemovedInDjango110Warning: 'get_field_by_name is an unofficial API that has been deprecated. You may be able to replace it with 'get_field()'
    field_object, model, direct, m2m = instance._meta.get_field_by_name(field_name)
@barseghyanartur
Copy link

What's the status of this?

@pydanny
Copy link

pydanny commented Sep 16, 2016

Resolved in #16, just waiting for commentary or merge by project owner.

@jpic
Copy link

jpic commented Feb 7, 2017

Can we close this issue now ?

@barseghyanartur
Copy link

@jpic:

I'd say, it's fixed when a new version containing the fix is released. Asking people to use master branch or certain commit it dirty.

@edu2004eu
Copy link

@neithere any news on this? This is really breaking Django 1.10+ compatibility. I get that you're busy on other stuff, so is there anyone else with enough privileges that can create the new version?

@justinmayer
Copy link
Owner

django-autoslug v1.9.4, which should now support Django 1.10, 1.11, and 2.0+, has been released and published to PyPI. The documentation will be updated once ownership of the corresponding ReadTheDocs project has been transferred. (Link to transfer request)

Thanks to everyone for your patience! 🎉

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

No branches or pull requests

6 participants