Remove name field. Rename title field to label.

This commit is contained in:
Roberto Rosario
2015-07-07 21:04:00 -04:00
parent efad777656
commit ab2d4537dc
7 changed files with 45 additions and 14 deletions

View File

@@ -22,7 +22,7 @@ class IndexTestCase(TestCase):
DocumentTypeMetadataType.objects.create(document_type=self.document_type, metadata_type=metadata_type)
# Create empty index
index = Index.objects.create(name='test', title='test')
index = Index.objects.create(label='test')
self.failUnlessEqual(list(Index.objects.all()), [index])
# Add our document type to the new index