-
Notifications
You must be signed in to change notification settings - Fork 283
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
ImportError: cannot import name 'app_settings' #259
Comments
+1 |
The build passes with Django 2.2 and Python 3.5: https://travis-ci.org/makinacorpus/django-leaflet/jobs/622608647 What version of django-leaflet are you using? |
Last September, when I posted my error here, I downloaded the latest version (in September I specify), today I can't know the version number. Since I hadn't had any feedback, I just deleted... |
This is the same problem I'm encountering. Any assistance is appreciated. Changing my Django to 2.2 and Python to 3.5 has not done the trick. |
I guess we would need a real or sample project to be able to debug this issue. |
Hi, just uninstall the installed django-leaflet and then install it again |
Good evening all
I get Django 2.2 and i install lasted version of Django-leafted
But i get ImportError: cannot import name 'app_settings' in my consol
I get Python 3.5
That's all error message i get:
Traceback (most recent call last): File "c:\python35-32\Lib\threading.py", line 914, in _bootstrap_inner self.run() File "c:\python35-32\Lib\threading.py", line 862, in run self._target(*self._args, **self._kwargs) File "C:\Users\root\Envs\personal\lib\site-packages\django\utils\autoreload.py", line 54, in wrapper fn(*args, **kwargs) File "C:\Users\root\Envs\personal\lib\site-packages\django\core\management\commands\runserver.py", line 109, in inner_run autoreload.raise_last_exception() File "C:\Users\root\Envs\personal\lib\site-packages\django\utils\autoreload.py", line 77, in raise_last_exception raise _exception[0](_exception[1]).with_traceback(_exception[2]) File "C:\Users\root\Envs\personal\lib\site-packages\django\utils\autoreload.py", line 54, in wrapper fn(*args, **kwargs) File "C:\Users\root\Envs\personal\lib\site-packages\django\__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "C:\Users\root\Envs\personal\lib\site-packages\django\apps\registry.py", line 122, in populate app_config.ready() File "C:\Users\root\Envs\personal\lib\site-packages\django\contrib\admin\apps.py", line 24, in ready self.module.autodiscover() File "C:\Users\root\Envs\personal\lib\site-packages\django\contrib\admin\__init__.py", line 26, in autodiscover autodiscover_modules('admin', register_to=site) File "C:\Users\root\Envs\personal\lib\site-packages\django\utils\module_loading.py", line 47, in autodiscover_modules import_module('%s.%s' % (app_config.name, module_to_search)) File "C:\Users\root\Envs\personal\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 985, in _gcd_import File "<frozen importlib._bootstrap>", line 968, in _find_and_load File "<frozen importlib._bootstrap>", line 957, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 673, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 697, in exec_module File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed File "C:\Users\root\Envs\personal\lib\site-packages\leaflet\admin.py", line 17, in <module> from .forms.widgets import LeafletWidget File "C:\Users\root\Envs\personal\lib\site-packages\leaflet\forms\widgets.py", line 15, in <module> from leaflet import app_settings, PLUGINS, PLUGIN_FORMS ImportError: cannot import name 'app_settings'
Thanks
The text was updated successfully, but these errors were encountered: