mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 01:21:07 +00:00
Clean up
This commit is contained in:
parent
c65e165aeb
commit
0f6e567b21
5 changed files with 3 additions and 12 deletions
|
@ -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,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -121,11 +121,8 @@
|
|||
{% endblocktrans %}
|
||||
{% endif %}
|
||||
</span>
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endwith %}
|
||||
|
||||
</h2>
|
||||
{% if books|length > 0 %}
|
||||
{% include 'shelf/search_filters.html' with user=user query=query %}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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"""
|
||||
|
|
|
@ -21,8 +21,6 @@ services:
|
|||
- pgdata:/var/lib/postgresql/data
|
||||
networks:
|
||||
- main
|
||||
ports:
|
||||
- "5432:5432"
|
||||
web:
|
||||
build: .
|
||||
env_file: .env
|
||||
|
|
Loading…
Reference in a new issue