Closed tgs closed 9 years ago
@tgs
Hey, thanks much for reporting this.
I've started to work on Django 1.7 compatibility. So far, it does seem to work with some tiny tricks. I need to spend some more time on it though, in order to prepare a new release.
I'll post updates on the issue right here.
@tgs
This should be properly documented (a TODO), but master branch does work for me in Django 1.7.
See the following files:
No apps that are incompatible with Django 1.7 should be listed in the settings.py.
What for the example project, that comes with django-dash, the only difference is that django-registration has been replaced with django-registration-redux, which works fine with Django 1.7 as well.
No release has been made yet, since there's some work to do still, but that's what works already.
Thank you for the quickness of your response! I'll try out your changes today.
@tgs
Hey, I was wondering if it worked for you. Did it?
@tgs
Hey, I've just released a new version 0.4.8 (PyPI updated too). All automated tests and tests that I have made with 3-rd party apps passed. With several dependencies updated and tiny changes to settings, it works just fine.
I'm closing this issue. If you get any problems regarding the 1.7 support, please open a new issue.
The main issue I found is that it fails during Django's setup. In 1.7, apparently, one is not supposed to call get_user_model() in module-level code. Here is a backtrace:
I worked around this by changing src/dash/compat.py to read:
I imagine that this breaks some old versions of Django, but I haven't tested. If you're interested in a pull request, I might have time to try it out.