aboutsummaryrefslogtreecommitdiffstats
path: root/client/models.py
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2022-01-04 12:31:37 +0100
committerAndrea Lepori <alepori@student.ethz.ch>2022-01-04 12:32:01 +0100
commitd728e02beeb166d22cdf75a7bc2515bd7d44fec2 (patch)
treeb82e0af2c8beae8b7e607a3e6a3f9f99224b7ea3 /client/models.py
parentsync data from hitobito (diff)
downloadscout-subs-d728e02beeb166d22cdf75a7bc2515bd7d44fec2.tar.gz
scout-subs-d728e02beeb166d22cdf75a7bc2515bd7d44fec2.zip
autoupdate oauth token when expired
Diffstat (limited to 'client/models.py')
-rw-r--r--client/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/models.py b/client/models.py
index b94806b..5f0da0d 100644
--- a/client/models.py
+++ b/client/models.py
@@ -115,6 +115,7 @@ class UserCode(models.Model):
avs_number = models.CharField(default="", max_length=250)
midata_id = models.IntegerField(default=0)
midata_token = models.CharField(default="", max_length=1024)
+ midata_code = models.CharField(default="", max_length=1024)
class GroupSettings(models.Model):
group = models.ForeignKey(Group, default=None, on_delete=models.CASCADE)