Permalink
Browse files

thoroughly cleaned up new migrations

  • Loading branch information...
evildmp committed Apr 11, 2012
1 parent 9829737 commit f4721b82effe193cb781dfee5fc959f0a78e8617
Showing with 882 additions and 28,416 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. BIN contacts_and_people/migrations/.DS_Store
  9. +207 −22 ...0033_auto__add_field_entity_building_recapitulates_entity_name__add_field_e.py → 0001_initial.py}
  10. +0 −390 contacts_and_people/migrations/0001_researcherteacher.py
  11. +0 −242 contacts_and_people/migrations/0002_uniqueslugs.py
  12. +0 −245 contacts_and_people/migrations/0003_orders.py
  13. +0 −246 contacts_and_people/migrations/0004_URLFields.py
  14. +0 −242 contacts_and_people/migrations/0005_URLFields.py
  15. +0 −249 contacts_and_people/migrations/0006_URLFields.py
  16. +0 −247 contacts_and_people/migrations/0007_active.py
  17. +0 −242 contacts_and_people/migrations/0008_test.py
  18. +0 −241 contacts_and_people/migrations/0009_test.py
  19. +0 −249 contacts_and_people/migrations/0010_test.py
  20. +0 −255 contacts_and_people/migrations/0011_home_and_key_member.py
  21. +0 −259 contacts_and_people/migrations/0012_ordering.py
  22. +0 −242 contacts_and_people/migrations/0013_building.py
  23. +0 −244 contacts_and_people/migrations/0014_buildingslug.py
  24. +0 −268 contacts_and_people/migrations/0015_test.py
  25. +0 −265 contacts_and_people/migrations/0016_plugin.py
  26. +0 −267 contacts_and_people/migrations/0017_contact_field.py
  27. +0 −324 contacts_and_people/migrations/0018_directory_plugin.py
  28. +0 −312 contacts_and_people/migrations/0019_directory_plugin.py
  29. +0 −318 contacts_and_people/migrations/0020_directory_plugin.py
  30. +0 −314 contacts_and_people/migrations/0021_directory_plugin.py
  31. +0 −314 contacts_and_people/migrations/0022_directory_plugin.py
  32. +0 −313 contacts_and_people/migrations/0023_directory_plugin.py
  33. +0 −319 contacts_and_people/migrations/0024_directory_plugin.py
  34. +0 −315 contacts_and_people/migrations/0025_directory_plugin.py
  35. +0 −315 contacts_and_people/migrations/0026_entity.py
  36. +0 −324 contacts_and_people/migrations/0027_empty.py
  37. +0 −323 contacts_and_people/migrations/0028_empty.py
  38. +0 −328 contacts_and_people/migrations/0029_directory.py
  39. +0 −329 contacts_and_people/migrations/0030_auto_links.py
  40. +0 −438 ..._people/migrations/0031_auto__add_entitymembersplugineditor__del_field_site_image__del_field_e.py
  41. +0 −345 ..._people/migrations/0032_auto__add_field_entity_news_page_intro__add_field_entity_contacts_page.py
  42. +157 −25 ...0013_auto__add_field_genericlinklistplugin_final_separator__chg_field_gener.py → 0001_initial.py}
  43. +0 −179 links/migrations/0001_key_link.py
  44. +0 −120 links/migrations/0002_key_link.py
  45. +0 −121 links/migrations/0003_key_link.py
  46. +0 −143 links/migrations/0004_added_heading_and_metadata_field.py
  47. +0 −126 links/migrations/0005_inline_links.py
  48. +0 −228 links/migrations/0006_carousel.py
  49. +0 −296 links/migrations/0007_focuson.py
  50. +0 −234 links/migrations/0008_carousel.py
  51. +0 −249 links/migrations/0009_auto__add_field_externalsite_domain__add_field_externalsite_parent__ad.py
  52. +0 −231 links/migrations/0010_auto__add_linktype__add_field_externallink_kind.py
  53. +0 −232 links/migrations/0011_auto__chg_field_externallink_title__chg_field_externallink_url__add_un.py
  54. +0 −223 links/migrations/0012_auto__chg_field_externalsite_site__chg_field_externallink_url.py
  55. +0 −479 news_and_events/migrations/0001_firsttry.py
  56. +167 −20 ...0041_auto__add_field_event_published__add_field_event_in_lists__chg_field_e.py → 0001_initial.py}
  57. +0 −282 news_and_events/migrations/0002_unique_slug.py
  58. +0 −286 news_and_events/migrations/0003_testing.py
  59. +0 −283 news_and_events/migrations/0004_test.py
  60. +0 −281 news_and_events/migrations/0005_test.py
  61. +0 −281 news_and_events/migrations/0006_test.py
  62. +0 −281 news_and_events/migrations/0007_test.py
  63. +0 −276 news_and_events/migrations/0008_inheritname.py
  64. +0 −287 news_and_events/migrations/0009_URLFields.py
  65. +0 −303 news_and_events/migrations/0010_URLFields.py
  66. +0 −297 news_and_events/migrations/0011_URLFields.py
  67. +0 −296 news_and_events/migrations/0012_urlnull.py
  68. +0 −298 news_and_events/migrations/0013_fieldlengths.py
  69. +0 −290 news_and_events/migrations/0014_startseries.py
  70. +0 −298 news_and_events/migrations/0015_sticky_bits.py
  71. +0 −358 news_and_events/migrations/0016_tidyingup.py
  72. +0 −328 news_and_events/migrations/0017_plugin.py
  73. +0 −337 news_and_events/migrations/0018_showprevious.py
  74. +0 −316 news_and_events/migrations/0019_previous_events.py
  75. +0 −315 news_and_events/migrations/0020_previous_events.py
  76. +0 −319 news_and_events/migrations/0021_news.py
  77. +0 −312 news_and_events/migrations/0022_news.py
  78. +0 −322 news_and_events/migrations/0023_models.py
  79. +0 −322 news_and_events/migrations/0024_models.py
  80. +0 −313 news_and_events/migrations/0025_models.py
  81. +0 −315 news_and_events/migrations/0026_events.py
  82. +0 −379 news_and_events/migrations/0027_image.py
  83. +0 −368 news_and_events/migrations/0028_layout.py
  84. +0 −438 news_and_events/migrations/0029_ordering.py
  85. +0 −349 news_and_events/migrations/0030_auto__chg_field_event_slug__chg_field_newsarticle_slug.py
  86. +0 −462 news_and_events/migrations/0031_nasty_manual_rename.py
  87. +0 −448 ..._events/migrations/0032_auto__add_field_newsandeventsplugin_list_format__add_field_newsandeven.py
  88. +0 −419 news_and_events/migrations/0033_convert_plugin_settings.py
  89. +0 −417 news_and_events/migrations/0034_convert_text_to_placeholders.txt
  90. +0 −422 news_and_events/migrations/0035_better_events_series.py
  91. +0 −390 news_and_events/migrations/0036_better_events_series.py
  92. +0 −421 news_and_events/migrations/0037_update_for_universal_mixin.py
  93. +0 −396 ..._events/migrations/0038_auto__del_field_event_do_not_link_to_children__add_field_event_show_ti.py
  94. +0 −388 news_and_events/migrations/0039_show_titles.py
  95. +0 −389 news_and_events/migrations/0040_auto__del_field_event_display_series_name.py
  96. +0 −404 news_and_events/migrations/0042_published_and_in_lists.py
  97. +287 −184 vacancies_and_studentships/migrations/0001_initial.py
  98. +0 −290 vacancies_and_studentships/migrations/0002_cleaning_up.py
  99. +0 −603 ...ntships/migrations/0003_auto__del_field_studentship_please_contact__add_field_studentship_exte.py
  100. +0 −288 vacancies_and_studentships/migrations/0003_salary-to-char.py
  101. 0 video/{xmigrations → migrations}/0001_initial.py
  102. 0 {arkestra_image_plugin/xxmigrations → video/migrations}/__init__.py
  103. 0 video/xmigrations/__init__.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'}),
Oops, something went wrong.

0 comments on commit f4721b8

Please sign in to comment.