Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes with Django 1.11 (no BaseSettings anymore) #2

Open
cuducos opened this issue May 8, 2017 · 2 comments
Open

Crashes with Django 1.11 (no BaseSettings anymore) #2

cuducos opened this issue May 8, 2017 · 2 comments

Comments

@cuducos
Copy link

cuducos commented May 8, 2017

  • pyup-django version: 0.3.0
  • Django version: 1.11.1
  • Python version: 3.6.1
  • Operating System: macOS 10.12.4

Description

pyup-django uses django.conf.BaseSettings which seems to removed in Django 1.11:

  File "/Users/cuducos/.virtualenvs/InternetSemLimites/lib/python3.6/site-packages/pyup_django/settings.py", line 2, in <module>
    from django.conf import BaseSettings, settings as django_settings
ImportError: cannot import name 'BaseSettings'

``` Traceback (most recent call last): File "/Users/cuducos/Sites/InternetSemLimites/manage.py", line 10, in execute_from_command_line(sys.argv) File "/Users/cuducos/.virtualenvs/InternetSemLimites/lib/python3.6/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line utility.execute() File "/Users/cuducos/.virtualenvs/InternetSemLimites/lib/python3.6/site-packages/django/core/management/__init__.py", line 337, in execute django.setup() File "/Users/cuducos/.virtualenvs/InternetSemLimites/lib/python3.6/site-packages/django/__init__.py", line 27, in setup apps.populate(settings.INSTALLED_APPS) File "/Users/cuducos/.virtualenvs/InternetSemLimites/lib/python3.6/site-packages/django/apps/registry.py", line 116, in populate app_config.ready() File "/Users/cuducos/.virtualenvs/InternetSemLimites/lib/python3.6/site-packages/django/contrib/admin/apps.py", line 23, in ready self.module.autodiscover() File "/Users/cuducos/.virtualenvs/InternetSemLimites/lib/python3.6/site-packages/django/contrib/admin/__init__.py", line 26, in autodiscover autodiscover_modules('admin', register_to=site) File "/Users/cuducos/.virtualenvs/InternetSemLimites/lib/python3.6/site-packages/django/utils/module_loading.py", line 50, in autodiscover_modules import_module('%s.%s' % (app_config.name, module_to_search)) File "/Users/cuducos/.virtualenvs/InternetSemLimites/lib/python3.6/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 978, in _gcd_import File "", line 961, in _find_and_load File "", line 950, in _find_and_load_unlocked File "", line 655, in _load_unlocked File "", line 678, in exec_module File "", line 205, in _call_with_frames_removed File "/Users/cuducos/.virtualenvs/InternetSemLimites/lib/python3.6/site-packages/pyup_django/admin.py", line 11, in from .settings import settings File "/Users/cuducos/.virtualenvs/InternetSemLimites/lib/python3.6/site-packages/pyup_django/settings.py", line 2, in from django.conf import BaseSettings, settings as django_settings ImportError: cannot import name 'BaseSettings' ```
@cuducos
Copy link
Author

cuducos commented May 8, 2017

This could be helpful ; )

@jayfk
Copy link
Contributor

jayfk commented May 8, 2017

This could be helpful ; )

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants