From: John Janus Date: Wed, 10 Apr 2019 16:02:31 +0000 (+0200) Subject: small changes and test for better nav X-Git-Url: https://git.johnzone.org/?a=commitdiff_plain;h=6f0a21664ef37128fc619981d1bf2ebadcc185c0;p=stable.git small changes and test for better nav --- diff --git a/core/admin.py b/core/admin.py index 153f502..1b930ed 100644 --- a/core/admin.py +++ b/core/admin.py @@ -1,5 +1,5 @@ from django.contrib import admin -from core.models import StablePart, Bay, Horse, FodderPlan, Misc +from core.models import StablePart, Bay, Horse, FodderPlan, Misc, IsInBay # Register your models here. admin.site.register(StablePart) @@ -7,3 +7,4 @@ admin.site.register(Bay) admin.site.register(Horse) admin.site.register(FodderPlan) admin.site.register(Misc) +admin.site.register(IsInBay) diff --git a/core/templates/core/stablepart_list.html b/core/templates/core/stablepart_list.html index af24e12..284fa00 100644 --- a/core/templates/core/stablepart_list.html +++ b/core/templates/core/stablepart_list.html @@ -3,12 +3,31 @@ {% block title %}Stable Parts - {{ block.super }}{% endblock %} {% block main %} + {% endblock %} - + \ No newline at end of file diff --git a/stable/settings.py b/stable/settings.py index 5ec8e75..51db7cd 100644 --- a/stable/settings.py +++ b/stable/settings.py @@ -81,7 +81,7 @@ DATABASES = { 'NAME': 'stable', 'USER': 'stable', 'PASSWORD': 'po1Ahf5eph7dogh1', - } + } }