django-tenant-schemas icon indicating copy to clipboard operation
django-tenant-schemas copied to clipboard

Django db introspection get_sequences() NotImplementedError on flush

Open jeroenbrouwer opened this issue 7 years ago • 5 comments
trafficstars

When running flush as tenant_command on a particular schema I get the following error:

NotImplementedError: subclasses of BaseDatabaseIntrospection may require a get_sequences() method

Apparently this method is not implemented in the tenant schemas backend yet. Maybe @AGASS007 or @ajmatsick could take a look, as you've submitted related pull requests before.

Thanks in advance 😃

jeroenbrouwer avatar Apr 03 '18 12:04 jeroenbrouwer

@AGASS007, seeing you've become a maintainer of this project.. do you have any idea whether this can and will be fixed in the future? Thanks!

jeroenbrouwer avatar Jun 19 '18 14:06 jeroenbrouwer

this feels like a django 2.0 addition.

Having a PR dropping compat with Django < 1.11 and fixing 2.0 and 2.1 is on my TODO.

Will keep you posted.

Cheers

g-as avatar Jun 19 '18 22:06 g-as

Awesome, thanks for the response!

jeroenbrouwer avatar Jun 20 '18 07:06 jeroenbrouwer

Hey! Any news regarding this issue? :)

knasti avatar Nov 19 '19 13:11 knasti

I fixed it in https://github.com/bernardopires/django-tenant-schemas/pull/567 unfortunately there hasn't been any feedback/progress on this project, so I just use the PR version in my project.

jeroenbrouwer avatar Nov 19 '19 18:11 jeroenbrouwer