Skip to content

Commit

Permalink
Merge pull request #4568 from ttys0dev/update-django
Browse files Browse the repository at this point in the history
Update Django to 5.1.2 and update dependencies
  • Loading branch information
albertisfu authored Oct 14, 2024
2 parents 8112b26 + 96a8479 commit c1bfbd9
Show file tree
Hide file tree
Showing 3 changed files with 696 additions and 571 deletions.
4 changes: 3 additions & 1 deletion cl/opinion_page/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -975,7 +975,9 @@ async def throw_404(request: HttpRequest, context: Dict) -> HttpResponse:
)


async def get_prev_next_volumes(reporter: str, volume: str) -> tuple[int, int]:
async def get_prev_next_volumes(
reporter: str, volume: str
) -> tuple[int | None, int | None]:
"""Get the volume before and after the current one.
:param reporter: The reporter where the volume is found
Expand Down
Loading

0 comments on commit c1bfbd9

Please sign in to comment.