Sergei Iurchenko

Results 14 comments of Sergei Iurchenko

[Django datamigrations](https://docs.djangoproject.com/en/4.0/topics/migrations/#data-migrations) for next version of project solve this issues. There is no robust way to migrate data between different types automatically.

Hello @Mogost ! Review please =)

Hello @Mogost ! Sorry for so long review fixes. Now everything is saved: table, permissions, content types.

``` from constance.management.commands.constance import _set_constance_value _set_constance_value(key, value) ```

1. Could you provide your gunicorn config and execution args? 2. Do you use threads in your application?

1) I suppose there can be some problem with threads. Could you change worker_class to sync ? Will error disappear? 2) Try to disable preload https://docs.gunicorn.org/en/latest/settings.html?highlight=reload#reload

What exactly tenant library do you use? You can use database backend and it should work out of box. May be this option for cache help backend https://docs.djangoproject.com/en/4.1/ref/settings/#std-setting-CACHES-KEY_PREFIX

@Mogost @camilonova Well, I fixed everything. Review finally please =)

@SpecialK118 Hello) install just via `pip install django-constance`. '`constance.backends.database`' should be removed from INSTALLED_APPS Changes are described in [changelog](https://github.com/jazzband/django-constance/blob/master/docs/changes.rst)