This commit is contained in:
Ross Chapman 2023-12-05 19:49:38 -08:00
parent c65e165aeb
commit 0f6e567b21
5 changed files with 3 additions and 12 deletions

View file

@ -140,7 +140,7 @@ TEMPLATES = [
},
]
LOG_LEVEL = env("LOG_LEVEL", "DEBUG").upper()
LOG_LEVEL = env("LOG_LEVEL", "INFO").upper()
# Override aspects of the default handler to our taste
# See https://docs.djangoproject.com/en/3.2/topics/logging/#default-logging-configuration
# for a reference to the defaults we're overriding
@ -194,7 +194,7 @@ LOGGING = {
# Add a bookwyrm-specific logger
"bookwyrm": {
"handlers": ["console"],
"level": DEBUG,
"level": LOG_LEVEL,
},
},
}

View file

@ -121,11 +121,8 @@
{% endblocktrans %}
{% endif %}
</span>
{% endif %}
{% endwith %}
</h2>
{% if books|length > 0 %}
{% include 'shelf/search_filters.html' with user=user query=query %}

View file

@ -9,7 +9,7 @@ from django.test import TestCase
from django.test.client import RequestFactory
from bookwyrm import models, views
from bookwyrm.book_search import SearchResult, search
from bookwyrm.book_search import SearchResult
from bookwyrm.settings import DOMAIN
from bookwyrm.tests.validate_html import validate_html

View file

@ -17,10 +17,6 @@ from bookwyrm.settings import PAGE_LENGTH
from bookwyrm.views.helpers import is_api_request, get_user_from_username
from bookwyrm.book_search import search
import logging
logger = logging.getLogger(__name__)
# pylint: disable=no-self-use
class Shelf(View):
"""shelf page"""

View file

@ -21,8 +21,6 @@ services:
- pgdata:/var/lib/postgresql/data
networks:
- main
ports:
- "5432:5432"
web:
build: .
env_file: .env