Commit graph

11 commits

Author SHA1 Message Date
Nico Schottelius
9dc6e02029 Auth: set token as request.auth 2018-11-18 13:05:21 +01:00
Nico Schottelius
26789ff11b Move AUTH code into model of otpauth
To prevent the following exception:

  File "/home/nico/vcs/ungleich-otp/venv/lib/python3.5/site-packages/django/db/models/base.py", line 87, in __new__
    app_config = apps.get_containing_app_config(module)
  File "/home/nico/vcs/ungleich-otp/venv/lib/python3.5/site-packages/django/apps/registry.py", line 249, in get_containing_app_config
    self.check_apps_ready()
  File "/home/nico/vcs/ungleich-otp/venv/lib/python3.5/site-packages/django/apps/registry.py", line 132, in check_apps_ready
    raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
(venv) [12:41] line:ungleichotp%
2018-11-18 12:54:47 +01:00
Nico Schottelius
2fb8c91415 Change OTPSeed to AbstractUser 2018-11-17 23:00:36 +01:00
Nico Schottelius
cdb45bd1f0 Update readme, auth ideas 2018-11-17 21:45:53 +01:00
Nico Schottelius
eb2c57b68a Progressing, docs, queryset, viewset 2018-11-17 11:39:42 +01:00
Nico Schottelius
2054bd16ab Add name to objects using realm+name 2018-11-17 10:14:37 +01:00
Nico Schottelius
420393a437 Update models / create migration 2018-11-17 10:01:24 +01:00
Nico Schottelius
a58886979f Update the model to remove uuid, simplify 2018-11-17 09:42:34 +01:00
Nico Schottelius
4227b1b73c [django] adding model 2018-10-26 21:59:35 +02:00
Nico Schottelius
13c7cdd294 [django] add model 2018-10-26 21:48:21 +02:00
Nico Schottelius
bee76cde49 [django] add otpauth app 2018-10-26 21:08:01 +02:00