Skip to content
Browse files

thoroughly cleaned up new migrations

  • Loading branch information...
1 parent 9829737 commit f4721b82effe193cb781dfee5fc959f0a78e8617 @evildmp committed
Showing with 271 additions and 9,347 deletions.
  1. +64 −0 arkestra_image_plugin/migrations/0001_initial.py
  2. +0 −177 arkestra_image_plugin/migrations/0002_auto__add_imagesetplugin__add_imagesetitem.py
  3. +0 −176 ..._plugin/migrations/0003_auto__add_field_imagesetplugin_items_per_row__chg_field_imagesetplugin.py
  4. +0 −190 ..._plugin/migrations/0004_auto__del_field_imagesetitem_caption__del_field_imagesetitem_use_descr.py
  5. +0 −230 ..._plugin/migrations/0005_auto__del_field_imagesetitem_auto_title__del_field_imagesetitem_auto_c.py
  6. +0 −149 arkestra_image_plugin/xxmigrations/0001_initial.py
  7. +0 −191 ...lugin/xxmigrations/0002_auto__add_imagesetplugin__add_imagesetitem__del_field_filerimage_use_d.py
  8. 0 arkestra_image_plugin/xxmigrations/__init__.py
  9. BIN contacts_and_people/migrations/.DS_Store
  10. +207 −22 ...0033_auto__add_field_entity_building_recapitulates_entity_name__add_field_e.py → 0001_initial.py}
  11. +0 −390 contacts_and_people/migrations/0001_researcherteacher.py
  12. +0 −242 contacts_and_people/migrations/0002_uniqueslugs.py
  13. +0 −245 contacts_and_people/migrations/0003_orders.py
  14. +0 −246 contacts_and_people/migrations/0004_URLFields.py
  15. +0 −242 contacts_and_people/migrations/0005_URLFields.py
  16. +0 −249 contacts_and_people/migrations/0006_URLFields.py
  17. +0 −247 contacts_and_people/migrations/0007_active.py
  18. +0 −242 contacts_and_people/migrations/0008_test.py
  19. +0 −241 contacts_and_people/migrations/0009_test.py
  20. +0 −249 contacts_and_people/migrations/0010_test.py
  21. +0 −255 contacts_and_people/migrations/0011_home_and_key_member.py
  22. +0 −259 contacts_and_people/migrations/0012_ordering.py
  23. +0 −242 contacts_and_people/migrations/0013_building.py
  24. +0 −244 contacts_and_people/migrations/0014_buildingslug.py
  25. +0 −268 contacts_and_people/migrations/0015_test.py
  26. +0 −265 contacts_and_people/migrations/0016_plugin.py
  27. +0 −267 contacts_and_people/migrations/0017_contact_field.py
  28. +0 −324 contacts_and_people/migrations/0018_directory_plugin.py
  29. +0 −312 contacts_and_people/migrations/0019_directory_plugin.py
  30. +0 −318 contacts_and_people/migrations/0020_directory_plugin.py
  31. +0 −314 contacts_and_people/migrations/0021_directory_plugin.py
  32. +0 −314 contacts_and_people/migrations/0022_directory_plugin.py
  33. +0 −313 contacts_and_people/migrations/0023_directory_plugin.py
  34. +0 −319 contacts_and_people/migrations/0024_directory_plugin.py
  35. +0 −315 contacts_and_people/migrations/0025_directory_plugin.py
  36. +0 −315 contacts_and_people/migrations/0026_entity.py
  37. +0 −324 contacts_and_people/migrations/0027_empty.py
  38. +0 −323 contacts_and_people/migrations/0028_empty.py
  39. +0 −328 contacts_and_people/migrations/0029_directory.py
