adding middleware and use in readthrough template

This commit is contained in:
Pablo Barton
2021-03-29 08:20:35 -04:00
parent 224c7e4f0e
commit 765e6b542f
4 changed files with 21 additions and 3 deletions

View File

@ -7,7 +7,6 @@ from dateutil.parser import ParserError
from django.contrib.auth.decorators import login_required
from django.http import HttpResponseBadRequest, HttpResponseNotFound
from django.shortcuts import get_object_or_404, redirect
from django.utils import timezone
from django.views.decorators.http import require_POST
from bookwyrm import models