We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am using a multi tenant app, and executing makemigrations generates a new migration in django-categories.
from django.db import migrations, models import tenant_schemas.storage class Migration(migrations.Migration): dependencies = [ ('categories', '0004_auto_20200517_1832'), ] operations = [ migrations.AlterField( model_name='category', name='level', field=models.PositiveIntegerField(db_index=True, editable=False), ), migrations.AlterField( model_name='category', name='lft', field=models.PositiveIntegerField(db_index=True, editable=False), ), migrations.AlterField( model_name='category', name='rght', field=models.PositiveIntegerField(db_index=True, editable=False), ), migrations.AlterField( model_name='category', name='thumbnail', field=models.FileField(blank=True, null=True, storage=tenant_schemas.storage.TenantFileSystemStorage(), upload_to='uploads/categories/thumbnails'), ), ]
*The last line is because I have in my settings.py: DEFAULT_FILE_STORAGE = 'tenant_schemas.storage.TenantFileSystemStorage'
how to avoid new migrations?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am using a multi tenant app, and executing makemigrations generates a new migration in django-categories.
*The last line is because I have in my settings.py:
DEFAULT_FILE_STORAGE = 'tenant_schemas.storage.TenantFileSystemStorage'
how to avoid new migrations?
The text was updated successfully, but these errors were encountered: