Skip to content

New migration created in site-packages #154

@cccaballero

Description

@cccaballero

I am using this great app and I have found that when I run makemigrations a new migration is created in the site-packages module containing:

# Generated by Django 3.0.6 on 2020-05-17 18:32

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('contenttypes', '0002_remove_content_type_name'),
        ('categories', '0003_auto_20200306_1050'),
    ]

    operations = [
        migrations.AlterField(
            model_name='categoryrelation',
            name='content_type',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType', verbose_name='content type'),
        ),
    ]

This, of course, is triggering errors because the file is generated with a different name every time, this file, of course, should not be created dynamically because packages should be immutable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions