question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Incompatibilities with django 1.10

See original GitHub issue

Hi guys, now i update django to 1.10 version and i have this problem:

 salahaddin@TulipanROG  ~/Proyectos/demo-oscar/ecommerce   master ● ?  (demo-oscar)  ./manage.py runserver                                                                                               ✓  1685  18:14:32 
Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7f7ed4947730>
Traceback (most recent call last):
  File "/home/salahaddin/Proyectos/demo-oscar/lib/python3.5/site-packages/django/utils/autoreload.py", line 226, in wrapper
    fn(*args, **kwargs)
  File "/home/salahaddin/Proyectos/demo-oscar/lib/python3.5/site-packages/django/core/management/commands/runserver.py", line 113, in inner_run
    autoreload.raise_last_exception()
  File "/home/salahaddin/Proyectos/demo-oscar/lib/python3.5/site-packages/django/utils/autoreload.py", line 249, in raise_last_exception
    six.reraise(*_exception)
  File "/home/salahaddin/Proyectos/demo-oscar/lib/python3.5/site-packages/django/utils/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/home/salahaddin/Proyectos/demo-oscar/lib/python3.5/site-packages/django/utils/autoreload.py", line 226, in wrapper
    fn(*args, **kwargs)
  File "/home/salahaddin/Proyectos/demo-oscar/lib/python3.5/site-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/salahaddin/Proyectos/demo-oscar/lib/python3.5/site-packages/django/apps/registry.py", line 108, in populate
    app_config.import_models(all_models)
  File "/home/salahaddin/Proyectos/demo-oscar/lib/python3.5/site-packages/django/apps/config.py", line 199, in import_models
    self.models_module = import_module(models_module_name)
  File "/home/salahaddin/Proyectos/demo-oscar/lib/python3.5/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 986, in _gcd_import
  File "<frozen importlib._bootstrap>", line 969, in _find_and_load
  File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 665, in exec_module
  File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
  File "/home/salahaddin/Proyectos/demo-oscar/lib/python3.5/site-packages/oscar/apps/address/models.py", line 1, in <module>
    from oscar.apps.address.abstract_models import (
  File "/home/salahaddin/Proyectos/demo-oscar/lib/python3.5/site-packages/oscar/apps/address/abstract_models.py", line 13, in <module>
    from oscar.models.fields import PhoneNumberField, UppercaseCharField
  File "/home/salahaddin/Proyectos/demo-oscar/lib/python3.5/site-packages/oscar/models/fields/__init__.py", line 3, in <module>
    from django.db.models import SubfieldBase
ImportError: cannot import name 'SubfieldBase'

Here are a solution for this problem.

I’ll report some problems with django 1.10.

Thanks you!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
pxgcommented, Dec 28, 2016

@CoffiDev I should have time to work on this in Q1 of 2017, but I have another project which needs to be finished first. The code appears to be stable, but we need to dig into why the tests are failing.

1reaction
pxgcommented, Oct 17, 2016

Ok great, let me know if you need a hand. I have an Oscar site I want to update to Django 1.10 so keen to get this working.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Django 1.10 release notes
Welcome to Django 1.10! These release notes cover the new features, as well as some backwards incompatible changes you'll want to be aware ......
Read more >
Incompatible with Django 1.10 · Issue #7 - GitHub
Support for this deprecated behavior is dropped from Django 1.10. Another issue that prevents this app from being used in current ...
Read more >
Haystack incompatible with Django 1.10? - Stack Overflow
1 Answer 1 · Yes and it uninstalled django 1,10 and installed 1.9.9. – A.Raouf · ' Found existing installation: Django 1.10 Uninstalling...
Read more >
Developers - Multiple incompatibilities with Django 1.10 -
Hi guys,. Thank you for your package! Unfortunately, with new django version we have some big problems that don't leave us work with...
Read more >
Changelog — django-configurations 2.4 documentation
BACKWARD INCOMPATIBLE Drop support of Django 1.9. Add support for Django 2.1. Add PositiveIntegerValue configuration value. Fix bool(BooleanValue) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found