commit
7792ff3450
2 changed files with 8 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
*.egg-info
|
*.egg-info
|
||||||
|
.ropeproject
|
||||||
|
|
|
@ -16,7 +16,8 @@ class Client(models.Model):
|
||||||
name = models.CharField(max_length=100, default='')
|
name = models.CharField(max_length=100, default='')
|
||||||
client_id = models.CharField(max_length=255, unique=True)
|
client_id = models.CharField(max_length=255, unique=True)
|
||||||
client_secret = models.CharField(max_length=255, unique=True)
|
client_secret = models.CharField(max_length=255, unique=True)
|
||||||
response_type = models.CharField(max_length=30, choices=RESPONSE_TYPE_CHOICES)
|
response_type = models.CharField(max_length=30,
|
||||||
|
choices=RESPONSE_TYPE_CHOICES)
|
||||||
|
|
||||||
_redirect_uris = models.TextField(default='')
|
_redirect_uris = models.TextField(default='')
|
||||||
|
|
||||||
|
@ -107,7 +108,7 @@ class UserInfo(models.Model):
|
||||||
address_region = models.CharField(max_length=255, default='')
|
address_region = models.CharField(max_length=255, default='')
|
||||||
address_postal_code = models.CharField(max_length=255, default='')
|
address_postal_code = models.CharField(max_length=255, default='')
|
||||||
address_country = models.CharField(max_length=255, default='')
|
address_country = models.CharField(max_length=255, default='')
|
||||||
updated_at = models.DateTimeField()
|
updated_at = models.DateTimeField(auto_now=True)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
|
|
Loading…
Reference in a new issue