Lemon sadness
This commit is contained in:
parent
a62bc9b032
commit
bfe90aa69d
52 changed files with 1564 additions and 2492 deletions
|
|
@ -15,7 +15,7 @@ def add_global_context(request: HttpRequest) -> dict[str, str | int]:
|
|||
Returns:
|
||||
A dictionary with the global context.
|
||||
"""
|
||||
from .models import Feed # noqa: PLC0415
|
||||
from feeds.models import Feed # noqa: PLC0415
|
||||
|
||||
amount_of_feeds: int = Feed.objects.count()
|
||||
return {"amount_of_feeds": amount_of_feeds}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue