diff --git a/src/db.sqlite3 b/src/db.sqlite3 index d3d268f..597cbba 100644 Binary files a/src/db.sqlite3 and b/src/db.sqlite3 differ diff --git a/src/questions/admin.pyc b/src/questions/admin.pyc index 5d39642..fe9e13e 100644 Binary files a/src/questions/admin.pyc and b/src/questions/admin.pyc differ diff --git a/src/questions/migrations/0003_auto_20150713_1933.py b/src/questions/migrations/0003_auto_20150713_1933.py new file mode 100644 index 0000000..51d44af --- /dev/null +++ b/src/questions/migrations/0003_auto_20150713_1933.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('questions', '0002_answer'), + ] + + operations = [ + migrations.RemoveField( + model_name='answer', + name='question', + ), + migrations.AddField( + model_name='question', + name='answers', + field=models.ManyToManyField(to='questions.Answer'), + ), + ] diff --git a/src/questions/migrations/0003_auto_20150713_1933.pyc b/src/questions/migrations/0003_auto_20150713_1933.pyc new file mode 100644 index 0000000..4c2acc6 Binary files /dev/null and b/src/questions/migrations/0003_auto_20150713_1933.pyc differ diff --git a/src/questions/migrations/0004_auto_20150713_1937.py b/src/questions/migrations/0004_auto_20150713_1937.py new file mode 100644 index 0000000..32e62ef --- /dev/null +++ b/src/questions/migrations/0004_auto_20150713_1937.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('questions', '0003_auto_20150713_1933'), + ] + + operations = [ + migrations.RemoveField( + model_name='question', + name='answers', + ), + migrations.AddField( + model_name='answer', + name='question', + field=models.ForeignKey(default=1, to='questions.Question'), + preserve_default=False, + ), + ] diff --git a/src/questions/migrations/0004_auto_20150713_1937.pyc b/src/questions/migrations/0004_auto_20150713_1937.pyc new file mode 100644 index 0000000..0cebe50 Binary files /dev/null and b/src/questions/migrations/0004_auto_20150713_1937.pyc differ diff --git a/src/questions/models.pyc b/src/questions/models.pyc index 129e206..47646c8 100644 Binary files a/src/questions/models.pyc and b/src/questions/models.pyc differ