diff options
author | 2018-10-19 18:51:48 +0100 | |
---|---|---|
committer | 2018-10-19 18:51:48 +0100 | |
commit | b70ee7dff60759b5853534e10baff26b11665b1b (patch) | |
tree | 0cc5c181c309473654410762a899a7627e5522d7 /api/migrations | |
parent | Merge branch 'django' of https://gitlab.com/python-discord/projects/site into... (diff) |
Added snake idioms api
Diffstat (limited to 'api/migrations')
-rw-r--r-- | api/migrations/0010_snakeidiom.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/api/migrations/0010_snakeidiom.py b/api/migrations/0010_snakeidiom.py new file mode 100644 index 00000000..982a9466 --- /dev/null +++ b/api/migrations/0010_snakeidiom.py @@ -0,0 +1,21 @@ +# Generated by Django 2.1.2 on 2018-10-19 16:27 + +import api.models +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('api', '0009_snakefact'), + ] + + operations = [ + migrations.CreateModel( + name='SnakeIdiom', + fields=[ + ('idiom', models.CharField(help_text='A snake idiom', max_length=140, primary_key=True, serialize=False)), + ], + bases=(api.models.ModelReprMixin, models.Model), + ), + ] |