-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
- 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'
```
m-aciek and rafaelpivato
Metadata
Metadata
Assignees
Labels
No labels