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:
parent
ca5f2d41ba
commit
7f01d9a277
|
@ -33,9 +33,6 @@ INSTALLED_APPS = [
|
||||||
"django.contrib.messages",
|
"django.contrib.messages",
|
||||||
"django.contrib.staticfiles",
|
"django.contrib.staticfiles",
|
||||||
"django.contrib.sites",
|
"django.contrib.sites",
|
||||||
"users",
|
|
||||||
"accounting",
|
|
||||||
"membership",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
||||||
|
@ -100,8 +97,6 @@ AUTH_PASSWORD_VALIDATORS = [
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
AUTH_USER_MODEL = "users.User"
|
|
||||||
|
|
||||||
|
|
||||||
# Internationalization
|
# Internationalization
|
||||||
# https://docs.djangoproject.com/en/2.0/topics/i18n/
|
# https://docs.djangoproject.com/en/2.0/topics/i18n/
|
||||||
|
|
|
@ -13,11 +13,11 @@
|
||||||
</h1>
|
</h1>
|
||||||
<ul>
|
<ul>
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<li><a href="{% url 'users:password_change' %}">Change password</a></li>
|
<li><a href="">Change password</a></li>
|
||||||
<li><a href="{% url 'users:logout' %}">Sign out</a></li>
|
<li><a href="">Sign out</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{% url 'users:login' %}">Sign in</a></li>
|
<li><a href="">Sign in</a></li>
|
||||||
<li><a href="{% url 'users:signup' %}">Sign up</a></li>
|
<li><a href="">Sign up</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -1,12 +1,10 @@
|
||||||
"""URLs for the membersystem"""
|
"""URLs for the membersystem"""
|
||||||
from django.contrib import admin
|
from django.contrib import admin
|
||||||
from django.urls import include
|
|
||||||
from django.urls import path
|
from django.urls import path
|
||||||
|
|
||||||
from . import views
|
from . import views
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path("", views.index),
|
path("", views.index),
|
||||||
path("users/", include("users.urls")),
|
|
||||||
path("admin/", admin.site.urls),
|
path("admin/", admin.site.urls),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue