caktus / django-sticky-uploads

Enhanced file input widget for Django which uploads the file in the background and retains value on form errors.
BSD 3-Clause "New" or "Revised" License
32 stars 9 forks source link

Bug for Django 2.0 ? #29

Open janekg89 opened 6 years ago

janekg89 commented 6 years ago

Unhandled exception in thread started by <function check_errors..wrapper at 0x7fee7e5b2400> Traceback (most recent call last): File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/django/utils/autoreload.py", line 225, in wrapper fn(*args, kwargs) File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/channels/management/commands/runserver.py", line 55, in inner_run self.check(display_num_errors=True) File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/django/core/management/base.py", line 364, in check include_deployment_checks=include_deployment_checks, File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/django/core/management/base.py", line 351, in _run_checks return checks.run_checks(kwargs) File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/django/core/checks/registry.py", line 73, in run_checks new_errors = check(app_configs=app_configs) File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/django/core/checks/urls.py", line 13, in check_url_config return check_resolver(resolver) File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/django/core/checks/urls.py", line 23, in check_resolver return check_method() File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/django/urls/resolvers.py", line 397, in check for pattern in self.url_patterns: File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/django/utils/functional.py", line 36, in get res = instance.dict[self.name] = self.func(instance) File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/django/urls/resolvers.py", line 536, in url_patterns patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/django/utils/functional.py", line 36, in get res = instance.dict[self.name] = self.func(instance) File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/django/urls/resolvers.py", line 529, in urlconf_module return import_module(self.urlconf_name) File "/home/janekg89/Envs/tellurium-web/lib/python3.5/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 986, in _gcd_import File "", line 969, in _find_and_load File "", line 958, in _find_and_load_unlocked File "", line 673, in _load_unlocked File "", line 665, in exec_module File "", line 222, in _call_with_frames_removed File "/home/janekg89/Develop/Pycharm_Projects/tellurium-web/teweb/teweb/urls.py", line 27, in url(r'^', include('combine.urls')), File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/django/urls/conf.py", line 34, in include urlconf_module = import_module(urlconf_module) File "/home/janekg89/Envs/tellurium-web/lib/python3.5/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 986, in _gcd_import File "", line 969, in _find_and_load File "", line 958, in _find_and_load_unlocked File "", line 673, in _load_unlocked File "", line 665, in exec_module File "", line 222, in _call_with_frames_removed File "/home/janekg89/Develop/Pycharm_Projects/tellurium-web/teweb/combine/urls.py", line 3, in from . import views File "/home/janekg89/Develop/Pycharm_Projects/tellurium-web/teweb/combine/views.py", line 32, in from .forms import UploadArchiveForm File "/home/janekg89/Develop/Pycharm_Projects/tellurium-web/teweb/combine/forms.py", line 6, in from stickyuploads.widgets import StickyUploadWidget File "/home/janekg89/Envs/tellurium-web/lib/python3.5/site-packages/stickyuploads/widgets.py", line 4, in from django.core.urlresolvers import reverse_lazy ImportError: No module named 'django.core.urlresolvers'