bernardopires / django-tenant-schemas

Tenant support for Django using PostgreSQL schemas.
https://django-tenant-schemas.readthedocs.org/en/latest/
MIT License
1.46k stars 423 forks source link

Compatibility with Django 1.11 LTS #473

Closed JakeMana closed 7 years ago

JakeMana commented 7 years ago

Error when using with Django 1.11 LTS:

File "P:\python\eqini-new\lib\site-packages\tenant_schemas\models.py", line 4, in from tenant_schemas.postgresql_backend.base import _check_schema_name File "P:\python\eqini-new\lib\site-packages\tenant_schemas\postgresql_backend\base.py", line 12, in from tenant_schemas.postgresql_backend.introspection import DatabaseSchemaIntrospection File "P:\python\eqini-new\lib\site-packages\tenant_schemas\postgresql_backend\introspection.py", line 10, in FieldInfo = namedtuple('FieldInfo', FieldInfo._fields + ('default',)) File "P:\python\eqini-new\lib\collections__init__.py", line 413, in namedtuple raise ValueError('Encountered duplicate field name: %r' % name) ValueError: Encountered duplicate field name: 'default'

delizin commented 7 years ago

Just wanted to add that I am also experiencing this issue on a fresh install.

JakeMana commented 7 years ago

Is this solved by #463 ?

filipeximenes commented 7 years ago

Seems to be solved, but not on PyPI yet