diff options
author | Andrew Godwin | 2022-11-16 21:42:25 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-16 21:42:25 -0700 |
commit | 5b34ea46c3f458a174c5443714ade43c21defdac (patch) | |
tree | e41dda2218cee559268f99a802210f7507f47b02 /users/models | |
parent | 9d97fc92d82289301896c88f8c828321aa99701d (diff) | |
download | takahe-5b34ea46c3f458a174c5443714ade43c21defdac.tar.gz takahe-5b34ea46c3f458a174c5443714ade43c21defdac.tar.bz2 takahe-5b34ea46c3f458a174c5443714ade43c21defdac.zip |
Call it admin rather than system settings
Diffstat (limited to 'users/models')
-rw-r--r-- | users/models/domain.py | 8 | ||||
-rw-r--r-- | users/models/user.py | 1 |
2 files changed, 5 insertions, 4 deletions
diff --git a/users/models/domain.py b/users/models/domain.py index af0bbab..4743503 100644 --- a/users/models/domain.py +++ b/users/models/domain.py @@ -49,10 +49,10 @@ class Domain(models.Model): updated = models.DateTimeField(auto_now=True) class urls(urlman.Urls): - root = "/settings/system/domains/" - create = "/settings/system/domains/create/" - edit = "/settings/system/domains/{self.domain}/" - delete = "/settings/system/domains/{self.domain}/delete/" + root = "/admin/domains/" + create = "/admin/domains/create/" + edit = "/admin/domains/{self.domain}/" + delete = "/admin/domains/{self.domain}/delete/" @classmethod def get_remote_domain(cls, domain: str) -> "Domain": diff --git a/users/models/user.py b/users/models/user.py index 6435bf5..08a703e 100644 --- a/users/models/user.py +++ b/users/models/user.py @@ -38,6 +38,7 @@ class User(AbstractBaseUser): created = models.DateTimeField(auto_now_add=True) updated = models.DateTimeField(auto_now=True) + last_seen = models.DateTimeField(auto_now_add=True) USERNAME_FIELD = "email" EMAIL_FIELD = "email" |