|
|
|
|
@ -8,9 +8,9 @@ from django.db import models |
|
|
|
|
class Migration(SchemaMigration): |
|
|
|
|
|
|
|
|
|
def forwards(self, orm): |
|
|
|
|
# Adding field 'Contact.events_news' |
|
|
|
|
db.add_column(u'newsletter_contact', 'events_news', |
|
|
|
|
self.gf('django.db.models.fields.BooleanField')(default=False), |
|
|
|
|
# Adding field 'Contact.dailymailing' |
|
|
|
|
db.add_column(u'newsletter_contact', 'dailymailing', |
|
|
|
|
self.gf('django.db.models.fields.BooleanField')(default=True), |
|
|
|
|
keep_default=False) |
|
|
|
|
|
|
|
|
|
# Adding M2M table for field conferences on 'Contact' |
|
|
|
|
@ -33,8 +33,8 @@ class Migration(SchemaMigration): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def backwards(self, orm): |
|
|
|
|
# Deleting field 'Contact.events_news' |
|
|
|
|
db.delete_column(u'newsletter_contact', 'events_news') |
|
|
|
|
# Deleting field 'Contact.dailymailing' |
|
|
|
|
db.delete_column(u'newsletter_contact', 'dailymailing') |
|
|
|
|
|
|
|
|
|
# Removing M2M table for field conferences on 'Contact' |
|
|
|
|
db.delete_table(db.shorten_name(u'newsletter_contact_conferences')) |
|
|
|
|
@ -98,6 +98,18 @@ class Migration(SchemaMigration): |
|
|
|
|
'services': ('django.db.models.fields.BigIntegerField', [], {'default': 'None'}), |
|
|
|
|
'url': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '50'}) |
|
|
|
|
}, |
|
|
|
|
u'comments.comment': { |
|
|
|
|
'Meta': {'object_name': 'Comment'}, |
|
|
|
|
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}), |
|
|
|
|
'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), |
|
|
|
|
'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), |
|
|
|
|
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
|
|
|
'ip': ('django.db.models.fields.GenericIPAddressField', [], {'max_length': '39', 'null': 'True', 'blank': 'True'}), |
|
|
|
|
'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}), |
|
|
|
|
'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['comments.Comment']", 'null': 'True', 'blank': 'True'}), |
|
|
|
|
'text': ('django.db.models.fields.TextField', [], {}), |
|
|
|
|
'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['accounts.User']"}) |
|
|
|
|
}, |
|
|
|
|
u'company.company': { |
|
|
|
|
'Meta': {'ordering': "['-rating', 'id']", 'unique_together': '()', 'object_name': 'Company', 'index_together': '()'}, |
|
|
|
|
'address': ('functions.custom_fields.LocationField', [], {'blank': 'True'}), |
|
|
|
|
@ -256,7 +268,7 @@ class Migration(SchemaMigration): |
|
|
|
|
'created_at': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), |
|
|
|
|
'customer': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Customer']", 'null': 'True', 'blank': 'True'}), |
|
|
|
|
'flash': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), |
|
|
|
|
'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 22, 0, 0)'}), |
|
|
|
|
'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 23, 0, 0)'}), |
|
|
|
|
'group': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'banners'", 'null': 'True', 'to': u"orm['expobanner.BannerGroup']"}), |
|
|
|
|
'html': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), |
|
|
|
|
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
|
|
|
@ -329,7 +341,7 @@ class Migration(SchemaMigration): |
|
|
|
|
'country': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), |
|
|
|
|
'excluded_cities': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['city.City']", 'null': 'True', 'blank': 'True'}), |
|
|
|
|
'excluded_tags': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['theme.Tag']", 'null': 'True', 'blank': 'True'}), |
|
|
|
|
'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 22, 0, 0)'}), |
|
|
|
|
'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 23, 0, 0)'}), |
|
|
|
|
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
|
|
|
'link': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['expobanner.Banner']"}), |
|
|
|
|
'months': ('functions.custom_fields.MonthMultiSelectField', [], {'default': 'None', 'max_length': '255', 'null': 'True', 'blank': 'True'}), |
|
|
|
|
@ -438,7 +450,7 @@ class Migration(SchemaMigration): |
|
|
|
|
u'newsletter.contact': { |
|
|
|
|
'Meta': {'ordering': "('-modification_date',)", 'object_name': 'Contact'}, |
|
|
|
|
'activated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), |
|
|
|
|
'activation_code': ('django.db.models.fields.CharField', [], {'default': "'f0ee2280ab463a4d1e0c68acfbe98b44115b34a2'", 'max_length': '40'}), |
|
|
|
|
'activation_code': ('django.db.models.fields.CharField', [], {'default': "'a1d2fb1379a544e39c9d2ff60f931eef3bf850de'", 'max_length': '40'}), |
|
|
|
|
'area': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Area']", 'null': 'True', 'blank': 'True'}), |
|
|
|
|
'conferences': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['conference.Conference']", 'null': 'True', 'symmetrical': 'False'}), |
|
|
|
|
'content_articles': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), |
|
|
|
|
@ -446,8 +458,8 @@ class Migration(SchemaMigration): |
|
|
|
|
'content_overview': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), |
|
|
|
|
'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}), |
|
|
|
|
'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), |
|
|
|
|
'dailymailing': ('django.db.models.fields.BooleanField', [], {'default': 'True'}), |
|
|
|
|
'email': ('django.db.models.fields.EmailField', [], {'unique': 'True', 'max_length': '255'}), |
|
|
|
|
'events_news': ('django.db.models.fields.BooleanField', [], {'default': 'False'}), |
|
|
|
|
'expositions': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['exposition.Exposition']", 'null': 'True', 'symmetrical': 'False'}), |
|
|
|
|
'f_countries': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': u"orm['country.Country']", 'null': 'True', 'blank': 'True'}), |
|
|
|
|
'first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}), |
|
|
|
|
@ -543,7 +555,7 @@ class Migration(SchemaMigration): |
|
|
|
|
'conference': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['conference.Conference']", 'null': 'True'}), |
|
|
|
|
'creation_date': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}), |
|
|
|
|
'exposition': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['exposition.Exposition']", 'null': 'True'}), |
|
|
|
|
'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 22, 0, 0)'}), |
|
|
|
|
'fr': ('django.db.models.fields.DateField', [], {'default': 'datetime.datetime(2016, 11, 23, 0, 0)'}), |
|
|
|
|
u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), |
|
|
|
|
'theme': ('django.db.models.fields.related.ManyToManyField', [], {'to': u"orm['theme.Theme']", 'null': 'True', 'symmetrical': 'False'}), |
|
|
|
|
'to': ('django.db.models.fields.DateField', [], {'null': 'True', 'blank': 'True'}) |
|
|
|
|
|