1
0
Fork 0

formatting

This commit is contained in:
Hugh Rundle 2023-09-24 12:31:01 +10:00
parent bab28a8fc9
commit b69031c01a
No known key found for this signature in database
GPG key ID: A7E35779918253F9
2 changed files with 7 additions and 1 deletions

View file

@ -9,6 +9,7 @@ from django.shortcuts import redirect
from django.template.response import TemplateResponse
from django.views import View
from bookwyrm.activitypub import get_representative
from bookwyrm import forms, models
from bookwyrm import settings
from bookwyrm.utils import regex
@ -96,4 +97,5 @@ class CreateAdmin(View):
login(request, user)
site.install_mode = False
site.save()
get_representative() # create the instance user
return redirect("settings-site")