Decomposed models.py into models/ with individual files per topic. Added new admin views, consolidated/reverted views back to Generics, adjusted modeling of Site<->DeploymentNetwork to remove SiteDeploymentNetwork object
diff --git a/plstackapi/core/models/key.py b/plstackapi/core/models/key.py
new file mode 100644
index 0000000..d0a0a07
--- /dev/null
+++ b/plstackapi/core/models/key.py
@@ -0,0 +1,15 @@
+import os
+from django.db import models
+from plstackapi.core.models import PlCoreBase
+from plstackapi.core.models import User
+
+# Create your models here.
+
+class Key(PlCoreBase):
+ name = models.CharField(max_length=256, unique=True)
+ key = models.CharField(max_length=512)
+ type = models.CharField(max_length=256)
+ blacklisted = models.BooleanField(default=False)
+ user = models.ForeignKey(User, related_name='keys')
+
+ def __unicode__(self): return u'%s' % (self.name)