Files
postgres-web/pgweb/account/models.py
Magnus Hagander 1f78460779 Implement community authentication 2.0
This system relies on http redirects and signing in to the main website
instead of using cross-internet pgsql connections and signing in individually
to each website.
2011-12-22 19:25:32 +01:00

10 lines
321 B
Python

from django.db import models
class CommunityAuthSite(models.Model):
name = models.CharField(max_length=100, null=False, blank=False)
redirecturl = models.URLField(max_length=200, null=False, blank=False)
cryptkey = models.CharField(max_length=100, null=False, blank=False)
def __unicode__(self):
return self.name