Commits

Anonymous committed 56a3fd2

Trying to stab TxCollections migrations once again.

I hope I'm not destroying more things than the fixed ones.

The txcollections app has been re-added because of South limitations.
No models or other code though. Hopefully we'll remove it with South 0.7.

  • Participants
  • Parent commits 8b3cc20

Comments (0)

Files changed (17)

File transifex/codebases/migrations/0002_precoll.py

+
+from south.db import db
+from django.db import models
+from codebases.models import *
+
+class Migration:
+    
+    def forwards(self, orm):
+        
+        # Changing field 'Unit.name'
+        # (to signature: django.db.models.fields.CharField(unique=True, max_length=100))
+        db.alter_column('codebases_unit', 'name', orm['codebases.unit:name'])
+        
+        # Changing field 'Unit.last_checkout'
+        # (to signature: django.db.models.fields.DateTimeField(null=True))
+        db.alter_column('codebases_unit', 'last_checkout', orm['codebases.unit:last_checkout'])
+        
+        # Changing field 'Unit.created'
+        # (to signature: django.db.models.fields.DateTimeField(auto_now_add=True, blank=True))
+        db.alter_column('codebases_unit', 'created', orm['codebases.unit:created'])
+        
+        # Changing field 'Unit.type'
+        # (to signature: django.db.models.fields.CharField(max_length=10))
+        db.alter_column('codebases_unit', 'type', orm['codebases.unit:type'])
+        
+        # Changing field 'Unit.modified'
+        # (to signature: django.db.models.fields.DateTimeField(auto_now=True, blank=True))
+        db.alter_column('codebases_unit', 'modified', orm['codebases.unit:modified'])
+        
+        # Changing field 'Unit.root'
+        # (to signature: django.db.models.fields.CharField(max_length=255))
+        db.alter_column('codebases_unit', 'root', orm['codebases.unit:root'])
+        
+    
+    
+    def backwards(self, orm):
+        
+        # Changing field 'Unit.name'
+        # (to signature: models.CharField(_('Name'), unique=True, max_length=100))
+        db.alter_column('codebases_unit', 'name', orm['codebases.unit:name'])
+        
+        # Changing field 'Unit.last_checkout'
+        # (to signature: models.DateTimeField(null=True, editable=False))
+        db.alter_column('codebases_unit', 'last_checkout', orm['codebases.unit:last_checkout'])
+        
+        # Changing field 'Unit.created'
+        # (to signature: models.DateTimeField(auto_now_add=True, editable=False))
+        db.alter_column('codebases_unit', 'created', orm['codebases.unit:created'])
+        
+        # Changing field 'Unit.type'
+        # (to signature: models.CharField(_('Type'), max_length=10))
+        db.alter_column('codebases_unit', 'type', orm['codebases.unit:type'])
+        
+        # Changing field 'Unit.modified'
+        # (to signature: models.DateTimeField(auto_now=True, editable=False))
+        db.alter_column('codebases_unit', 'modified', orm['codebases.unit:modified'])
+        
+        # Changing field 'Unit.root'
+        # (to signature: models.CharField(_('Root'), max_length=255))
+        db.alter_column('codebases_unit', 'root', orm['codebases.unit:root'])
+        
+    
+    
+    models = {
+        'codebases.unit': {
+            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'last_checkout': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
+            'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
+            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}),
+            'root': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
+            'type': ('django.db.models.fields.CharField', [], {'max_length': '10'})
+        }
+    }
+    
+    complete_apps = ['codebases']

File transifex/languages/migrations/0002_precoll.py

+
+from south.db import db
+from django.db import models
+from languages.models import *
+
+class Migration:
+    
+    def forwards(self, orm):
+        
+        # Changing field 'Language.code_aliases'
+        # (to signature: django.db.models.fields.CharField(max_length=100, null=True))
+        db.alter_column('translations_language', 'code_aliases', orm['languages.language:code_aliases'])
+        
+        # Changing field 'Language.code'
+        # (to signature: django.db.models.fields.CharField(unique=True, max_length=50))
+        db.alter_column('translations_language', 'code', orm['languages.language:code'])
+        
+        # Changing field 'Language.description'
+        # (to signature: django.db.models.fields.CharField(max_length=255, blank=True))
+        db.alter_column('translations_language', 'description', orm['languages.language:description'])
+        
+        # Changing field 'Language.pluralequation'
+        # (to signature: django.db.models.fields.CharField(max_length=255, blank=True))
+        db.alter_column('translations_language', 'pluralequation', orm['languages.language:pluralequation'])
+        
+        # Changing field 'Language.name'
+        # (to signature: django.db.models.fields.CharField(unique=True, max_length=50))
+        db.alter_column('translations_language', 'name', orm['languages.language:name'])
+        
+        # Changing field 'Language.specialchars'
+        # (to signature: django.db.models.fields.CharField(max_length=255, blank=True))
+        db.alter_column('translations_language', 'specialchars', orm['languages.language:specialchars'])
+        
+        # Changing field 'Language.nplurals'
+        # (to signature: django.db.models.fields.SmallIntegerField())
+        db.alter_column('translations_language', 'nplurals', orm['languages.language:nplurals'])
+        
+    
+    
+    def backwards(self, orm):
+        
+        # Changing field 'Language.code_aliases'
+        # (to signature: models.CharField(_('Code aliases'), max_length=100, null=True))
+        db.alter_column('translations_language', 'code_aliases', orm['languages.language:code_aliases'])
+        
+        # Changing field 'Language.code'
+        # (to signature: models.CharField(_('Code'), unique=True, max_length=50))
+        db.alter_column('translations_language', 'code', orm['languages.language:code'])
+        
+        # Changing field 'Language.description'
+        # (to signature: models.CharField(_('Description'), max_length=255, blank=True))
+        db.alter_column('translations_language', 'description', orm['languages.language:description'])
+        
+        # Changing field 'Language.pluralequation'
+        # (to signature: models.CharField(_("Plural Equation"), max_length=255, blank=True))
+        db.alter_column('translations_language', 'pluralequation', orm['languages.language:pluralequation'])
+        
+        # Changing field 'Language.name'
+        # (to signature: models.CharField(_('Name'), unique=True, max_length=50))
+        db.alter_column('translations_language', 'name', orm['languages.language:name'])
+        
+        # Changing field 'Language.specialchars'
+        # (to signature: models.CharField(_("Special Chars"), max_length=255, blank=True))
+        db.alter_column('translations_language', 'specialchars', orm['languages.language:specialchars'])
+        
+        # Changing field 'Language.nplurals'
+        # (to signature: models.SmallIntegerField(_("Number of Plurals")))
+        db.alter_column('translations_language', 'nplurals', orm['languages.language:nplurals'])
+        
+    
+    
+    models = {
+        'languages.language': {
+            'Meta': {'db_table': "'translations_language'"},
+            'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}),
+            'code_aliases': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100', 'null': 'True'}),
+            'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}),
+            'nplurals': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
+            'pluralequation': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
+            'specialchars': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
+        }
+    }
+    
+    complete_apps = ['languages']

