Add instance settings.

Addresses: #58

Currently implemented:

* Instance name
* Instance description
* Code of conduct
* Allow registration

I decided to store this in the database so that settings can be easily
changed at runtime through the web interface. (This web interface does
not exist.)
This commit is contained in:
Adam Kelly
2020-06-01 19:54:08 +01:00
parent 4d6ecafcf4
commit 92a669ffaf
6 changed files with 72 additions and 1 deletions

View File

@ -34,6 +34,7 @@ urlpatterns = [
# ui views
re_path(r'^login/?$', views.login_page),
re_path(r'^about/?$', views.about_page),
path('', views.home),
re_path(r'^(?P<tab>home|local|federated)/?$', views.home_tab),