jazzband / django-dbtemplates

Django template loader for database stored templates with extensible cache backend

Home Page:https://django-dbtemplates.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

migrations

VVStanley opened this issue · comments

When you run migrations from your library, a migration is created
/dbtemplates/migrations/0002_alter_template_id.py
with content like this

class Migration(migrations.Migration):

     dependencies = [
         ('dbtemplates', '0001_initial'),
     ]

     operations = [
         migrations.AlterField(
             model_name='template',
             name='id',
             field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
         ),
     ]

Django = "^3.2.7"