forked from mirrors/bookwyrm
Fixes urls
This commit is contained in:
parent
d610115a5b
commit
62f481c859
2 changed files with 6 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
{% csrf_token %}
|
||||
<label class="label" for="id_name">{% trans "Name:" %}</label>
|
||||
<div class="control">
|
||||
<input type="text" id="id_name" class="input" name="name" value="{{ domain.name }}">
|
||||
<input type="text" id="id_name" class="input" name="name" value="{{ domain.name }}" required>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -96,6 +96,11 @@ urlpatterns = [
|
|||
re_path(
|
||||
r"^settings/users/?$", views.UserAdminList.as_view(), name="settings-users"
|
||||
),
|
||||
re_path(
|
||||
r"^settings/users/(?P<user>\d+)/?$",
|
||||
views.UserAdmin.as_view(),
|
||||
name="settings-user",
|
||||
),
|
||||
re_path(
|
||||
r"^settings/federation/(?P<status>(federated|blocked))?/?$",
|
||||
views.Federation.as_view(),
|
||||
|
|
Loading…
Reference in a new issue