Sorry, we could not display the entire diff because it was too big.
View
64 arkestra_image_plugin/migrations/0001_initial.py
@@ -23,12 +23,49 @@ def forwards(self, orm):
))
db.send_create_signal('arkestra_image_plugin', ['FilerImage'])
+ # Adding model 'ImageSetPlugin'
+ db.create_table('cmsplugin_imagesetplugin', (
+ ('cmsplugin_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['cms.CMSPlugin'], unique=True, primary_key=True)),
+ ('kind', self.gf('django.db.models.fields.CharField')(default='basic', max_length=50)),
+ ('width', self.gf('django.db.models.fields.FloatField')(default=1000.0)),
+ ('height', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
+ ('aspect_ratio', self.gf('django.db.models.fields.FloatField')(default=0, null=True)),
+ ('float', self.gf('django.db.models.fields.CharField')(max_length=10, null=True, blank=True)),
+ ('items_per_row', self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True)),
+ ))
+ db.send_create_signal('arkestra_image_plugin', ['ImageSetPlugin'])
+
+ # Adding model 'ImageSetItem'
+ db.create_table('arkestra_image_plugin_imagesetitem', (
+ ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('plugin', self.gf('django.db.models.fields.related.ForeignKey')(related_name='imageset_item', to=orm['arkestra_image_plugin.ImageSetPlugin'])),
+ ('image', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['filer.Image'])),
+ ('alt_text', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
+ ('auto_image_title', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('manual_image_title', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
+ ('auto_image_caption', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('manual_image_caption', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
+ ('auto_link_title', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('manual_link_title', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
+ ('auto_link_description', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('manual_link_description', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
+ ('destination_content_type', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='links_to_imagesetitem', null=True, to=orm['contenttypes.ContentType'])),
+ ('destination_object_id', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
+ ))
+ db.send_create_signal('arkestra_image_plugin', ['ImageSetItem'])
+
def backwards(self, orm):
# Deleting model 'FilerImage'
db.delete_table('cmsplugin_filerimage')
+ # Deleting model 'ImageSetPlugin'
+ db.delete_table('cmsplugin_imagesetplugin')
+
+ # Deleting model 'ImageSetItem'
+ db.delete_table('arkestra_image_plugin_imagesetitem')
+
models = {
'arkestra_image_plugin.filerimage': {
@@ -44,6 +81,33 @@ def backwards(self, orm):
'use_description_as_caption': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
'width': ('django.db.models.fields.FloatField', [], {'default': '1000.0', 'null': 'True', 'blank': 'True'})
},
+ 'arkestra_image_plugin.imagesetitem': {
+ 'Meta': {'ordering': "('id',)", 'object_name': 'ImageSetItem'},
+ 'alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
+ 'auto_image_caption': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
+ 'auto_image_title': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
+ 'auto_link_description': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
+ 'auto_link_title': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
+ 'destination_content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'links_to_imagesetitem'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
+ 'destination_object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
+ 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+ 'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['filer.Image']"}),
+ 'manual_image_caption': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
+ 'manual_image_title': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
+ 'manual_link_description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
+ 'manual_link_title': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
+ 'plugin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'imageset_item'", 'to': "orm['arkestra_image_plugin.ImageSetPlugin']"})
+ },
+ 'arkestra_image_plugin.imagesetplugin': {
+ 'Meta': {'object_name': 'ImageSetPlugin', 'db_table': "'cmsplugin_imagesetplugin'", '_ormbases': ['cms.CMSPlugin']},
+ 'aspect_ratio': ('django.db.models.fields.FloatField', [], {'default': '0', 'null': 'True'}),
+ 'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
+ 'float': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
+ 'height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
+ 'items_per_row': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
+ 'kind': ('django.db.models.fields.CharField', [], {'default': "'basic'", 'max_length': '50'}),
+ 'width': ('django.db.models.fields.FloatField', [], {'default': '1000.0'})
+ },
'auth.group': {
'Meta': {'object_name': 'Group'},
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
View
177 arkestra_image_plugin/migrations/0002_auto__add_imagesetplugin__add_imagesetitem.py
@@ -1,177 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Adding model 'ImageSetPlugin'
- db.create_table('cmsplugin_imagesetplugin', (
- ('cmsplugin_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['cms.CMSPlugin'], unique=True, primary_key=True)),
- ('kind', self.gf('django.db.models.fields.CharField')(max_length=50)),
- ('width', self.gf('django.db.models.fields.FloatField')(default=1000.0, null=True, blank=True)),
- ('height', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
- ('aspect_ratio', self.gf('django.db.models.fields.FloatField')(default=0, null=True)),
- ('float', self.gf('django.db.models.fields.CharField')(max_length=10, null=True, blank=True)),
- ))
- db.send_create_signal('arkestra_image_plugin', ['ImageSetPlugin'])
-
- # Adding model 'ImageSetItem'
- db.create_table('arkestra_image_plugin_imagesetitem', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('plugin', self.gf('django.db.models.fields.related.ForeignKey')(related_name='imageset_item', to=orm['arkestra_image_plugin.ImageSetPlugin'])),
- ('image', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['filer.Image'])),
- ('alt_text', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
- ('use_description_as_caption', self.gf('django.db.models.fields.BooleanField')(default=False)),
- ('caption', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
- ))
- db.send_create_signal('arkestra_image_plugin', ['ImageSetItem'])
-
-
- def backwards(self, orm):
-
- # Deleting model 'ImageSetPlugin'
- db.delete_table('cmsplugin_imagesetplugin')
-
- # Deleting model 'ImageSetItem'
- db.delete_table('arkestra_image_plugin_imagesetitem')
-
-
- models = {
- 'arkestra_image_plugin.filerimage': {
- 'Meta': {'object_name': 'FilerImage', 'db_table': "'cmsplugin_filerimage'", '_ormbases': ['cms.CMSPlugin']},
- 'alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'aspect_ratio': ('django.db.models.fields.FloatField', [], {'default': '0', 'null': 'True'}),
- 'caption': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
- 'float': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
- 'height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['filer.Image']"}),
- 'use_autoscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'use_description_as_caption': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'width': ('django.db.models.fields.FloatField', [], {'default': '1000.0', 'null': 'True', 'blank': 'True'})
- },
- 'arkestra_image_plugin.imagesetitem': {
- 'Meta': {'object_name': 'ImageSetItem'},
- 'alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'caption': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['filer.Image']"}),
- 'plugin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'imageset_item'", 'to': "orm['arkestra_image_plugin.ImageSetPlugin']"}),
- 'use_description_as_caption': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'arkestra_image_plugin.imagesetplugin': {
- 'Meta': {'object_name': 'ImageSetPlugin', 'db_table': "'cmsplugin_imagesetplugin'", '_ormbases': ['cms.CMSPlugin']},
- 'aspect_ratio': ('django.db.models.fields.FloatField', [], {'default': '0', 'null': 'True'}),
- 'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
- 'float': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
- 'height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'kind': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
- 'width': ('django.db.models.fields.FloatField', [], {'default': '1000.0', 'null': 'True', 'blank': 'True'})
- },
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'cms.cmsplugin': {
- 'Meta': {'object_name': 'CMSPlugin'},
- 'creation_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'language': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.CMSPlugin']", 'null': 'True', 'blank': 'True'}),
- 'placeholder': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.Placeholder']", 'null': 'True'}),
- 'plugin_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
- 'position': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'})
- },
- 'cms.placeholder': {
- 'Meta': {'object_name': 'Placeholder'},
- 'default_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'slot': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'filer.file': {
- 'Meta': {'object_name': 'File'},
- '_file_size': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'file': ('django.db.models.fields.files.FileField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'folder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'all_files'", 'null': 'True', 'to': "orm['filer.Folder']"}),
- 'has_all_mandatory_data': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'original_filename': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'owned_files'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'polymorphic_ctype': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'polymorphic_filer.file_set'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
- 'sha1': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '40', 'blank': 'True'}),
- 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
- },
- 'filer.folder': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('parent', 'name'),)", 'object_name': 'Folder'},
- 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'filer_owned_folders'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'children'", 'null': 'True', 'to': "orm['filer.Folder']"}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
- },
- 'filer.image': {
- 'Meta': {'object_name': 'Image', '_ormbases': ['filer.File']},
- '_height': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- '_width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'author': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'default_alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'default_caption': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'file_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['filer.File']", 'unique': 'True', 'primary_key': 'True'}),
- 'must_always_publish_author_credit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'must_always_publish_copyright': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'subject_location': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '64', 'null': 'True', 'blank': 'True'})
- }
- }
-
- complete_apps = ['arkestra_image_plugin']
View
176 ...migrations/0003_auto__add_field_imagesetplugin_items_per_row__chg_field_imagesetplugin.py
@@ -1,176 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Adding field 'ImageSetPlugin.items_per_row'
- db.add_column('cmsplugin_imagesetplugin', 'items_per_row', self.gf('django.db.models.fields.PositiveSmallIntegerField')(null=True, blank=True), keep_default=False)
-
- # Changing field 'ImageSetPlugin.width'
- db.alter_column('cmsplugin_imagesetplugin', 'width', self.gf('django.db.models.fields.FloatField')())
-
- # Adding field 'ImageSetItem.destination_content_type'
- db.add_column('arkestra_image_plugin_imagesetitem', 'destination_content_type', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='links_to_imagesetitem', null=True, to=orm['contenttypes.ContentType']), keep_default=False)
-
- # Adding field 'ImageSetItem.destination_object_id'
- db.add_column('arkestra_image_plugin_imagesetitem', 'destination_object_id', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True), keep_default=False)
-
-
- def backwards(self, orm):
-
- # Deleting field 'ImageSetPlugin.items_per_row'
- db.delete_column('cmsplugin_imagesetplugin', 'items_per_row')
-
- # Changing field 'ImageSetPlugin.width'
- db.alter_column('cmsplugin_imagesetplugin', 'width', self.gf('django.db.models.fields.FloatField')(null=True))
-
- # Deleting field 'ImageSetItem.destination_content_type'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'destination_content_type_id')
-
- # Deleting field 'ImageSetItem.destination_object_id'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'destination_object_id')
-
-
- models = {
- 'arkestra_image_plugin.filerimage': {
- 'Meta': {'object_name': 'FilerImage', 'db_table': "'cmsplugin_filerimage'", '_ormbases': ['cms.CMSPlugin']},
- 'alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'aspect_ratio': ('django.db.models.fields.FloatField', [], {'default': '0', 'null': 'True'}),
- 'caption': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
- 'float': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
- 'height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['filer.Image']"}),
- 'use_autoscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'use_description_as_caption': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'width': ('django.db.models.fields.FloatField', [], {'default': '1000.0', 'null': 'True', 'blank': 'True'})
- },
- 'arkestra_image_plugin.imagesetitem': {
- 'Meta': {'object_name': 'ImageSetItem'},
- 'alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'caption': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'destination_content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'links_to_imagesetitem'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
- 'destination_object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['filer.Image']"}),
- 'plugin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'imageset_item'", 'to': "orm['arkestra_image_plugin.ImageSetPlugin']"}),
- 'use_description_as_caption': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'arkestra_image_plugin.imagesetplugin': {
- 'Meta': {'object_name': 'ImageSetPlugin', 'db_table': "'cmsplugin_imagesetplugin'", '_ormbases': ['cms.CMSPlugin']},
- 'aspect_ratio': ('django.db.models.fields.FloatField', [], {'default': '0', 'null': 'True'}),
- 'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
- 'float': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
- 'height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'items_per_row': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'kind': ('django.db.models.fields.CharField', [], {'default': "'basic'", 'max_length': '50'}),
- 'width': ('django.db.models.fields.FloatField', [], {'default': '1000.0'})
- },
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'cms.cmsplugin': {
- 'Meta': {'object_name': 'CMSPlugin'},
- 'creation_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'language': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.CMSPlugin']", 'null': 'True', 'blank': 'True'}),
- 'placeholder': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.Placeholder']", 'null': 'True'}),
- 'plugin_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
- 'position': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'})
- },
- 'cms.placeholder': {
- 'Meta': {'object_name': 'Placeholder'},
- 'default_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'slot': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'filer.file': {
- 'Meta': {'object_name': 'File'},
- '_file_size': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'file': ('django.db.models.fields.files.FileField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'folder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'all_files'", 'null': 'True', 'to': "orm['filer.Folder']"}),
- 'has_all_mandatory_data': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'original_filename': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'owned_files'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'polymorphic_ctype': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'polymorphic_filer.file_set'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
- 'sha1': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '40', 'blank': 'True'}),
- 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
- },
- 'filer.folder': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('parent', 'name'),)", 'object_name': 'Folder'},
- 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'filer_owned_folders'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'children'", 'null': 'True', 'to': "orm['filer.Folder']"}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
- },
- 'filer.image': {
- 'Meta': {'object_name': 'Image', '_ormbases': ['filer.File']},
- '_height': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- '_width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'author': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'default_alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'default_caption': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'file_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['filer.File']", 'unique': 'True', 'primary_key': 'True'}),
- 'must_always_publish_author_credit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'must_always_publish_copyright': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'subject_location': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '64', 'null': 'True', 'blank': 'True'})
- }
- }
-
- complete_apps = ['arkestra_image_plugin']
View
190 ...migrations/0004_auto__del_field_imagesetitem_caption__del_field_imagesetitem_use_descr.py
@@ -1,190 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Deleting field 'ImageSetItem.caption'
- db.rename_column('arkestra_image_plugin_imagesetitem', 'caption', 'manual_caption')
-
- # Deleting field 'ImageSetItem.use_description_as_caption'
- db.rename_column('arkestra_image_plugin_imagesetitem', 'use_description_as_caption', 'auto_caption')
-
- # Adding field 'ImageSetItem.auto_title'
- db.add_column('arkestra_image_plugin_imagesetitem', 'auto_title', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
-
- # Adding field 'ImageSetItem.manual_title'
- db.add_column('arkestra_image_plugin_imagesetitem', 'manual_title', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
-
- # # Adding field 'ImageSetItem.auto_caption'
- # db.add_column('arkestra_image_plugin_imagesetitem', 'auto_caption', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
- #
- # # Adding field 'ImageSetItem.manual_caption'
- # db.add_column('arkestra_image_plugin_imagesetitem', 'manual_caption', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
-
-
- def backwards(self, orm):
-
- # Adding field 'ImageSetItem.caption'
- db.add_column('arkestra_image_plugin_imagesetitem', 'caption', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
-
- # Adding field 'ImageSetItem.use_description_as_caption'
- db.add_column('arkestra_image_plugin_imagesetitem', 'use_description_as_caption', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
-
- # Deleting field 'ImageSetItem.auto_title'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'auto_title')
-
- # Deleting field 'ImageSetItem.manual_title'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'manual_title')
-
- # Deleting field 'ImageSetItem.auto_caption'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'auto_caption')
-
- # Deleting field 'ImageSetItem.manual_caption'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'manual_caption')
-
-
- models = {
- 'arkestra_image_plugin.filerimage': {
- 'Meta': {'object_name': 'FilerImage', 'db_table': "'cmsplugin_filerimage'", '_ormbases': ['cms.CMSPlugin']},
- 'alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'aspect_ratio': ('django.db.models.fields.FloatField', [], {'default': '0', 'null': 'True'}),
- 'caption': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
- 'float': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
- 'height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['filer.Image']"}),
- 'use_autoscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'use_description_as_caption': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'width': ('django.db.models.fields.FloatField', [], {'default': '1000.0', 'null': 'True', 'blank': 'True'})
- },
- 'arkestra_image_plugin.imagesetitem': {
- 'Meta': {'object_name': 'ImageSetItem'},
- 'alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'auto_caption': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'auto_title': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'destination_content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'links_to_imagesetitem'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
- 'destination_object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['filer.Image']"}),
- 'manual_caption': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'manual_title': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'plugin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'imageset_item'", 'to': "orm['arkestra_image_plugin.ImageSetPlugin']"})
- },
- 'arkestra_image_plugin.imagesetplugin': {
- 'Meta': {'object_name': 'ImageSetPlugin', 'db_table': "'cmsplugin_imagesetplugin'", '_ormbases': ['cms.CMSPlugin']},
- 'aspect_ratio': ('django.db.models.fields.FloatField', [], {'default': '0', 'null': 'True'}),
- 'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
- 'float': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
- 'height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'items_per_row': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'kind': ('django.db.models.fields.CharField', [], {'default': "'basic'", 'max_length': '50'}),
- 'width': ('django.db.models.fields.FloatField', [], {'default': '1000.0'})
- },
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'cms.cmsplugin': {
- 'Meta': {'object_name': 'CMSPlugin'},
- 'creation_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'language': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.CMSPlugin']", 'null': 'True', 'blank': 'True'}),
- 'placeholder': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.Placeholder']", 'null': 'True'}),
- 'plugin_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
- 'position': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'})
- },
- 'cms.placeholder': {
- 'Meta': {'object_name': 'Placeholder'},
- 'default_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'slot': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'filer.file': {
- 'Meta': {'object_name': 'File'},
- '_file_size': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'file': ('django.db.models.fields.files.FileField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'folder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'all_files'", 'null': 'True', 'to': "orm['filer.Folder']"}),
- 'has_all_mandatory_data': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'original_filename': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'owned_files'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'polymorphic_ctype': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'polymorphic_filer.file_set'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
- 'sha1': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '40', 'blank': 'True'}),
- 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
- },
- 'filer.folder': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('parent', 'name'),)", 'object_name': 'Folder'},
- 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'filer_owned_folders'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'children'", 'null': 'True', 'to': "orm['filer.Folder']"}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
- },
- 'filer.image': {
- 'Meta': {'object_name': 'Image', '_ormbases': ['filer.File']},
- '_height': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- '_width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'author': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'default_alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'default_caption': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'file_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['filer.File']", 'unique': 'True', 'primary_key': 'True'}),
- 'must_always_publish_author_credit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'must_always_publish_copyright': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'subject_location': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '64', 'null': 'True', 'blank': 'True'})
- }
- }
-
- complete_apps = ['arkestra_image_plugin']
View
230 ...migrations/0005_auto__del_field_imagesetitem_auto_title__del_field_imagesetitem_auto_c.py
@@ -1,230 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Deleting field 'ImageSetItem.auto_title'
- db.rename_column('arkestra_image_plugin_imagesetitem', 'auto_title', 'auto_image_title')
-
- # Deleting field 'ImageSetItem.auto_caption'
- db.rename_column('arkestra_image_plugin_imagesetitem', 'auto_caption', 'auto_image_caption')
-
- # Deleting field 'ImageSetItem.manual_caption'
- db.rename_column('arkestra_image_plugin_imagesetitem', 'manual_caption', 'manual_image_caption')
-
- # Deleting field 'ImageSetItem.manual_title'
- db.rename_column('arkestra_image_plugin_imagesetitem', 'manual_title', 'manual_image_title')
-
- # # Adding field 'ImageSetItem.auto_image_title'
- # db.add_column('arkestra_image_plugin_imagesetitem', 'auto_image_title', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
- #
- # # Adding field 'ImageSetItem.manual_image_title'
- # db.add_column('arkestra_image_plugin_imagesetitem', 'manual_image_title', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
- #
- # # Adding field 'ImageSetItem.auto_image_caption'
- # db.add_column('arkestra_image_plugin_imagesetitem', 'auto_image_caption', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
- #
- # # Adding field 'ImageSetItem.manual_image_caption'
- # db.add_column('arkestra_image_plugin_imagesetitem', 'manual_image_caption', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
-
- # Adding field 'ImageSetItem.auto_link_title'
- db.add_column('arkestra_image_plugin_imagesetitem', 'auto_link_title', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
-
- # Adding field 'ImageSetItem.manual_link_title'
- db.add_column('arkestra_image_plugin_imagesetitem', 'manual_link_title', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
-
- # Adding field 'ImageSetItem.auto_link_description'
- db.add_column('arkestra_image_plugin_imagesetitem', 'auto_link_description', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
-
- # Adding field 'ImageSetItem.manual_link_description'
- db.add_column('arkestra_image_plugin_imagesetitem', 'manual_link_description', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
-
-
- def backwards(self, orm):
-
- # Adding field 'ImageSetItem.auto_title'
- db.add_column('arkestra_image_plugin_imagesetitem', 'auto_title', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
-
- # Adding field 'ImageSetItem.auto_caption'
- db.add_column('arkestra_image_plugin_imagesetitem', 'auto_caption', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
-
- # Adding field 'ImageSetItem.manual_caption'
- db.add_column('arkestra_image_plugin_imagesetitem', 'manual_caption', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
-
- # Adding field 'ImageSetItem.manual_title'
- db.add_column('arkestra_image_plugin_imagesetitem', 'manual_title', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
-
- # Deleting field 'ImageSetItem.auto_image_title'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'auto_image_title')
-
- # Deleting field 'ImageSetItem.manual_image_title'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'manual_image_title')
-
- # Deleting field 'ImageSetItem.auto_image_caption'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'auto_image_caption')
-
- # Deleting field 'ImageSetItem.manual_image_caption'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'manual_image_caption')
-
- # Deleting field 'ImageSetItem.auto_link_title'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'auto_link_title')
-
- # Deleting field 'ImageSetItem.manual_link_title'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'manual_link_title')
-
- # Deleting field 'ImageSetItem.auto_link_description'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'auto_link_description')
-
- # Deleting field 'ImageSetItem.manual_link_description'
- db.delete_column('arkestra_image_plugin_imagesetitem', 'manual_link_description')
-
-
- models = {
- 'arkestra_image_plugin.filerimage': {
- 'Meta': {'object_name': 'FilerImage', 'db_table': "'cmsplugin_filerimage'", '_ormbases': ['cms.CMSPlugin']},
- 'alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'aspect_ratio': ('django.db.models.fields.FloatField', [], {'default': '0', 'null': 'True'}),
- 'caption': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
- 'float': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
- 'height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['filer.Image']"}),
- 'use_autoscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'use_description_as_caption': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'width': ('django.db.models.fields.FloatField', [], {'default': '1000.0', 'null': 'True', 'blank': 'True'})
- },
- 'arkestra_image_plugin.imagesetitem': {
- 'Meta': {'object_name': 'ImageSetItem'},
- 'alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'auto_image_caption': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'auto_image_title': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'auto_link_description': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'auto_link_title': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'destination_content_type': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'links_to_imagesetitem'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
- 'destination_object_id': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['filer.Image']"}),
- 'manual_image_caption': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'manual_image_title': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'manual_link_description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'manual_link_title': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'plugin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'imageset_item'", 'to': "orm['arkestra_image_plugin.ImageSetPlugin']"})
- },
- 'arkestra_image_plugin.imagesetplugin': {
- 'Meta': {'object_name': 'ImageSetPlugin', 'db_table': "'cmsplugin_imagesetplugin'", '_ormbases': ['cms.CMSPlugin']},
- 'aspect_ratio': ('django.db.models.fields.FloatField', [], {'default': '0', 'null': 'True'}),
- 'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
- 'float': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
- 'height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'items_per_row': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'kind': ('django.db.models.fields.CharField', [], {'default': "'basic'", 'max_length': '50'}),
- 'width': ('django.db.models.fields.FloatField', [], {'default': '1000.0'})
- },
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'cms.cmsplugin': {
- 'Meta': {'object_name': 'CMSPlugin'},
- 'creation_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'language': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.CMSPlugin']", 'null': 'True', 'blank': 'True'}),
- 'placeholder': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.Placeholder']", 'null': 'True'}),
- 'plugin_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
- 'position': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'})
- },
- 'cms.placeholder': {
- 'Meta': {'object_name': 'Placeholder'},
- 'default_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'slot': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'filer.file': {
- 'Meta': {'object_name': 'File'},
- '_file_size': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'file': ('django.db.models.fields.files.FileField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'folder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'all_files'", 'null': 'True', 'to': "orm['filer.Folder']"}),
- 'has_all_mandatory_data': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'original_filename': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'owned_files'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'polymorphic_ctype': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'polymorphic_filer.file_set'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
- 'sha1': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '40', 'blank': 'True'}),
- 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
- },
- 'filer.folder': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('parent', 'name'),)", 'object_name': 'Folder'},
- 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'filer_owned_folders'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'children'", 'null': 'True', 'to': "orm['filer.Folder']"}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
- },
- 'filer.image': {
- 'Meta': {'object_name': 'Image', '_ormbases': ['filer.File']},
- '_height': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- '_width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'author': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'default_alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'default_caption': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'file_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['filer.File']", 'unique': 'True', 'primary_key': 'True'}),
- 'must_always_publish_author_credit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'must_always_publish_copyright': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'subject_location': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '64', 'null': 'True', 'blank': 'True'})
- }
- }
-
- complete_apps = ['arkestra_image_plugin']
View
149 arkestra_image_plugin/xxmigrations/0001_initial.py
@@ -1,149 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Adding model 'FilerImage'
- db.create_table('cmsplugin_filerimage', (
- ('cmsplugin_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['cms.CMSPlugin'], unique=True, primary_key=True)),
- ('image', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['filer.Image'])),
- ('width', self.gf('django.db.models.fields.FloatField')(default=1000.0, null=True, blank=True)),
- ('height', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True)),
- ('aspect_ratio', self.gf('django.db.models.fields.FloatField')(default=0, null=True)),
- ('alt_text', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
- ('use_description_as_caption', self.gf('django.db.models.fields.BooleanField')(default=False)),
- ('caption', self.gf('django.db.models.fields.TextField')(null=True, blank=True)),
- ('use_autoscale', self.gf('django.db.models.fields.BooleanField')(default=False)),
- ('float', self.gf('django.db.models.fields.CharField')(max_length=10, null=True, blank=True)),
- ))
- db.send_create_signal('arkestra_image_plugin', ['FilerImage'])
-
-
- def backwards(self, orm):
-
- # Deleting model 'FilerImage'
- db.delete_table('cmsplugin_filerimage')
-
-
- models = {
- 'arkestra_image_plugin.filerimage': {
- 'Meta': {'object_name': 'FilerImage', 'db_table': "'cmsplugin_filerimage'", '_ormbases': ['cms.CMSPlugin']},
- 'alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'aspect_ratio': ('django.db.models.fields.FloatField', [], {'default': '0', 'null': 'True'}),
- 'caption': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
- 'float': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
- 'height': ('django.db.models.fields.PositiveIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['filer.Image']"}),
- 'use_autoscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'use_description_as_caption': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'width': ('django.db.models.fields.FloatField', [], {'default': '1000.0', 'null': 'True', 'blank': 'True'})
- },
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'cms.cmsplugin': {
- 'Meta': {'object_name': 'CMSPlugin'},
- 'creation_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'language': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.CMSPlugin']", 'null': 'True', 'blank': 'True'}),
- 'placeholder': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.Placeholder']", 'null': 'True'}),
- 'plugin_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
- 'position': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'})
- },
- 'cms.placeholder': {
- 'Meta': {'object_name': 'Placeholder'},
- 'default_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'slot': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'filer.file': {
- 'Meta': {'object_name': 'File'},
- '_file_size': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'file': ('django.db.models.fields.files.FileField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'folder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'all_files'", 'null': 'True', 'to': "orm['filer.Folder']"}),
- 'has_all_mandatory_data': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'original_filename': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'owned_files'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'polymorphic_ctype': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'polymorphic_filer.file_set'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
- 'sha1': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '40', 'blank': 'True'}),
- 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
- },
- 'filer.folder': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('parent', 'name'),)", 'object_name': 'Folder'},
- 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'filer_owned_folders'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'children'", 'null': 'True', 'to': "orm['filer.Folder']"}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
- },
- 'filer.image': {
- 'Meta': {'object_name': 'Image', '_ormbases': ['filer.File']},
- '_height': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- '_width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'author': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'default_alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'default_caption': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'file_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['filer.File']", 'unique': 'True', 'primary_key': 'True'}),
- 'must_always_publish_author_credit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'must_always_publish_copyright': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'subject_location': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '64', 'null': 'True', 'blank': 'True'})
- }
- }
-
- complete_apps = ['arkestra_image_plugin']
View
191 ...migrations/0002_auto__add_imagesetplugin__add_imagesetitem__del_field_filerimage_use_d.py
@@ -1,191 +0,0 @@
-# encoding: utf-8
-import datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
-
- # Adding model 'ImageSetPlugin'
- db.create_table('cmsplugin_imagesetplugin', (
- ('cmsplugin_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['cms.CMSPlugin'], unique=True, primary_key=True)),
- ('kind', self.gf('django.db.models.fields.CharField')(max_length=50)),
- ))
- db.send_create_signal('arkestra_image_plugin', ['ImageSetPlugin'])
-
- # Adding model 'ImageSetItem'
- db.create_table('arkestra_image_plugin_imagesetitem', (
- ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
- ('plugin', self.gf('django.db.models.fields.related.ForeignKey')(related_name='imageset_item', to=orm['arkestra_image_plugin.ImageSetPlugin'])),
- ))
- db.send_create_signal('arkestra_image_plugin', ['ImageSetItem'])
-
- # Deleting field 'FilerImage.use_description_as_caption'
- db.delete_column('cmsplugin_filerimage', 'use_description_as_caption')
-
- # Deleting field 'FilerImage.height'
- db.delete_column('cmsplugin_filerimage', 'height')
-
- # Deleting field 'FilerImage.alt_text'
- db.delete_column('cmsplugin_filerimage', 'alt_text')
-
- # Deleting field 'FilerImage.width'
- db.delete_column('cmsplugin_filerimage', 'width')
-
- # Deleting field 'FilerImage.caption'
- db.delete_column('cmsplugin_filerimage', 'caption')
-
- # Deleting field 'FilerImage.aspect_ratio'
- db.delete_column('cmsplugin_filerimage', 'aspect_ratio')
-
-
- def backwards(self, orm):
-
- # Deleting model 'ImageSetPlugin'
- db.delete_table('cmsplugin_imagesetplugin')
-
- # Deleting model 'ImageSetItem'
- db.delete_table('arkestra_image_plugin_imagesetitem')
-
- # Adding field 'FilerImage.use_description_as_caption'
- db.add_column('cmsplugin_filerimage', 'use_description_as_caption', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
-
- # Adding field 'FilerImage.height'
- db.add_column('cmsplugin_filerimage', 'height', self.gf('django.db.models.fields.PositiveIntegerField')(null=True, blank=True), keep_default=False)
-
- # Adding field 'FilerImage.alt_text'
- db.add_column('cmsplugin_filerimage', 'alt_text', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True), keep_default=False)
-
- # Adding field 'FilerImage.width'
- db.add_column('cmsplugin_filerimage', 'width', self.gf('django.db.models.fields.FloatField')(default=1000.0, null=True, blank=True), keep_default=False)
-
- # Adding field 'FilerImage.caption'
- db.add_column('cmsplugin_filerimage', 'caption', self.gf('django.db.models.fields.TextField')(null=True, blank=True), keep_default=False)
-
- # Adding field 'FilerImage.aspect_ratio'
- db.add_column('cmsplugin_filerimage', 'aspect_ratio', self.gf('django.db.models.fields.FloatField')(default=0, null=True), keep_default=False)
-
-
- models = {
- 'arkestra_image_plugin.filerimage': {
- 'Meta': {'object_name': 'FilerImage', 'db_table': "'cmsplugin_filerimage'", '_ormbases': ['cms.CMSPlugin']},
- 'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
- 'float': ('django.db.models.fields.CharField', [], {'max_length': '10', 'null': 'True', 'blank': 'True'}),
- 'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['filer.Image']"}),
- 'use_autoscale': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
- },
- 'arkestra_image_plugin.imagesetitem': {
- 'Meta': {'object_name': 'ImageSetItem'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'plugin': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'imageset_item'", 'to': "orm['arkestra_image_plugin.ImageSetPlugin']"})
- },
- 'arkestra_image_plugin.imagesetplugin': {
- 'Meta': {'object_name': 'ImageSetPlugin', 'db_table': "'cmsplugin_imagesetplugin'", '_ormbases': ['cms.CMSPlugin']},
- 'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
- 'kind': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.group': {
- 'Meta': {'object_name': 'Group'},
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
- 'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
- },
- 'auth.permission': {
- 'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
- 'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
- },
- 'auth.user': {
- 'Meta': {'object_name': 'User'},
- 'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
- 'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
- 'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
- 'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
- 'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
- },
- 'cms.cmsplugin': {
- 'Meta': {'object_name': 'CMSPlugin'},
- 'creation_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'language': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.CMSPlugin']", 'null': 'True', 'blank': 'True'}),
- 'placeholder': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.Placeholder']", 'null': 'True'}),
- 'plugin_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
- 'position': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'})
- },
- 'cms.placeholder': {
- 'Meta': {'object_name': 'Placeholder'},
- 'default_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'slot': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'})
- },
- 'contenttypes.contenttype': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
- 'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
- },
- 'filer.file': {
- 'Meta': {'object_name': 'File'},
- '_file_size': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
- 'file': ('django.db.models.fields.files.FileField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'folder': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'all_files'", 'null': 'True', 'to': "orm['filer.Folder']"}),
- 'has_all_mandatory_data': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'is_public': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
- 'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'original_filename': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'owned_files'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'polymorphic_ctype': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'polymorphic_filer.file_set'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
- 'sha1': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '40', 'blank': 'True'}),
- 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
- },
- 'filer.folder': {
- 'Meta': {'ordering': "('name',)", 'unique_together': "(('parent', 'name'),)", 'object_name': 'Folder'},
- 'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
- 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'modified_at': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'name': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
- 'owner': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'filer_owned_folders'", 'null': 'True', 'to': "orm['auth.User']"}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'children'", 'null': 'True', 'to': "orm['filer.Folder']"}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'uploaded_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'})
- },
- 'filer.image': {
- 'Meta': {'object_name': 'Image', '_ormbases': ['filer.File']},
- '_height': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- '_width': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'author': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'date_taken': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
- 'default_alt_text': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'default_caption': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
- 'file_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['filer.File']", 'unique': 'True', 'primary_key': 'True'}),
- 'must_always_publish_author_credit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'must_always_publish_copyright': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
- 'subject_location': ('django.db.models.fields.CharField', [], {'default': 'None', 'max_length': '64', 'null': 'True', 'blank': 'True'})
- }
- }
-
- complete_apps = ['arkestra_image_plugin']
View
0 arkestra_image_plugin/xxmigrations/__init__.py
No changes.
View
BIN contacts_and_people/migrations/.DS_Store
Binary file not shown.
View
229 ...recapitulates_entity_name__add_field_e.py → ...cts_and_people/migrations/0001_initial.py
@@ -8,38 +8,223 @@ class Migration(SchemaMigration):
def forwards(self, orm):
- # Adding field 'Entity.building_recapitulates_entity_name'
- db.add_column('contacts_and_people_entity', 'building_recapitulates_entity_name', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
+ # Adding model 'Site'
+ db.create_table('contacts_and_people_site', (
+ ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('site_name', self.gf('django.db.models.fields.CharField')(unique=True, max_length=50)),
+ ('post_town', self.gf('django.db.models.fields.CharField')(max_length=50)),
+ ('country', self.gf('django.db.models.fields.CharField')(max_length=50)),
+ ('description', self.gf('django.db.models.fields.TextField')(max_length=500, null=True, blank=True)),
+ ))
+ db.send_create_signal('contacts_and_people', ['Site'])
- # # Adding field 'Entity.auto_publications_page'
- # db.add_column('contacts_and_people_entity', 'auto_publications_page', self.gf('django.db.models.fields.BooleanField')(default=False), keep_default=False)
- #
- # # Adding field 'Entity.publications_page_menu_title'
- # db.add_column('contacts_and_people_entity', 'publications_page_menu_title', self.gf('django.db.models.fields.CharField')(default='Publications', max_length=50), keep_default=False)
+ # Adding model 'Building'
+ db.create_table('contacts_and_people_building', (
+ ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('name', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
+ ('number', self.gf('django.db.models.fields.CharField')(max_length=10, null=True, blank=True)),
+ ('street', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
+ ('additional_street_address', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
+ ('postcode', self.gf('django.db.models.fields.CharField')(max_length=9, null=True, blank=True)),
+ ('site', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contacts_and_people.Site'])),
+ ('slug', self.gf('django.db.models.fields.SlugField')(db_index=True, max_length=255, unique=True, null=True, blank=True)),
+ ('image', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['filer.Image'], null=True, blank=True)),
+ ('summary', self.gf('django.db.models.fields.TextField')(default='', max_length=256)),
+ ('description', self.gf('django.db.models.fields.related.ForeignKey')(related_name='building_description', null=True, to=orm['cms.Placeholder'])),
+ ('getting_here', self.gf('django.db.models.fields.related.ForeignKey')(related_name='getting_here', null=True, to=orm['cms.Placeholder'])),
+ ('access_and_parking', self.gf('django.db.models.fields.related.ForeignKey')(related_name='building_access_and_parking', null=True, to=orm['cms.Placeholder'])),
+ ('map', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('latitude', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)),
+ ('longitude', self.gf('django.db.models.fields.FloatField')(null=True, blank=True)),
+ ('zoom', self.gf('django.db.models.fields.IntegerField')(default=17, null=True, blank=True)),
+ ))
+ db.send_create_signal('contacts_and_people', ['Building'])
- # Changing field 'Entity.slug'
- db.alter_column('contacts_and_people_entity', 'slug', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=60))
+ # Adding model 'PhoneContact'
+ db.create_table('contacts_and_people_phonecontact', (
+ ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('label', self.gf('django.db.models.fields.CharField')(max_length=64, null=True, blank=True)),
+ ('country_code', self.gf('django.db.models.fields.CharField')(default='44', max_length=5)),
+ ('area_code', self.gf('django.db.models.fields.CharField')(default='029', max_length=5)),
+ ('number', self.gf('django.db.models.fields.CharField')(max_length=12)),
+ ('internal_extension', self.gf('django.db.models.fields.CharField')(max_length=6, null=True, blank=True)),
+ ('content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])),
+ ('object_id', self.gf('django.db.models.fields.IntegerField')(db_index=True)),
+ ))
+ db.send_create_signal('contacts_and_people', ['PhoneContact'])
- # Changing field 'Person.slug'
- db.alter_column('contacts_and_people_person', 'slug', self.gf('django.db.models.fields.SlugField')(unique=True, max_length=60))
+ # Adding model 'EntityLite'
+ db.create_table('contacts_and_people_entitylite', (
+ ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('name', self.gf('django.db.models.fields.CharField')(max_length=100)),
+ ))
+ db.send_create_signal('contacts_and_people', ['EntityLite'])
+
+ # Adding model 'Entity'
+ db.create_table('contacts_and_people_entity', (
+ ('entitylite_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['contacts_and_people.EntityLite'], unique=True, primary_key=True)),
+ ('url', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)),
+ ('external_url', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='entity_item', null=True, to=orm['links.ExternalLink'])),
+ ('slug', self.gf('django.db.models.fields.SlugField')(db_index=True, unique=True, max_length=60, blank=True)),
+ ('precise_location', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
+ ('access_note', self.gf('django.db.models.fields.CharField')(max_length=255, null=True, blank=True)),
+ ('email', self.gf('django.db.models.fields.EmailField')(max_length=75, null=True, blank=True)),
+ ('image', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['filer.Image'], null=True, blank=True)),
+ ('short_name', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
+ ('abstract_entity', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('parent', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='children', null=True, to=orm['contacts_and_people.Entity'])),
+ ('display_parent', self.gf('django.db.models.fields.BooleanField')(default=True)),
+ ('building_recapitulates_entity_name', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('building', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contacts_and_people.Building'], null=True, blank=True)),
+ ('website', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='entity', unique=True, null=True, to=orm['cms.Page'])),
+ ('auto_news_page', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('news_page_menu_title', self.gf('django.db.models.fields.CharField')(default='News & events', max_length=50)),
+ ('news_page_intro', self.gf('django.db.models.fields.related.ForeignKey')(related_name='news_page_intro', null=True, to=orm['cms.Placeholder'])),
+ ('auto_contacts_page', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('contacts_page_menu_title', self.gf('django.db.models.fields.CharField')(default='Contacts & people', max_length=50)),
+ ('contacts_page_intro', self.gf('django.db.models.fields.related.ForeignKey')(related_name='contacts_page_intro', null=True, to=orm['cms.Placeholder'])),
+ ('auto_vacancies_page', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('vacancies_page_menu_title', self.gf('django.db.models.fields.CharField')(default='Vacancies & studentships', max_length=50)),
+ ('vacancies_page_intro', self.gf('django.db.models.fields.related.ForeignKey')(related_name='vacancies_page_intro', null=True, to=orm['cms.Placeholder'])),
+ ('auto_publications_page', self.gf('django.db.models.fields.BooleanField')(default=False)),
+ ('publications_page_menu_title', self.gf('django.db.models.fields.CharField')(default='Publications', max_length=50)),
+ ('lft', self.gf('django.db.models.fields.PositiveIntegerField')(db_index=True)),
+ ('rght', self.gf('django.db.models.fields.PositiveIntegerField')(db_index=True)),
+ ('tree_id', self.gf('django.db.models.fields.PositiveIntegerField')(db_index=True)),
+ ('level', self.gf('django.db.models.fields.PositiveIntegerField')(db_index=True)),
+ ))
+ db.send_create_signal('contacts_and_people', ['Entity'])
+
+ # Adding model 'Title'
+ db.create_table('contacts_and_people_title', (
+ ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('title', self.gf('django.db.models.fields.CharField')(unique=True, max_length=50)),
+ ('abbreviation', self.gf('django.db.models.fields.CharField')(unique=True, max_length=20)),
+ ))
+ db.send_create_signal('contacts_and_people', ['Title'])
+
+ # Adding model 'PersonLite'
+ db.create_table('contacts_and_people_personlite', (
+ ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
+ ('title', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contacts_and_people.Title'], to_field='abbreviation', null=True, blank=True)),
+ ('given_name', self.gf('django.db.models.fields.CharField')(max_length=50, null=True, blank=True)),
+ ('middle_names', self.gf('django.db.models.fields.CharField')(max_length=100, null=True, blank=True)),
+ ('surname', self.gf('django.db.models.fields.CharField')(max_length=50)),
+ ))
+ db.send_create_signal('contacts_and_people', ['PersonLite'])
+
+ # Adding model 'Person'
+ db.create_table('contacts_and_people_person', (
+ ('personlite_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['contacts_and_people.PersonLite'], unique=True, primary_key=True)),
+ ('url', self.gf('django.db.models.fields.URLField')(max_length=200, null=True, blank=True)),
+ ('external_url', self.gf('django.db.models.fields.related.ForeignKey')(blank=True, related_name='person_item', null=True, to=orm['links.ExternalLink'])),
+ ('slug', self.gf('django.db.models.fields.SlugField')(db_index=True, unique=True, max_length=60, blank=True)),
+ ('precise_location', self.gf('django.db.models.fields.CharField')(max_length=255, null=</