From 6f0a21664ef37128fc619981d1bf2ebadcc185c0 Mon Sep 17 00:00:00 2001 From: John Janus Date: Wed, 10 Apr 2019 18:02:31 +0200 Subject: [PATCH] small changes and test for better nav --- core/admin.py | 3 ++- core/templates/core/stablepart_list.html | 29 ++++++++++++++++++++---- stable/settings.py | 2 +- 3 files changed, 27 insertions(+), 7 deletions(-) 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', - } + } } -- 2.47.0