EatEmAll / django-djeddit

Minimalistic Reddit clone developed as a Django reusable app
http://eatemall.pythonanywhere.com
Other
42 stars 13 forks source link

Unapplied Migration thread.locked #32

Open wisefool769 opened 5 years ago

wisefool769 commented 5 years ago

Description

I was trying to run the app and got an error about models having unapplied migrations

What I Did

I did makemigrations, and the warning went away, creating a migration like this: class Migration(migrations.Migration):

dependencies = [
    ('djeddit', '0006_thread_slug'),
]

operations = [
    migrations.AlterField(
        model_name='thread',
        name='locked',
        field=models.BooleanField(blank=True, default=False),
    ),
]