[tasks] Add oauth flow for Todoist
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
from datetime import timedelta
|
||||
|
||||
import pytz
|
||||
from django.utils import timezone
|
||||
from django.contrib.auth import get_user_model
|
||||
from django.db import models
|
||||
from django_extensions.db.models import TimeStampedModel
|
||||
@ -32,6 +31,9 @@ class UserProfile(TimeStampedModel):
|
||||
|
||||
bgg_username = models.CharField(max_length=255, **BNULL)
|
||||
|
||||
todoist_auth_key = EncryptedField(**BNULL)
|
||||
todoist_state = EncryptedField(**BNULL)
|
||||
|
||||
redirect_to_webpage = models.BooleanField(default=True)
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Reference in New Issue
Block a user