Rip out existing custom apps

And move the to "parked_apps" directory, until we've decided what we
want to do with them.
This commit is contained in:
Mikkel Munch Mortensen 2021-02-09 22:00:55 +01:00
parent ca5f2d41ba
commit 7f01d9a277
Signed by: decibyte
GPG key ID: 261C257C74AA764B
36 changed files with 4 additions and 11 deletions

View file

@ -33,9 +33,6 @@ INSTALLED_APPS = [
"django.contrib.messages",
"django.contrib.staticfiles",
"django.contrib.sites",
"users",
"accounting",
"membership",
]
MIDDLEWARE = [
@ -100,8 +97,6 @@ AUTH_PASSWORD_VALIDATORS = [
},
]
AUTH_USER_MODEL = "users.User"
# Internationalization
# https://docs.djangoproject.com/en/2.0/topics/i18n/

View file

@ -13,11 +13,11 @@
</h1>
<ul>
{% if user.is_authenticated %}
<li><a href="{% url 'users:password_change' %}">Change password</a></li>
<li><a href="{% url 'users:logout' %}">Sign out</a></li>
<li><a href="">Change password</a></li>
<li><a href="">Sign out</a></li>
{% else %}
<li><a href="{% url 'users:login' %}">Sign in</a></li>
<li><a href="{% url 'users:signup' %}">Sign up</a></li>
<li><a href="">Sign in</a></li>
<li><a href="">Sign up</a></li>
{% endif %}
</ul>
</header>

View file

@ -1,12 +1,10 @@
"""URLs for the membersystem"""
from django.contrib import admin
from django.urls import include
from django.urls import path
from . import views
urlpatterns = [
path("", views.index),
path("users/", include("users.urls")),
path("admin/", admin.site.urls),
]