File transifex/projects/migrations/0001_initial.py

         db.create_table('projects_project_collections', (
             ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
             ('project', models.ForeignKey(Project, null=False)),
-            ('collection', models.ForeignKey(Collection, null=False))
+            ('collection', models.ForeignKey(orm['txcollections.collection'], null=False))
         ))
         
         # Adding ManyToManyField 'Component.releases'
         db.create_table('projects_component_releases', (
             ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
             ('component', models.ForeignKey(Component, null=False)),
-            ('collectionrelease', models.ForeignKey(CollectionRelease, null=False))
+            ('collectionrelease', models.ForeignKey(orm['txcollections.collectionrelease'], null=False))
         ))
         
         # Creating unique_together for [project, slug] on Component.

File transifex/reviews/migrations/0001_init.py

+
+from south.db import db
+from django.db import models
+from reviews.models import *
+from txcommon.db.models import IntegerTupleField
+
+class Migration:
+    
+    def forwards(self, orm):
+        
+        # Adding model 'ReviewLike'
+        db.create_table('reviews_reviewlike', (
+            ('id', orm['reviews.ReviewLike:id']),
+            ('like', orm['reviews.ReviewLike:like']),
+            ('reviewrequest', orm['reviews.ReviewLike:reviewrequest']),
+            ('user', orm['reviews.ReviewLike:user']),
+        ))
+        db.send_create_signal('reviews', ['ReviewLike'])
+        
+        # Adding model 'POReviewRequest'
+        db.create_table('reviews_poreviewrequest', (
+            ('id', orm['reviews.POReviewRequest:id']),
+            ('description', orm['reviews.POReviewRequest:description']),
+            ('status', orm['reviews.POReviewRequest:status']),
+            ('resolution', orm['reviews.POReviewRequest:resolution']),
+            ('created_on', orm['reviews.POReviewRequest:created_on']),
+            ('last_updated', orm['reviews.POReviewRequest:last_updated']),
+            ('file_name', orm['reviews.POReviewRequest:file_name']),
+            ('target_filename', orm['reviews.POReviewRequest:target_filename']),
+            ('lang_code', orm['reviews.POReviewRequest:lang_code']),
+            ('component', orm['reviews.POReviewRequest:component']),
+            ('author', orm['reviews.POReviewRequest:author']),
+        ))
+        db.send_create_signal('reviews', ['POReviewRequest'])
+        
+    
+    
+    def backwards(self, orm):
+        
+        # Deleting model 'ReviewLike'
+        db.delete_table('reviews_reviewlike')
+        
+        # Deleting model 'POReviewRequest'
+        db.delete_table('reviews_poreviewrequest')
+        
+    
+    
+    models = {
+        'auth.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']", 'blank': 'True'})
+        },
+        'auth.permission': {
+            'Meta': {'unique_together': "(('content_type', 'codename'),)"},
+            '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': {
+            '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']", 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            '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']", 'blank': 'True'}),
+            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
+        },
+        'codebases.unit': {
+            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'last_checkout': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
+            'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
+            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '100'}),
+            'root': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
+            'type': ('django.db.models.fields.CharField', [], {'max_length': '10'})
+        },
+        'contenttypes.contenttype': {
+            'Meta': {'unique_together': "(('app_label', 'model'),)", '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'})
+        },
+        'languages.language': {
+            'Meta': {'db_table': "'translations_language'"},
+            'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}),
+            'code_aliases': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100', 'null': 'True'}),
+            'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}),
+            'nplurals': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
+            'pluralequation': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
+            'specialchars': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
+        },
+        'projects.component': {
+            'Meta': {'unique_together': "(('project', 'slug'),)"},
+            '_unit': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['codebases.Unit']", 'unique': 'True', 'null': 'True', 'db_column': "'unit_id'", 'blank': 'True'}),
+            'allows_submission': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
+            'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
+            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'file_filter': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
+            'full_name': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
+            'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'i18n_type': ('django.db.models.fields.CharField', [], {'max_length': '20'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'long_description': ('django.db.models.fields.TextField', [], {'max_length': '1000', 'blank': 'True'}),
+            'long_description_html': ('django.db.models.fields.TextField', [], {'max_length': '1000', 'blank': 'True'}),
+            'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
+            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
+            'pofiles': ('django.contrib.contenttypes.generic.GenericRelation', [], {'to': "orm['translations.POFile']"}),
+            'project': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['projects.Project']"}),
+            'should_calculate': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'slug': ('django.db.models.fields.SlugField', [], {'max_length': '30', 'db_index': 'True'}),
+            'source_lang': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
+            'submission_type': ('django.db.models.fields.CharField', [], {'max_length': '10', 'blank': 'True'})
+        },
+        'projects.project': {
+            'anyone_submit': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'bug_tracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
+            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
+            'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
+            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'feed': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
+            'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'long_description': ('django.db.models.fields.TextField', [], {'max_length': '1000', 'blank': 'True'}),
+            'long_description_html': ('django.db.models.fields.TextField', [], {'max_length': '1000', 'blank': 'True'}),
+            'maintainers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.User']", 'null': 'True'}),
+            'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
+            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
+            'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '30', 'db_index': 'True'}),
+            'tags': ('tagging.fields.TagField', [], {})
+        },
+        'reviews.poreviewrequest': {
+            'author': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
+            'component': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'reviews'", 'to': "orm['projects.Component']"}),
+            'created_on': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
+            'description': ('django.db.models.fields.CharField', [], {'max_length': '300', 'null': 'True', 'blank': 'True'}),
+            'file_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'lang_code': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
+            'last_updated': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
+            'resolution': ('django.db.models.fields.CharField', [], {'default': "'N'", 'max_length': '1'}),
+            'scorers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.User']"}),
+            'status': ('django.db.models.fields.CharField', [], {'default': "'O'", 'max_length': '1'}),
+            'target_filename': ('django.db.models.fields.CharField', [], {'max_length': '255'})
+        },
+        'reviews.reviewlike': {
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'like': ('django.db.models.fields.NullBooleanField', [], {'default': 'None', 'null': 'True'}),
+            'reviewrequest': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['reviews.POReviewRequest']"}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
+        },
+        'translations.pofile': {
+            'Meta': {'unique_together': "(('content_type', 'object_id', 'filename'),)"},
+            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
+            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
+            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'error': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'filename': ('django.db.models.fields.CharField', [], {'max_length': '255', 'db_index': 'True'}),
+            'fuzzy': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
+            'fuzzy_perc': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'is_msgmerged': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'is_pot': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'db_index': 'True', 'blank': 'True'}),
+            'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['languages.Language']", 'null': 'True'}),
+            'language_code': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True'}),
+            'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
+            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
+            'rev': ('IntegerTupleField', [], {'max_length': '64', 'null': 'True'}),
+            'total': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
+            'trans': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
+            'trans_perc': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
+            'untrans': ('django.db.models.fields.PositiveIntegerField', [], {'default': '0'}),
+            'untrans_perc': ('django.db.models.fields.PositiveIntegerField', [], {'default': '100'})
+        }
+    }
+    
+    complete_apps = ['reviews']

