mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-28 19:10:35 +00:00
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 %}
|
{% csrf_token %}
|
||||||
<label class="label" for="id_name">{% trans "Name:" %}</label>
|
<label class="label" for="id_name">{% trans "Name:" %}</label>
|
||||||
<div class="control">
|
<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>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
|
@ -96,6 +96,11 @@ urlpatterns = [
|
||||||
re_path(
|
re_path(
|
||||||
r"^settings/users/?$", views.UserAdminList.as_view(), name="settings-users"
|
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(
|
re_path(
|
||||||
r"^settings/federation/(?P<status>(federated|blocked))?/?$",
|
r"^settings/federation/(?P<status>(federated|blocked))?/?$",
|
||||||
views.Federation.as_view(),
|
views.Federation.as_view(),
|
||||||
|
|
Loading…
Reference in a new issue