You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new release of dajaxice 0.1.5 breaks on version 1.0.4 of Django because it relies on django.util.importlib which is not available until the 1.1.x versions of Django. The previous version of dajaxice 0.1.4 had code to detect this case.
If the new versions of dajaxice will not be compatible with older versions of Django, it would be helpful if that was mentioned in the documentation or even better dajaxice could check if the version of Django is compatible and display an nice error message.
Unfortunately, I can't easily upgrade my Django version so I will be stuck with the older version of dajaxice if this can't be fixed.
- First dajaxice 0.1.6 commit
- Dajaxice core was rewrited to solve bad path registration at any module depth.
- Dajaxice now works with django<=1.0.4 (django.utils.importlib isn't required, but it's recommended).
- Fixing some characters missing using '+'
- Some Tests should be rewrited.
The new release of dajaxice 0.1.5 breaks on version 1.0.4 of Django because it relies on django.util.importlib which is not available until the 1.1.x versions of Django. The previous version of dajaxice 0.1.4 had code to detect this case.
If the new versions of dajaxice will not be compatible with older versions of Django, it would be helpful if that was mentioned in the documentation or even better dajaxice could check if the version of Django is compatible and display an nice error message.
Unfortunately, I can't easily upgrade my Django version so I will be stuck with the older version of dajaxice if this can't be fixed.
try:
from importlib import import_module
DAJAXICE_MODERN_IMPORT = True
except:
try:
from django.utils import importlib
DAJAXICE_MODERN_IMPORT = True
except:
DAJAXICE_MODERN_IMPORT = False
The text was updated successfully, but these errors were encountered: