Opened 9 years ago

Closed 9 years ago

#25101 closed Uncategorized (needsinfo)

ImportError regression for 1.8.3, triggered with Django Rest Framework

Reported by: Luca Corti Owned by: nobody
Component: Uncategorized Version: 1.8
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Change History (3)

comment:1 by Tim Graham, 9 years ago

Resolution: needsinfo
Status: newclosed

I haven't been able to reproduce a problem. Please reopen with steps to reproduce or a sample project.

comment:2 by Eduard Iskandarov, 9 years ago

Resolution: needsinfo
Status: closednew

I have the same issue on Django 1.8.3.
But in my case there is no DRF.

ImportError: cannot import name RemovedInDjango110Warning
Traceback (most recent call last):
  File "/usr/local/mras-webtools/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 206, in __call__
    """
  File "/usr/local/mras-webtools/lib/python2.7/site-packages/django/core/handlers/base.py", line 194, in get_response
    
  File "/usr/local/mras-webtools/lib/python2.7/site-packages/django/core/handlers/base.py", line 232, in handle_uncaught_exception
    signals.got_request_exception.send(sender=self.__class__, request=request)
  File "/usr/local/mras-webtools/lib/python2.7/site-packages/django/core/urlresolvers.py", line 360, in urlconf_module
    def resolve(self, path):
  File "/usr/local/mras-webtools/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
    for character in name:
  File "/usr/local/mras-webtools/lib/python2.7/site-packages/mras_webtools/urls.py", line 2, in <module>
    from django.conf.urls import patterns, include, url
  File "/usr/local/mras-webtools/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 8, in <module>
    from django.utils.deprecation import RemovedInDjango110Warning
Last edited 9 years ago by Eduard Iskandarov (previous) (diff)

comment:3 by Tim Graham, 9 years ago

Resolution: needsinfo
Status: newclosed

Is it possible you have two versions of Django installed? I don't think it's a bug in Django. We need steps to reproduce the problem.

Note: See TracTickets for help on using tickets.
Back to Top