created data model
This commit is contained in:
parent
3a2d5cfa58
commit
bd0630bff6
2 changed files with 0 additions and 27 deletions
|
@ -1,27 +0,0 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
# Generated by Django 1.9.1 on 2016-01-31 15:12
|
|
||||||
from __future__ import unicode_literals
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
initial = True
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.CreateModel(
|
|
||||||
name='question',
|
|
||||||
fields=[
|
|
||||||
('id', models.IntegerField(primary_key=True, serialize=False)),
|
|
||||||
('title', models.CharField(max_length=100)),
|
|
||||||
('text', models.TextField()),
|
|
||||||
('options', models.TextField()),
|
|
||||||
('answer', models.IntegerField()),
|
|
||||||
('explanation', models.TextField()),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
]
|
|
Loading…
Reference in a new issue