Django 2.0 compatibility
See original GitHub issueI am trying to set up a mock with django-mama-cas + django-cas-ng under Python 3.6 and Django 2.0. Unfortunately, it appears django-mama-cas is not compatible with Django 2.0. Trying to run manage.py migrate yields:
$ ./manage.py migrate
Traceback (most recent call last):
File "./manage.py", line 15, in <module>
execute_from_command_line(sys.argv)
File "/home/godlike/virtualenv/36/lib/python3.6/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line
utility.execute()
File "/home/godlike/virtualenv/36/lib/python3.6/site-packages/django/core/management/__init__.py", line 347, in execute
django.setup()
File "/home/godlike/virtualenv/36/lib/python3.6/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/godlike/virtualenv/36/lib/python3.6/site-packages/django/apps/registry.py", line 112, in populate
app_config.import_models()
File "/home/godlike/virtualenv/36/lib/python3.6/site-packages/django/apps/config.py", line 198, in import_models
self.models_module = import_module(models_module_name)
File "/home/godlike/virtualenv/36/lib64/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/home/godlike/virtualenv/36/lib/python3.6/site-packages/mama_cas/models.py", line 32, in <module>
from mama_cas.utils import add_query_params
File "/home/godlike/virtualenv/36/lib/python3.6/site-packages/mama_cas/utils.py", line 5, in <module>
from django.core import urlresolvers
ImportError: cannot import name 'urlresolvers'
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
FAQ: Installation | Django documentation
For a production environment, we recommend PostgreSQL; but we also officially support MariaDB, MySQL, SQLite, and Oracle. See Supported Databases for more ...
Read more >Download Django
The last version to support Python 2.7 is Django 1.11 LTS. See the FAQ for the Python versions supported by ... 2.0, 2.0.13,...
Read more >Django 2.2 release notes
Django 2.2 supports Python 3.5, 3.6, 3.7, 3.8 (as of 2.2.8), and 3.9 (as of 2.2.17). We highly recommend and only officially support...
Read more >Django 2.1 release notes
Django 2.1 supports Python 3.5, 3.6, and 3.7. Django 2.0 is the last version to support Python 3.4. We highly recommend and only...
Read more >28938 (Django 2.0 tutorial implies compatibility with Python 2.7)
It should be made clear that Django 2.1 is only compatible with Python 3.5+ and that users of Python 3.4 and older must...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Any overview of when this will be released to pypi? 😃
@godlike64 PR https://github.com/jbittel/django-mama-cas/pull/56 has been merged today, mama-cas is now Django 2.0 ready!