Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/engine/base.py", line 2193, in connect

return self._connection_cls(self, **kwargs)


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/engine/base.py", line 103, in __init__

else engine.raw_connection()


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/engine/base.py", line 2293, in raw_connection

self.pool.unique_connection, _connection


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/engine/base.py", line 2262, in _wrap_pool_connect

return fn()


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/pool/base.py", line 294, in unique_connection

return _ConnectionFairy._checkout(self)


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/pool/base.py", line 751, in _checkout

fairy = _ConnectionRecord.checkout(pool)


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/pool/base.py", line 483, in checkout

rec = pool._do_get()


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/pool/impl.py", line 138, in _do_get

self._dec_overflow()


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/util/langhelpers.py", line 68, in __exit__

compat.reraise(exc_type, exc_value, exc_tb)


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/util/compat.py", line 129, in reraise

raise value


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/pool/impl.py", line 135, in _do_get

return self._create_connection()


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/pool/base.py", line 299, in _create_connection

return _ConnectionRecord(self)


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/pool/base.py", line 428, in __init__

self.__connect(first_connect_check=True)


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/pool/base.py", line 630, in __connect

connection = pool._invoke_creator(self)


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/engine/strategies.py", line 114, in connect

return dialect.connect(*cargs, **cparams)


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/SQLAlchemy-1.3.2.dev0-py3.6-macosx-10.13-x86_64.egg/sqlalchemy/engine/default.py", line 453, in connect

return self.dbapi.connect(*cargs, **cparams)


 "/Users/julian/pyvenv/sqlalchemy-py3.6/lib/python3.6/site-packages/psycopg2/__init__.py", line 127, in connect

raise TypeError('missing dsn and no parameters')
TypeError: missing dsn and no parameters

Traceback (most recent call last):


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner

response = get_response(request)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response

response = self.process_exception_by_middleware(e, request)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/contrib/admin/options.py", line 607, in wrapper

return self.admin_site.admin_view(view)(*args, **kwargs)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/utils/decorators.py", line 130, in _wrapped_view

response = view_func(request, *args, **kwargs)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func

response = view_func(request, *args, **kwargs)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/contrib/admin/sites.py", line 231, in inner

return view(request, *args, **kwargs)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/contrib/admin/options.py", line 1641, in change_view

return self.changeform_view(request, object_id, form_url, extra_context)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/utils/decorators.py", line 43, in _wrapper

return bound_method(*args, **kwargs)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/utils/decorators.py", line 130, in _wrapped_view

response = view_func(request, *args, **kwargs)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/contrib/admin/options.py", line 1522, in changeform_view

return self._changeform_view(request, object_id, form_url, extra_context)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/contrib/admin/options.py", line 1582, in _changeform_view

form = ModelForm(instance=obj)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/forms/models.py", line 293, in __init__

object_data = model_to_dict(instance, opts.fields, opts.exclude)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/django/forms/models.py", line 93, in model_to_dict

data[f.name] = f.value_from_object(instance)


 "/home/guzik/Dokumenty/supplierapi/venv/lib/python3.8/site-packages/djongo/models/fields.py", line 333, in value_from_object

for _dict in value:
TypeError: 'NoneType' object is not iterable
