summaryrefslogtreecommitdiffstats
path: root/devel/migrations/0002_auto__add_masterkey.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-04-20 17:21:28 +0200
committerDan McGee <dan@archlinux.org>2012-04-20 18:15:03 +0200
commitd21d8be0186413fe1fa5fd6c859786465472ee10 (patch)
tree2309796163078af30b05f340dbe0e816a92f6a84 /devel/migrations/0002_auto__add_masterkey.py
parentc1ccc88d0769afc16363ceb06e5bdcd8605455bf (diff)
downloadarchweb-d21d8be0186413fe1fa5fd6c859786465472ee10.tar.gz
archweb-d21d8be0186413fe1fa5fd6c859786465472ee10.tar.xz
UserProfile model and fields shuffle
Move this model into the devel/ application, and move the PGPKeyField which is used only by these models into the application as well. This involves updating some old migrations along the way to ensure we don't reference a field class that no longer exists. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'devel/migrations/0002_auto__add_masterkey.py')
-rw-r--r--devel/migrations/0002_auto__add_masterkey.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/migrations/0002_auto__add_masterkey.py b/devel/migrations/0002_auto__add_masterkey.py
index ac1f745..ba9a3e5 100644
--- a/devel/migrations/0002_auto__add_masterkey.py
+++ b/devel/migrations/0002_auto__add_masterkey.py
@@ -15,7 +15,7 @@ class Migration(SchemaMigration):
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
('owner', self.gf('django.db.models.fields.related.ForeignKey')(related_name='masterkey_owner', to=orm['auth.User'])),
('revoker', self.gf('django.db.models.fields.related.ForeignKey')(related_name='masterkey_revoker', to=orm['auth.User'])),
- ('pgp_key', self.gf('main.fields.PGPKeyField')(max_length=40)),
+ ('pgp_key', self.gf('devel.fields.PGPKeyField')(max_length=40)),
('created', self.gf('django.db.models.fields.DateTimeField')()),
('revoked', self.gf('django.db.models.fields.DateTimeField')(null=True, blank=True)),
))
@@ -67,7 +67,7 @@ class Migration(SchemaMigration):
'created': ('django.db.models.fields.DateTimeField', [], {}),
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'masterkey_owner'", 'to': "orm['auth.User']"}),
- 'pgp_key': ('main.fields.PGPKeyField', [], {'max_length': '40'}),
+ 'pgp_key': ('devel.fields.PGPKeyField', [], {'max_length': '40'}),
'revoked': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
'revoker': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'masterkey_revoker'", 'to': "orm['auth.User']"})
}