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.
This commit is contained in:
Magnus Hagander
2011-12-18 16:55:39 +01:00
parent b68e68fecf
commit 1f78460779
7 changed files with 263 additions and 2 deletions

View File

@ -1,3 +1,9 @@
from django.db import models
# Create your models here.
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