text: # -*- coding: utf-8 -*-
  from south.utils import datetime_utils as datetime
  from south.db import db
  from south.v2 import SchemaMigration
  from django.db import models
  
  
  class Migration(SchemaMigration):
  
      def forwards(self, orm):
          # Adding M2M table for field comments on 'Video'
          m2m_table_name = db.shorten_name(u'catalog_video_comments')
          db.create_table(m2m_table_name, (
              ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
              ('video', models.ForeignKey(orm['catalog.video'], null=False)),
              ('comment', models.ForeignKey(orm['catalog.comment'], null=False))
          ))
          db.create_unique(m2m_table_name, ['video_id', 'comment_id'])
  
  
      def backwards(self, orm):
          # Removing M2M table for field comments on 'Video'
          db.delete_table(db.shorten_name(u'catalog_video_comments'))
  
  
      models = {
          u'auth.group': {
              'Meta': {'object_name': 'Group'},
              u'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': u"orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
          },
          u'auth.permission': {
              'Meta': {'ordering': "(u'content_type__app_label', u'content_type__model', u'codename')", 'unique_together': "((u'content_type', u'codename'),)", 'object_name': 'Permission'},
              'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
          },
          u'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', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Group']"}),
              u'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', [], {'symmetrical': 'False', 'related_name': "u'user_set'", 'blank': 'True', 'to': u"orm['auth.Permission']"}),
              'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
          },
          'catalog.cfistoreitem': {
              'Meta': {'object_name': 'CfiStoreItem'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'item': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['catalog.Product']", 'unique': 'True'}),
              'likers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'cfi_store_item_likes'", 'symmetrical': 'False', 'through': "orm['catalog.LikeCfiStoreItem']", 'to': u"orm['auth.User']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'})
          },
          'catalog.comment': {
              'Meta': {'object_name': 'Comment'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'body': ('django.db.models.fields.CharField', [], {'max_length': '1000'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.documentation': {
              'Meta': {'object_name': 'Documentation'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'title': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True', 'blank': 'True'}),
              'url': ('django.db.models.fields.URLField', [], {'max_length': '1000'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'})
          },
          'catalog.emailcollect': {
              'Meta': {'object_name': 'EmailCollect'},
              'email': ('django.db.models.fields.EmailField', [], {'max_length': '30'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'})
          },
          'catalog.image': {
              'Meta': {'object_name': 'Image'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'comments': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['catalog.Comment']", 'null': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'large_url': ('django.db.models.fields.URLField', [], {'max_length': '1000'}),
              'order': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'small_url': ('django.db.models.fields.URLField', [], {'max_length': '1000', 'null': 'True', 'blank': 'True'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'images'", 'null': 'True', 'to': u"orm['auth.User']"})
          },
          'catalog.like': {
              'Meta': {'object_name': 'Like'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.likecfistoreitem': {
              'Meta': {'unique_together': "(('user', 'cfi_store_item'),)", 'object_name': 'LikeCfiStoreItem'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'cfi_store_item': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.CfiStoreItem']"}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.likemakey': {
              'Meta': {'unique_together': "(('user', 'makey'),)", 'object_name': 'LikeMakey'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'makey': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Makey']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.likenote': {
              'Meta': {'unique_together': "(('user', 'note'),)", 'object_name': 'LikeNote'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'note': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Note']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.likeproduct': {
              'Meta': {'unique_together': "(('user', 'product'),)", 'object_name': 'LikeProduct'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'product': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Product']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.likeproductdescription': {
              'Meta': {'unique_together': "(('user', 'product_description'),)", 'object_name': 'LikeProductDescription'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'product_description': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.ProductDescription']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.likeproductimage': {
              'Meta': {'unique_together': "(('user', 'image'),)", 'object_name': 'LikeProductImage'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.ProductImage']"}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'product': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Product']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.likeproducttutorial': {
              'Meta': {'unique_together': "(('user', 'tutorial', 'product'),)", 'object_name': 'LikeProductTutorial'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'product': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Product']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'tutorial': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Tutorial']"}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.likeshop': {
              'Meta': {'unique_together': "(('user', 'shop'),)", 'object_name': 'LikeShop'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'shop': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Shop']"}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.list': {
              'Meta': {'object_name': 'List'},
              'access': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'access'", 'symmetrical': 'False', 'to': u"orm['auth.User']"}),
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'is_private': ('django.db.models.fields.BooleanField', [], {}),
              'items': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['catalog.ListItem']", 'symmetrical': 'False'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'owner'", 'to': u"orm['auth.User']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'})
          },
          'catalog.listgroup': {
              'Meta': {'object_name': 'ListGroup'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'lists': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['catalog.List']", 'symmetrical': 'False'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'})
          },
          'catalog.listitem': {
              'Meta': {'object_name': 'ListItem'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'createdby': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'note': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
              'product': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Product']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'})
          },
          'catalog.location': {
              'Meta': {'object_name': 'Location'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'})
          },
          'catalog.logidenticalproduct': {
              'Meta': {'object_name': 'LogIdenticalProduct'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'product1': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'product1'", 'to': "orm['catalog.Product']"}),
              'product2': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'product2'", 'to': "orm['catalog.Product']"}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.makey': {
              'Meta': {'object_name': 'Makey'},
              'about': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'collaborators': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'collaborators'", 'null': 'True', 'symmetrical': 'False', 'to': u"orm['auth.User']"}),
              'comments': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'makeycomments'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['catalog.Comment']"}),
              'description': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
              'documentations': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'makeydocumentations'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['catalog.Documentation']"}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'images': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'makeyimages'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['catalog.Image']"}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
              'new_parts': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'makeys'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['catalog.NewProduct']"}),
              'new_users': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'makeys'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['catalog.NewUser']"}),
              'notes': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'makeynotes'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['catalog.Note']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'url': ('django.db.models.fields.URLField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'}),
              'videos': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'makeyvideos'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['catalog.Video']"}),
              'votes': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'})
          },
          'catalog.makeyimage': {
              'Meta': {'object_name': 'MakeyImage'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'image': ('django.db.models.fields.files.ImageField', [], {'max_length': '100'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'makey_id': ('django.db.models.fields.IntegerField', [], {}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'})
          },
          'catalog.newproduct': {
              'Meta': {'object_name': 'NewProduct'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'image': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Image']", 'null': 'True', 'blank': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'})
          },
          'catalog.newuser': {
              'Meta': {'object_name': 'NewUser'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'email': ('django.db.models.fields.EmailField', [], {'max_length': '75'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'})
          },
          'catalog.note': {
              'Meta': {'object_name': 'Note'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'body': ('django.db.models.fields.CharField', [], {'max_length': '1000'}),
              'comments': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['catalog.Comment']", 'null': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'likes_count': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'order': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'title': ('django.db.models.fields.CharField', [], {'max_length': '140', 'null': 'True', 'blank': 'True'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.product': {
              'Meta': {'object_name': 'Product'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'identicalto': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Product']", 'null': 'True', 'blank': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'likers': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'product_likes'", 'symmetrical': 'False', 'through': "orm['catalog.LikeProduct']", 'to': u"orm['auth.User']"}),
              'makeys': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'partsused'", 'blank': 'True', 'to': "orm['catalog.Makey']"}),
              'makeys_as_tools': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'tools_used'", 'blank': 'True', 'to': "orm['catalog.Makey']"}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'sku': ('django.db.models.fields.IntegerField', [], {}),
              'tutorials': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'products'", 'blank': 'True', 'to': "orm['catalog.Tutorial']"})
          },
          'catalog.productdescription': {
              'Meta': {'object_name': 'ProductDescription'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'description': ('django.db.models.fields.CharField', [], {'max_length': '100000'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'product': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'productdescriptions'", 'to': "orm['catalog.Product']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'shop': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Shop']", 'blank': 'True'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'blank': 'True'}),
              'user_or_shop': ('django.db.models.fields.BooleanField', [], {})
          },
          'catalog.productimage': {
              'Meta': {'object_name': 'ProductImage'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'product': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'productimages'", 'to': "orm['catalog.Product']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'shop': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Shop']", 'null': 'True', 'blank': 'True'}),
              'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'})
          },
          'catalog.productreview': {
              'Meta': {'object_name': 'ProductReview'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'product': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'product_reviews'", 'to': "orm['catalog.Product']"}),
              'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'review': ('django.db.models.fields.CharField', [], {'max_length': '100000'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'title': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
              'votes': ('django.db.models.fields.IntegerField', [], {'default': '0'})
          },
          'catalog.productshopurl': {
              'Meta': {'object_name': 'ProductShopUrl'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'product': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'productshopurls'", 'to': "orm['catalog.Product']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'shop': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Shop']"}),
              'url': ('django.db.models.fields.URLField', [], {'max_length': '200'})
          },
          'catalog.searchlog': {
              'Meta': {'object_name': 'SearchLog'},
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'term': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'time': ('django.db.models.fields.DateTimeField', [], {}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'})
          },
          'catalog.shop': {
              'Meta': {'object_name': 'Shop'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'description': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'images': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'shopimages'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['catalog.Image']"}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'likes': ('django.db.models.fields.related.ManyToManyField', [], {'related_name': "'shop_likes'", 'symmetrical': 'False', 'through': "orm['catalog.LikeShop']", 'to': u"orm['auth.User']"}),
              'location': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Location']"}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'url': ('django.db.models.fields.URLField', [], {'max_length': '200'})
          },
          'catalog.shopreview': {
              'Meta': {'object_name': 'ShopReview'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'rating': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'review': ('django.db.models.fields.CharField', [], {'max_length': '100000'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'shop': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'shop_reviews'", 'to': "orm['catalog.Shop']"}),
              'title': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
              'votes': ('django.db.models.fields.IntegerField', [], {'default': '0'})
          },
          'catalog.toindexstore': {
              'Meta': {'object_name': 'ToIndexStore'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'description': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'location': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Location']"}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
              'url': ('django.db.models.fields.URLField', [], {'max_length': '200'})
          },
          'catalog.topmakeys': {
              'Meta': {'object_name': 'TopMakeys'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'makey': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Makey']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'})
          },
          'catalog.topproducts': {
              'Meta': {'object_name': 'TopProducts'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'product': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Product']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'})
          },
          'catalog.topshops': {
              'Meta': {'object_name': 'TopShops'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'shop': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Shop']"})
          },
          'catalog.toptutorials': {
              'Meta': {'object_name': 'TopTutorials'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'tutorial': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Tutorial']"})
          },
          'catalog.topusers': {
              'Meta': {'object_name': 'TopUsers'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.tutorial': {
              'Meta': {'object_name': 'Tutorial'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'description': ('django.db.models.fields.CharField', [], {'max_length': '200', 'null': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'images': ('django.db.models.fields.related.ManyToManyField', [], {'blank': 'True', 'related_name': "'tutorialimages'", 'null': 'True', 'symmetrical': 'False', 'to': "orm['catalog.Image']"}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'}),
              'votes': ('django.db.models.fields.IntegerField', [], {'default': '0'})
          },
          'catalog.userflags': {
              'Meta': {'object_name': 'UserFlags'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'show_maker_intro': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'show_makey_intro': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.userinteraction': {
              'Meta': {'object_name': 'UserInteraction'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'event': ('django.db.models.fields.IntegerField', [], {}),
              'event_id': ('django.db.models.fields.IntegerField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"})
          },
          'catalog.userprofile': {
              'Meta': {'object_name': 'UserProfile'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'profile'", 'unique': 'True', 'to': u"orm['auth.User']"})
          },
          'catalog.video': {
              'Meta': {'object_name': 'Video'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              'comments': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'to': "orm['catalog.Comment']", 'null': 'True', 'blank': 'True'}),
              'embed_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'order': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'site': ('django.db.models.fields.IntegerField', [], {}),
              'thumb_url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
              'url': ('django.db.models.fields.URLField', [], {'max_length': '200'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']", 'null': 'True', 'blank': 'True'})
          },
          'catalog.votemakey': {
              'Meta': {'unique_together': "(('user', 'makey'),)", 'object_name': 'VoteMakey'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'makey': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Makey']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
              'vote': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
          },
          'catalog.voteproductreview': {
              'Meta': {'unique_together': "(('user', 'review'),)", 'object_name': 'VoteProductReview'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'review': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.ProductReview']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
              'vote': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
          },
          'catalog.voteshopreview': {
              'Meta': {'unique_together': "(('user', 'review'),)", 'object_name': 'VoteShopReview'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'review': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.ShopReview']"}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
              'vote': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
          },
          'catalog.votetutorial': {
              'Meta': {'unique_together': "(('user', 'tutorial'),)", 'object_name': 'VoteTutorial'},
              'added_time': ('django.db.models.fields.DateTimeField', [], {}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'is_enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
              'score': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
              'tutorial': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['catalog.Tutorial']"}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['auth.User']"}),
              'vote': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
          },
          u'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'}),
              u'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'})
          }
      }
  
      complete_apps = ['catalog']