mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-13 13:12:42 +00:00

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.
10 lines
321 B
Python
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
|