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

Initial Django 1.11 and 2.0 support #21

Closed
wants to merge 6 commits into from

Conversation

stefanor
Copy link

@stefanor stefanor commented Dec 28, 2017

Enough to pass tests. (tested on everything except Python 3.4).

There are some compatibility hacks (noted with comments) that can be rolled back, once older Django support is dropped.

Fixes: #22

The legacy path isn't useable in Django 2.0
As of Django 1.11. Previously, it pulled them off the widget, itself.
Django 1.11's template-based widget rendering rewrote this code.

For compatibility with Django pre-1.11, we pass the base_attrs as a
kwarg, this will be treated as an extra attr named "base_attrs", in old
Django.
The private method _get_val_from_obj was removed in 2.0
@zsiciarz
Copy link
Owner

Hey @stefanor, big thanks for your work! Sorry for the (extremely) late response. I burned out a little and neglected Open Source for some time. Getting back to business at last :) I'll merge this PR soon and drop compatibility with Django<1.11.

@hodgestar
Copy link

@zsiciarz Meep. Anything we can do to help merge this and make a new release?

@programmylife
Copy link

Hi @zsiciarz , I am helping to set up the website for SciPy for next summer and we would like to adopt wafer (which has a dependency on this repo), but we are concerned about starting with 1.11 since it will be EOL by the time the conference comes around.

Could you merge this PR? Or is there anything you need help with in order to complete the merge?

@drnlm
Copy link

drnlm commented Feb 10, 2020

The CTPUG organisation has taken over maintaining django-markitup - https://github.com/CTPUG/django-markitup .

We've released django-markitup 3.5.0 with support for Django 2.0, and will continue working on the other outstanding issues.

@stefanor stefanor closed this Mar 26, 2020
@stefanor stefanor deleted the django2.0 branch March 26, 2020 18:23
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.

Django 2.0 compatibility
5 participants