File transifex/reviews/migrations/__init__.py

Empty file added.

File transifex/settings/50-project.conf

     'authority',
     'txpermissions',
     'teams',
+    'txcollections',
 ]

File transifex/teams/migrations/0001_init.py

+
+from south.db import db
+from django.db import models
+from teams.models import *
+
+class Migration:
+    
+    def forwards(self, orm):
+        
+        # Adding model 'Team'
+        db.create_table('teams_team', (
+            ('id', orm['teams.Team:id']),
+            ('project', orm['teams.Team:project']),
+            ('language', orm['teams.Team:language']),
+            ('mainlist', orm['teams.Team:mainlist']),
+            ('creator', orm['teams.Team:creator']),
+            ('created', orm['teams.Team:created']),
+            ('modified', orm['teams.Team:modified']),
+        ))
+        db.send_create_signal('teams', ['Team'])
+        
+        # Adding model 'TeamRequest'
+        db.create_table('teams_teamrequest', (
+            ('id', orm['teams.TeamRequest:id']),
+            ('project', orm['teams.TeamRequest:project']),
+            ('language', orm['teams.TeamRequest:language']),
+            ('user', orm['teams.TeamRequest:user']),
+            ('created', orm['teams.TeamRequest:created']),
+        ))
+        db.send_create_signal('teams', ['TeamRequest'])
+        
+        # Adding model 'TeamAccessRequest'
+        db.create_table('teams_teamaccessrequest', (
+            ('id', orm['teams.TeamAccessRequest:id']),
+            ('team', orm['teams.TeamAccessRequest:team']),
+            ('user', orm['teams.TeamAccessRequest:user']),
+            ('created', orm['teams.TeamAccessRequest:created']),
+        ))
+        db.send_create_signal('teams', ['TeamAccessRequest'])
+        
+        # Adding ManyToManyField 'Team.members'
+        db.create_table('teams_team_members', (
+            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
+            ('team', models.ForeignKey(orm.Team, null=False)),
+            ('user', models.ForeignKey(orm['auth.User'], null=False))
+        ))
+        
+        # Adding ManyToManyField 'Team.coordinators'
+        db.create_table('teams_team_coordinators', (
+            ('id', models.AutoField(verbose_name='ID', primary_key=True, auto_created=True)),
+            ('team', models.ForeignKey(orm.Team, null=False)),
+            ('user', models.ForeignKey(orm['auth.User'], null=False))
+        ))
+        
+        # Creating unique_together for [team, user] on TeamAccessRequest.
+        db.create_unique('teams_teamaccessrequest', ['team_id', 'user_id'])
+        
+        # Creating unique_together for [project, language] on TeamRequest.
+        db.create_unique('teams_teamrequest', ['project_id', 'language_id'])
+        
+        # Creating unique_together for [project, language] on Team.
+        db.create_unique('teams_team', ['project_id', 'language_id'])
+        
+    
+    
+    def backwards(self, orm):
+        
+        # Deleting unique_together for [project, language] on Team.
+        db.delete_unique('teams_team', ['project_id', 'language_id'])
+        
+        # Deleting unique_together for [project, language] on TeamRequest.
+        db.delete_unique('teams_teamrequest', ['project_id', 'language_id'])
+        
+        # Deleting unique_together for [team, user] on TeamAccessRequest.
+        db.delete_unique('teams_teamaccessrequest', ['team_id', 'user_id'])
+        
+        # Deleting model 'Team'
+        db.delete_table('teams_team')
+        
+        # Deleting model 'TeamRequest'
+        db.delete_table('teams_teamrequest')
+        
+        # Deleting model 'TeamAccessRequest'
+        db.delete_table('teams_teamaccessrequest')
+        
+        # Dropping ManyToManyField 'Team.members'
+        db.delete_table('teams_team_members')
+        
+        # Dropping ManyToManyField 'Team.coordinators'
+        db.delete_table('teams_team_coordinators')
+        
+    
+    
+    models = {
+        'auth.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']", 'blank': 'True'})
+        },
+        'auth.permission': {
+            'Meta': {'unique_together': "(('content_type', 'codename'),)"},
+            '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': {
+            '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']", 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            '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']", 'blank': 'True'}),
+            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
+        },
+        'contenttypes.contenttype': {
+            'Meta': {'unique_together': "(('app_label', 'model'),)", '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'})
+        },
+        'languages.language': {
+            'Meta': {'db_table': "'translations_language'"},
+            'code': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}),
+            'code_aliases': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100', 'null': 'True'}),
+            'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '50'}),
+            'nplurals': ('django.db.models.fields.SmallIntegerField', [], {'default': '0'}),
+            'pluralequation': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
+            'specialchars': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'})
+        },
+        'projects.project': {
+            'anyone_submit': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'bug_tracker': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
+            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
+            'description': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
+            'enabled': ('django.db.models.fields.BooleanField', [], {'default': 'True', 'blank': 'True'}),
+            'feed': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
+            'hidden': ('django.db.models.fields.BooleanField', [], {'default': 'False', 'blank': 'True'}),
+            'homepage': ('django.db.models.fields.URLField', [], {'max_length': '200', 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'long_description': ('django.db.models.fields.TextField', [], {'max_length': '1000', 'blank': 'True'}),
+            'long_description_html': ('django.db.models.fields.TextField', [], {'max_length': '1000', 'blank': 'True'}),
+            'maintainers': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.User']", 'null': 'True'}),
+            'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
+            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
+            'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '30', 'db_index': 'True'}),
+            'tags': ('tagging.fields.TagField', [], {})
+        },
+        'teams.team': {
+            'Meta': {'unique_together': "(('project', 'language'),)"},
+            'coordinators': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.User']"}),
+            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['languages.Language']"}),
+            'mainlist': ('django.db.models.fields.EmailField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
+            'members': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.User']", 'null': 'True', 'blank': 'True'}),
+            'modified': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
+            'project': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['projects.Project']"})
+        },
+        'teams.teamaccessrequest': {
+            'Meta': {'unique_together': "(('team', 'user'),)"},
+            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'team': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['teams.Team']"}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
+        },
+        'teams.teamrequest': {
+            'Meta': {'unique_together': "(('project', 'language'),)"},
+            'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
+            'language': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['languages.Language']"}),
+            'project': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['projects.Project']"}),
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"})
+        }
+    }
+    
+    complete_apps = ['teams']

File transifex/teams/migrations/__init__.py

Empty file added.

File transifex/txcollections/README

+This application isn't really used.
+
+It is here to allow South to do its migrations peacefully,
+because it doesn't support the removal of applications.
+
+In future versions of Transifex, and South, this could be removed.

File transifex/txcollections/__init__.py

Empty file added.

File transifex/txcollections/migrations/0001_initial.py

+
+from south.db import db
+from django.db import models
+from tagging.fields import TagField
+from txcollections.models import *
+
+class Migration:
+    
+    def forwards(self, orm):
+        
+        # Adding model 'CollectionRelease'
+        db.create_table('collections_release', (
+            ('slug', models.SlugField(_('Slug'), max_length=30)),
+            ('description', models.CharField(_('Description'), max_length=255, blank=True)),
+            ('created', models.DateTimeField(auto_now_add=True, editable=False)),
+            ('release_date', models.DateTimeField(_('Release date'), null=True, blank=True)),
+            ('enabled', models.BooleanField(_('Enabled'), default=True, editable=False)),
+            ('modified', models.DateTimeField(auto_now=True, editable=False)),
+            ('collection', models.ForeignKey(orm.Collection, related_name='releases')),
+            ('id', models.AutoField(primary_key=True)),
+            ('stringfreeze_date', models.DateTimeField(_('String freese date'), null=True, blank=True)),
+            ('long_description_html', models.TextField(_('HTML Description'), max_length=1000, editable=False, blank=True)),
+            ('hidden', models.BooleanField(_('Hidden'), default=False, editable=False)),
+            ('homepage', models.URLField(verify_exists=False, blank=True)),
+            ('long_description', models.TextField(_('Long description'), max_length=1000, blank=True)),
+            ('develfreeze_date', models.DateTimeField(_('Devel freeze date'), null=True, blank=True)),
+            ('name', models.CharField(_('Name'), max_length=50)),
+        ))
+        db.send_create_signal('txcollections', ['CollectionRelease'])
+        
+        # Adding model 'Collection'
+        db.create_table('txcollections_collection', (
+            ('slug', models.SlugField(_('Slug'), max_length=30)),
+            ('description', models.CharField(_('Description'), max_length=255, blank=True)),
+            ('created', models.DateTimeField(auto_now_add=True, editable=False)),
+            ('long_description_html', models.TextField(_('HTML Description'), max_length=1000, editable=False, blank=True)),
+            ('tags', TagField()),
+            ('enabled', models.BooleanField(_('Enabled'), default=True, editable=False)),
+            ('modified', models.DateTimeField(auto_now=True, editable=False)),
+            ('id', models.AutoField(primary_key=True)),
+            ('hidden', models.BooleanField(_('Hidden'), default=False, editable=False)),
+            ('homepage', models.URLField(_('Homepage'), verify_exists=False, blank=True)),
+            ('long_description', models.TextField(_('Long description'), max_length=1000, blank=True)),
+            ('name', models.CharField(_('Name'), max_length=50)),
+        ))
+        db.send_create_signal('txcollections', ['Collection'])
+        
+        # Creating unique_together for [slug, collection] on CollectionRelease.
+        db.create_unique('collections_release', ['slug', 'collection_id'])
+        
+    
+    
+    def backwards(self, orm):
+        
+        # Deleting model 'CollectionRelease'
+        db.delete_table('collections_release')
+        
+        # Deleting model 'Collection'
+        db.delete_table('txcollections_collection')
+        
+        # Deleting unique_together for [slug, collection] on CollectionRelease.
+        db.delete_unique('collections_release', ['slug', 'collection_id'])
+        
+    
+    
+    models = {
+        'txcollections.collectionrelease': {
+            'Meta': {'unique_together': "[['slug'],['collection']]", 'db_table': "'collections_release'"},
+            'collection': ('models.ForeignKey', ['Collection'], {'related_name': "'releases'"}),
+            'created': ('models.DateTimeField', [], {'auto_now_add': 'True', 'editable': 'False'}),
+            'description': ('models.CharField', ["_('Description')"], {'max_length': '255', 'blank': 'True'}),
+            'develfreeze_date': ('models.DateTimeField', ["_('Devel freeze date')"], {'null': 'True', 'blank': 'True'}),
+            'enabled': ('models.BooleanField', ["_('Enabled')"], {'default': 'True', 'editable': 'False'}),
+            'hidden': ('models.BooleanField', ["_('Hidden')"], {'default': 'False', 'editable': 'False'}),
+            'homepage': ('models.URLField', [], {'verify_exists': 'False', 'blank': 'True'}),
+            'id': ('models.AutoField', [], {'primary_key': 'True'}),
+            'long_description': ('models.TextField', ["_('Long description')"], {'max_length': '1000', 'blank': 'True'}),
+            'long_description_html': ('models.TextField', ["_('HTML Description')"], {'max_length': '1000', 'editable': 'False', 'blank': 'True'}),
+            'modified': ('models.DateTimeField', [], {'auto_now': 'True', 'editable': 'False'}),
+            'name': ('models.CharField', ["_('Name')"], {'max_length': '50'}),
+            'release_date': ('models.DateTimeField', ["_('Release date')"], {'null': 'True', 'blank': 'True'}),
+            'slug': ('models.SlugField', ["_('Slug')"], {'max_length': '30'}),
+            'stringfreeze_date': ('models.DateTimeField', ["_('String freese date')"], {'null': 'True', 'blank': 'True'})
+        },
+        'txcollections.collection': {
+            'Meta': {'ordering': "('name',)", 'db_table': "'txcollections_collection'", 'get_latest_by': "'created'"},
+            'created': ('models.DateTimeField', [], {'auto_now_add': 'True', 'editable': 'False'}),
+            'description': ('models.CharField', ["_('Description')"], {'max_length': '255', 'blank': 'True'}),
+            'enabled': ('models.BooleanField', ["_('Enabled')"], {'default': 'True', 'editable': 'False'}),
+            'hidden': ('models.BooleanField', ["_('Hidden')"], {'default': 'False', 'editable': 'False'}),
+            'homepage': ('models.URLField', ["_('Homepage')"], {'verify_exists': 'False', 'blank': 'True'}),
+            'id': ('models.AutoField', [], {'primary_key': 'True'}),
+            'long_description': ('models.TextField', ["_('Long description')"], {'max_length': '1000', 'blank': 'True'}),
+            'long_description_html': ('models.TextField', ["_('HTML Description')"], {'max_length': '1000', 'editable': 'False', 'blank': 'True'}),
+            'modified': ('models.DateTimeField', [], {'auto_now': 'True', 'editable': 'False'}),
+            'name': ('models.CharField', ["_('Name')"], {'max_length': '50'}),
+            'slug': ('models.SlugField', ["_('Slug')"], {'max_length': '30'}),
+            'tags': ('TagField', [], {})
+        }
+    }
+    
+    complete_apps = ['txcollections']

File transifex/txcollections/migrations/0002_release_06_07.py

+
+from south.db import db
+from django.db import models
+from txcollections.models import *
+from tagging.fields import *
+
+class Migration:
+    
+    def forwards(self, orm):
+        
+        # Changing field 'Collection.slug'
+        db.alter_column('txcollections_collection', 'slug', models.SlugField(_('Slug'), unique=True, max_length=30))
+        
+    
+    def backwards(self, orm):
+        
+        # Changing field 'Collection.slug'
+        db.alter_column('txcollections_collection', 'slug', models.SlugField(_('Slug'), max_length=30))
+        
+    
+    
+    models = {
+        'txcollections.collectionrelease': {
+            'Meta': {'unique_together': "[['slug'],['collection']]", 'db_table': "'collections_release'"},
+            'collection': ('models.ForeignKey', ['Collection'], {'related_name': "'releases'"}),
+            'created': ('models.DateTimeField', [], {'auto_now_add': 'True', 'editable': 'False'}),
+            'description': ('models.CharField', ["_('Description')"], {'max_length': '255', 'blank': 'True'}),
+            'develfreeze_date': ('models.DateTimeField', ["_('Devel freeze date')"], {'null': 'True', 'blank': 'True'}),
+            'enabled': ('models.BooleanField', ["_('Enabled')"], {'default': 'True', 'editable': 'False'}),
+            'hidden': ('models.BooleanField', ["_('Hidden')"], {'default': 'False', 'editable': 'False'}),
+            'homepage': ('models.URLField', [], {'verify_exists': 'False', 'blank': 'True'}),
+            'id': ('models.AutoField', [], {'primary_key': 'True'}),
+            'long_description': ('models.TextField', ["_('Long description')"], {'max_length': '1000', 'blank': 'True'}),
+            'long_description_html': ('models.TextField', ["_('HTML Description')"], {'max_length': '1000', 'editable': 'False', 'blank': 'True'}),
+            'modified': ('models.DateTimeField', [], {'auto_now': 'True', 'editable': 'False'}),
+            'name': ('models.CharField', ["_('Name')"], {'max_length': '50'}),
+            'release_date': ('models.DateTimeField', ["_('Release date')"], {'null': 'True', 'blank': 'True'}),
+            'slug': ('models.SlugField', ["_('Slug')"], {'max_length': '30'}),
+            'stringfreeze_date': ('models.DateTimeField', ["_('String freeze date')"], {'null': 'True', 'blank': 'True'})
+        },
+        'txcollections.collection': {
+            'Meta': {'ordering': "('name',)", 'db_table': "'txcollections_collection'", 'get_latest_by': "'created'"},
+            'created': ('models.DateTimeField', [], {'auto_now_add': 'True', 'editable': 'False'}),
+            'description': ('models.CharField', ["_('Description')"], {'max_length': '255', 'blank': 'True'}),
+            'enabled': ('models.BooleanField', ["_('Enabled')"], {'default': 'True', 'editable': 'False'}),
+            'hidden': ('models.BooleanField', ["_('Hidden')"], {'default': 'False', 'editable': 'False'}),
+            'homepage': ('models.URLField', ["_('Homepage')"], {'verify_exists': 'False', 'blank': 'True'}),
+            'id': ('models.AutoField', [], {'primary_key': 'True'}),
+            'long_description': ('models.TextField', ["_('Long description')"], {'max_length': '1000', 'blank': 'True'}),
+            'long_description_html': ('models.TextField', ["_('HTML Description')"], {'max_length': '1000', 'editable': 'False', 'blank': 'True'}),
+            'modified': ('models.DateTimeField', [], {'auto_now': 'True', 'editable': 'False'}),
+            'name': ('models.CharField', ["_('Name')"], {'max_length': '50'}),
+            'slug': ('models.SlugField', ["_('Slug')"], {'unique': 'True', 'max_length': '30'}),
+            'tags': ('TagField', [], {})
+        }
+    }
+    
+    complete_apps = ['txcollections']

File transifex/txcollections/migrations/0003_collrem.py

+
+from south.db import db
+from django.db import models
+from txcollections.models import *
+
+class Migration:
+    
+    def forwards(self, orm):
+        
+        # Deleting model 'collectionrelease'
+        db.delete_table('collections_release')
+        
+        # Deleting model 'collection'
+        db.delete_table('txcollections_collection')
+        
+    
+    
+    def backwards(self, orm):
+        
+        # Adding model 'collectionrelease'
+        db.create_table('collections_release', (
+            ('slug', orm['txcollections.collection:slug']),
+            ('description', orm['txcollections.collection:description']),
+            ('created', orm['txcollections.collection:created']),
+            ('long_description_html', orm['txcollections.collection:long_description_html']),
+            ('enabled', orm['txcollections.collection:enabled']),
+            ('modified', orm['txcollections.collection:modified']),
+            ('collection', orm['txcollections.collection:collection']),
+            ('long_description', orm['txcollections.collection:long_description']),
+            ('release_date', orm['txcollections.collection:release_date']),
+            ('stringfreeze_date', orm['txcollections.collection:stringfreeze_date']),
+            ('hidden', orm['txcollections.collection:hidden']),
+            ('homepage', orm['txcollections.collection:homepage']),
+            ('id', orm['txcollections.collection:id']),
+            ('develfreeze_date', orm['txcollections.collection:develfreeze_date']),
+            ('name', orm['txcollections.collection:name']),
+        ))
+        db.send_create_signal('txcollections', ['collectionrelease'])
+        
+        # Adding model 'collection'
+        db.create_table('txcollections_collection', (
+            ('description', orm['txcollections.collection:description']),
+            ('tags', orm['txcollections.collection:tags']),
+            ('id', orm['txcollections.collection:id']),
+            ('slug', orm['txcollections.collection:slug']),
+            ('name', orm['txcollections.collection:name']),
+            ('created', orm['txcollections.collection:created']),
+            ('long_description_html', orm['txcollections.collection:long_description_html']),
+            ('enabled', orm['txcollections.collection:enabled']),
+            ('modified', orm['txcollections.collection:modified']),
+            ('long_description', orm['txcollections.collection:long_description']),
+            ('hidden', orm['txcollections.collection:hidden']),
+            ('homepage', orm['txcollections.collection:homepage']),
+        ))
+        db.send_create_signal('txcollections', ['collection'])
+        
+    
+    
+    models = {
+        
+    }
+    
+    complete_apps = ['txcollections']

File transifex/txcollections/models.py

+from django.db import models
+

File transifex/txcommon/migrations/txcoll_0001_initial.py

-
-from south.db import db
-from django.db import models
-from tagging.fields import TagField
-
-class Migration:
-    
-    def forwards(self, orm):
-        
-        # Adding model 'CollectionRelease'
-        db.create_table('collections_release', (
-            ('slug', models.SlugField(_('Slug'), max_length=30)),
-            ('description', models.CharField(_('Description'), max_length=255, blank=True)),
-            ('created', models.DateTimeField(auto_now_add=True, editable=False)),
-            ('release_date', models.DateTimeField(_('Release date'), null=True, blank=True)),
-            ('enabled', models.BooleanField(_('Enabled'), default=True, editable=False)),
-            ('modified', models.DateTimeField(auto_now=True, editable=False)),
-            ('collection', models.ForeignKey(orm.Collection, related_name='releases')),
-            ('id', models.AutoField(primary_key=True)),
-            ('stringfreeze_date', models.DateTimeField(_('String freese date'), null=True, blank=True)),
-            ('long_description_html', models.TextField(_('HTML Description'), max_length=1000, editable=False, blank=True)),
-            ('hidden', models.BooleanField(_('Hidden'), default=False, editable=False)),
-            ('homepage', models.URLField(verify_exists=False, blank=True)),
-            ('long_description', models.TextField(_('Long description'), max_length=1000, blank=True)),
-            ('develfreeze_date', models.DateTimeField(_('Devel freeze date'), null=True, blank=True)),
-            ('name', models.CharField(_('Name'), max_length=50)),
-        ))
-        db.send_create_signal('txcollections', ['CollectionRelease'])
-        
-        # Adding model 'Collection'
-        db.create_table('txcollections_collection', (
-            ('slug', models.SlugField(_('Slug'), max_length=30)),
-            ('description', models.CharField(_('Description'), max_length=255, blank=True)),
-            ('created', models.DateTimeField(auto_now_add=True, editable=False)),
-            ('long_description_html', models.TextField(_('HTML Description'), max_length=1000, editable=False, blank=True)),
-            ('tags', TagField()),
-            ('enabled', models.BooleanField(_('Enabled'), default=True, editable=False)),
-            ('modified', models.DateTimeField(auto_now=True, editable=False)),
-            ('id', models.AutoField(primary_key=True)),
-            ('hidden', models.BooleanField(_('Hidden'), default=False, editable=False)),
-            ('homepage', models.URLField(_('Homepage'), verify_exists=False, blank=True)),
-            ('long_description', models.TextField(_('Long description'), max_length=1000, blank=True)),
-            ('name', models.CharField(_('Name'), max_length=50)),
-        ))
-        db.send_create_signal('txcollections', ['Collection'])
-        
-        # Creating unique_together for [slug, collection] on CollectionRelease.
-        db.create_unique('collections_release', ['slug', 'collection_id'])
-        
-    
-    
-    def backwards(self, orm):
-        
-        # Deleting model 'CollectionRelease'
-        db.delete_table('collections_release')
-        
-        # Deleting model 'Collection'
-        db.delete_table('txcollections_collection')
-        
-        # Deleting unique_together for [slug, collection] on CollectionRelease.
-        db.delete_unique('collections_release', ['slug', 'collection_id'])
-        
-    
-    
-    models = {
-        'txcollections.collectionrelease': {
-            'Meta': {'unique_together': "['slug','collection']", 'db_table': "'collections_release'"},
-            'collection': ('models.ForeignKey', ['Collection'], {'related_name': "'releases'"}),
-            'created': ('models.DateTimeField', [], {'auto_now_add': 'True', 'editable': 'False'}),
-            'description': ('models.CharField', ["_('Description')"], {'max_length': '255', 'blank': 'True'}),
-            'develfreeze_date': ('models.DateTimeField', ["_('Devel freeze date')"], {'null': 'True', 'blank': 'True'}),
-            'enabled': ('models.BooleanField', ["_('Enabled')"], {'default': 'True', 'editable': 'False'}),
-            'hidden': ('models.BooleanField', ["_('Hidden')"], {'default': 'False', 'editable': 'False'}),
-            'homepage': ('models.URLField', [], {'verify_exists': 'False', 'blank': 'True'}),
-            'id': ('models.AutoField', [], {'primary_key': 'True'}),
-            'long_description': ('models.TextField', ["_('Long description')"], {'max_length': '1000', 'blank': 'True'}),
-            'long_description_html': ('models.TextField', ["_('HTML Description')"], {'max_length': '1000', 'editable': 'False', 'blank': 'True'}),
-            'modified': ('models.DateTimeField', [], {'auto_now': 'True', 'editable': 'False'}),
-            'name': ('models.CharField', ["_('Name')"], {'max_length': '50'}),
-            'release_date': ('models.DateTimeField', ["_('Release date')"], {'null': 'True', 'blank': 'True'}),
-            'slug': ('models.SlugField', ["_('Slug')"], {'max_length': '30'}),
-            'stringfreeze_date': ('models.DateTimeField', ["_('String freese date')"], {'null': 'True', 'blank': 'True'})
-        },
-        'txcollections.collection': {
-            'Meta': {'ordering': "('name',)", 'db_table': "'txcollections_collection'", 'get_latest_by': "'created'"},
-            'created': ('models.DateTimeField', [], {'auto_now_add': 'True', 'editable': 'False'}),
-            'description': ('models.CharField', ["_('Description')"], {'max_length': '255', 'blank': 'True'}),
-            'enabled': ('models.BooleanField', ["_('Enabled')"], {'default': 'True', 'editable': 'False'}),
-            'hidden': ('models.BooleanField', ["_('Hidden')"], {'default': 'False', 'editable': 'False'}),
-            'homepage': ('models.URLField', ["_('Homepage')"], {'verify_exists': 'False', 'blank': 'True'}),
-            'id': ('models.AutoField', [], {'primary_key': 'True'}),
-            'long_description': ('models.TextField', ["_('Long description')"], {'max_length': '1000', 'blank': 'True'}),
-            'long_description_html': ('models.TextField', ["_('HTML Description')"], {'max_length': '1000', 'editable': 'False', 'blank': 'True'}),
-            'modified': ('models.DateTimeField', [], {'auto_now': 'True', 'editable': 'False'}),
-            'name': ('models.CharField', ["_('Name')"], {'max_length': '50'}),
-            'slug': ('models.SlugField', ["_('Slug')"], {'max_length': '30'}),
-            'tags': ('TagField', [], {})
-        }
-    }
-    
-    complete_apps = ['txcollections']

File transifex/txcommon/migrations/txcoll_0002_release_06_07.py

-
-from south.db import db
-from django.db import models
-from tagging.fields import TagField
-
-class Migration:
-    
-    def forwards(self, orm):
-        
-        # Changing field 'Collection.slug'
-        db.alter_column('txcollections_collection', 'slug', models.SlugField(_('Slug'), unique=True, max_length=30))
-        
-    
-    def backwards(self, orm):
-        
-        # Changing field 'Collection.slug'
-        db.alter_column('txcollections_collection', 'slug', models.SlugField(_('Slug'), max_length=30))
-        
-    
-    
-    models = {
-        'txcollections.collectionrelease': {
-            'Meta': {'unique_together': "['slug','collection']", 'db_table': "'collections_release'"},
-            'collection': ('models.ForeignKey', ['Collection'], {'related_name': "'releases'"}),
-            'created': ('models.DateTimeField', [], {'auto_now_add': 'True', 'editable': 'False'}),
-            'description': ('models.CharField', ["_('Description')"], {'max_length': '255', 'blank': 'True'}),
-            'develfreeze_date': ('models.DateTimeField', ["_('Devel freeze date')"], {'null': 'True', 'blank': 'True'}),
-            'enabled': ('models.BooleanField', ["_('Enabled')"], {'default': 'True', 'editable': 'False'}),
-            'hidden': ('models.BooleanField', ["_('Hidden')"], {'default': 'False', 'editable': 'False'}),
-            'homepage': ('models.URLField', [], {'verify_exists': 'False', 'blank': 'True'}),
-            'id': ('models.AutoField', [], {'primary_key': 'True'}),
-            'long_description': ('models.TextField', ["_('Long description')"], {'max_length': '1000', 'blank': 'True'}),
-            'long_description_html': ('models.TextField', ["_('HTML Description')"], {'max_length': '1000', 'editable': 'False', 'blank': 'True'}),
-            'modified': ('models.DateTimeField', [], {'auto_now': 'True', 'editable': 'False'}),
-            'name': ('models.CharField', ["_('Name')"], {'max_length': '50'}),
-            'release_date': ('models.DateTimeField', ["_('Release date')"], {'null': 'True', 'blank': 'True'}),
-            'slug': ('models.SlugField', ["_('Slug')"], {'max_length': '30'}),
-            'stringfreeze_date': ('models.DateTimeField', ["_('String freeze date')"], {'null': 'True', 'blank': 'True'})
-        },
-        'txcollections.collection': {
-            'Meta': {'ordering': "('name',)", 'db_table': "'txcollections_collection'", 'get_latest_by': "'created'"},
-            'created': ('models.DateTimeField', [], {'auto_now_add': 'True', 'editable': 'False'}),
-            'description': ('models.CharField', ["_('Description')"], {'max_length': '255', 'blank': 'True'}),
-            'enabled': ('models.BooleanField', ["_('Enabled')"], {'default': 'True', 'editable': 'False'}),
-            'hidden': ('models.BooleanField', ["_('Hidden')"], {'default': 'False', 'editable': 'False'}),
-            'homepage': ('models.URLField', ["_('Homepage')"], {'verify_exists': 'False', 'blank': 'True'}),
-            'id': ('models.AutoField', [], {'primary_key': 'True'}),
-            'long_description': ('models.TextField', ["_('Long description')"], {'max_length': '1000', 'blank': 'True'}),
-            'long_description_html': ('models.TextField', ["_('HTML Description')"], {'max_length': '1000', 'editable': 'False', 'blank': 'True'}),
-            'modified': ('models.DateTimeField', [], {'auto_now': 'True', 'editable': 'False'}),
-            'name': ('models.CharField', ["_('Name')"], {'max_length': '50'}),
-            'slug': ('models.SlugField', ["_('Slug')"], {'unique': 'True', 'max_length': '30'}),
-            'tags': ('TagField', [], {})
-        }
-    }
-    
-    complete_apps = ['txcollections']

File transifex/txcommon/migrations/txcoll_0003_nuke_collections.py

-
-from south.db import db
-from django.db import models
-
-class Migration:
-    
-    def forwards(self, orm):
-        
-        # Deleting model 'collectionrelease'
-        db.delete_table('collections_release')
-        
-        # Deleting model 'collection'
-        db.delete_table('txcollections_collection')
-        
-    
-    
-    def backwards(self, orm):
-        
-        # Adding model 'collectionrelease'
-        db.create_table('collections_release', (
-            ('slug', orm['txcollections.collection:slug']),
-            ('description', orm['txcollections.collection:description']),
-            ('created', orm['txcollections.collection:created']),
-            ('long_description_html', orm['txcollections.collection:long_description_html']),
-            ('enabled', orm['txcollections.collection:enabled']),
-            ('modified', orm['txcollections.collection:modified']),
-            ('collection', orm['txcollections.collection:collection']),
-            ('long_description', orm['txcollections.collection:long_description']),
-            ('release_date', orm['txcollections.collection:release_date']),
-            ('stringfreeze_date', orm['txcollections.collection:stringfreeze_date']),
-            ('hidden', orm['txcollections.collection:hidden']),
-            ('homepage', orm['txcollections.collection:homepage']),
-            ('id', orm['txcollections.collection:id']),
-            ('develfreeze_date', orm['txcollections.collection:develfreeze_date']),
-            ('name', orm['txcollections.collection:name']),
-        ))
-        db.send_create_signal('txcollections', ['collectionrelease'])
-        
-        # Adding model 'collection'
-        db.create_table('txcollections_collection', (
-            ('description', orm['txcollections.collection:description']),
-            ('tags', orm['txcollections.collection:tags']),
-            ('id', orm['txcollections.collection:id']),
-            ('slug', orm['txcollections.collection:slug']),
-            ('name', orm['txcollections.collection:name']),
-            ('created', orm['txcollections.collection:created']),
-            ('long_description_html', orm['txcollections.collection:long_description_html']),
-            ('enabled', orm['txcollections.collection:enabled']),
-            ('modified', orm['txcollections.collection:modified']),
-            ('long_description', orm['txcollections.collection:long_description']),
-            ('hidden', orm['txcollections.collection:hidden']),
-            ('homepage', orm['txcollections.collection:homepage']),
-        ))
-        db.send_create_signal('txcollections', ['collection'])
-        
-    
-    
-    models = {
-        
-    }
-    
-    complete_apps = ['txcollections']