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

Fixed Django 1.9 compatibility: Pass views as callables, not as strings #148

Merged
merged 2 commits into from
Dec 23, 2015
Merged

Fixed Django 1.9 compatibility: Pass views as callables, not as strings #148

merged 2 commits into from
Dec 23, 2015

Conversation

hugodes
Copy link
Contributor

@hugodes hugodes commented Dec 23, 2015

Conflicts:
tinymce/urls.py
Fixes #145

Conflicts:
	tinymce/urls.py
@@ -1,17 +1,18 @@
# Copyright (c) 2008 Joost Cassee
# Licensed under the terms of the MIT License (see LICENSE.txt)
from tinymce.views import textareas_js, spell_check, flatpages_link_list, compressor, filebrowser, preview
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we do: from tinymce import views and then use views.textareas_js in the url definition?

@hugodes
Copy link
Contributor Author

hugodes commented Dec 23, 2015

@Natim took your advice into acount in the last commit

@Natim
Copy link
Collaborator

Natim commented Dec 23, 2015

Thanks.

Natim added a commit that referenced this pull request Dec 23, 2015
Fixed Django 1.9 compatibility: Pass views as callables, not as strings
@Natim Natim merged commit dea48cf into jazzband:master Dec 23, 2015
@Natim
Copy link
Collaborator

Natim commented Dec 23, 2015

Released with in django-tinymce 2.1.0

@hugodes
Copy link
Contributor Author

hugodes commented Dec 23, 2015

That was my first contibution to a django app :D thanks !

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.

3 participants