Skip to content

Update utils.py for compatibility with Django 1.10 +#5

Open
becky-jisc wants to merge 1 commit intomagopian:masterfrom
becky-jisc:patch-1
Open

Update utils.py for compatibility with Django 1.10 +#5
becky-jisc wants to merge 1 commit intomagopian:masterfrom
becky-jisc:patch-1

Conversation

@becky-jisc
Copy link
Copy Markdown

Updated for compatibility with Django 1.10 +
Replaced the get_all_field_names and get_field_by_name methods, which have been removed from the Model._meta API.
https://docs.djangoproject.com/en/2.0/ref/models/meta/#migrating-from-the-old-api

Updated for compatibility with Django 1.10 +
Replaced the get_all_field_names and get_field_by_name methods, which have been removed from the Model._meta API.
https://docs.djangoproject.com/en/2.0/ref/models/meta/#migrating-from-the-old-api
@magopian
Copy link
Copy Markdown
Owner

magopian commented Mar 9, 2018

Hi,

I'm not maintaining this repository anymore. If it's useful to you, please let me know and we can discuss adding you as a maintainer.

Regarding the travis failure, it seems that you've used tabs, while the project is using spaces. Also, this will probably need some kind of backwards compatibility.

Thanks for your contribution!

@becky-jisc
Copy link
Copy Markdown
Author

becky-jisc commented Mar 9, 2018 via email

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.

2 participants