--- a/OSSEval/methodology/migrations/0001_initial.py
+++ b/OSSEval/methodology/migrations/0001_initial.py
@@ -35,7 +35,7 @@
('name', self.gf('django.db.models.fields.CharField')(max_length=200)),
('order', self.gf('django.db.models.fields.IntegerField')()),
('parent', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['methodology.Page'], null=True, blank=True)),
- ('methodology_version', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['methodology.MethodologyVersion'])),
+ ('methodology_version', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['methodology.MethodologyVersion'], null=True, blank=True)),
))
db.send_create_signal(u'methodology', ['Page'])
@@ -51,6 +51,7 @@
(u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
('page', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['methodology.Page'])),
('text', self.gf('django.db.models.fields.CharField')(max_length=200)),
+ ('order', self.gf('django.db.models.fields.IntegerField')()),
('eval_description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
('eval_value', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
('question_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['methodology.QuestionType'])),
@@ -71,6 +72,7 @@
db.create_table(u'methodology_choice', (
(u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
('question', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['methodology.Question'])),
+ ('text', self.gf('django.db.models.fields.CharField')(max_length=200)),
('order', self.gf('django.db.models.fields.IntegerField')()),
('todo', self.gf('django.db.models.fields.CharField')(max_length=2000)),
))
@@ -129,15 +131,15 @@
'Meta': {'object_name': 'Entity'},
'actual_entity_app': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
'actual_entity_class': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
- 'actual_entity_search_class': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
},
u'methodology.choice': {
- 'Meta': {'object_name': 'Choice'},
+ 'Meta': {'ordering': "['order']", 'object_name': 'Choice'},
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'order': ('django.db.models.fields.IntegerField', [], {}),
'question': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['methodology.Question']"}),
+ 'text': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
'todo': ('django.db.models.fields.CharField', [], {'max_length': '2000'})
},
u'methodology.methodology': {
@@ -158,9 +160,9 @@
'number': ('django.db.models.fields.IntegerField', [], {})
},
u'methodology.page': {
- 'Meta': {'object_name': 'Page'},
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'methodology_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['methodology.MethodologyVersion']"}),
+ 'Meta': {'ordering': "['order']", 'object_name': 'Page'},
+ u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'methodology_version': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['methodology.MethodologyVersion']", 'null': 'True', 'blank': 'True'}),
'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
'order': ('django.db.models.fields.IntegerField', [], {}),
'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['methodology.Page']", 'null': 'True', 'blank': 'True'})
@@ -174,10 +176,11 @@
'question': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['methodology.Question']"})
},
u'methodology.question': {
- 'Meta': {'object_name': 'Question'},
+ 'Meta': {'ordering': "['order']", 'object_name': 'Question'},
'eval_description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
'eval_value': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'order': ('django.db.models.fields.IntegerField', [], {}),
'page': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['methodology.Page']"}),
'question_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['methodology.QuestionType']"}),
'text': ('django.db.models.fields.CharField', [], {'max_length': '200'})