summaryrefslogtreecommitdiffstats
path: root/users/models
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-25 17:52:43 -0700
committerAndrew Godwin2022-11-25 17:52:57 -0700
commit8ca36fd95800907a1c7f3c9efedd0085b8f0ec9b (patch)
treefaf67cf203e54f5907839531112c3d5739fa5082 /users/models
parent2a8cb8f8617d618c8d2777cccd823b28a3edc812 (diff)
downloadtakahe-8ca36fd95800907a1c7f3c9efedd0085b8f0ec9b.tar.gz
takahe-8ca36fd95800907a1c7f3c9efedd0085b8f0ec9b.tar.bz2
takahe-8ca36fd95800907a1c7f3c9efedd0085b8f0ec9b.zip
Add federation admin page
Diffstat (limited to 'users/models')
-rw-r--r--users/models/domain.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/users/models/domain.py b/users/models/domain.py
index 40a3e22..622085d 100644
--- a/users/models/domain.py
+++ b/users/models/domain.py
@@ -56,6 +56,8 @@ class Domain(models.Model):
create = "/admin/domains/create/"
edit = "/admin/domains/{self.domain}/"
delete = "{edit}delete/"
+ root_federation = "/admin/federation/"
+ edit_federation = "/admin/federation/{self.domain}/"
@classmethod
def get_remote_domain(cls, domain: str) -> "Domain":