Skip to content

fix : import math in main_routes to prevent NameError in explore route pagination - #1486

Open
tmdeveloper007 wants to merge 4 commits into
komalharshita:mainfrom
tmdeveloper007:#1481
Open

fix : import math in main_routes to prevent NameError in explore route pagination#1486
tmdeveloper007 wants to merge 4 commits into
komalharshita:mainfrom
tmdeveloper007:#1481

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Contributor

Summary of What Has Been Done

Added the missing import math statement to src/routes/main_routes.py. The explore route uses math.ceil() for pagination calculations (line 116) but math was never imported, causing a NameError at runtime.

Changes Made

  • 1 file changed, 1 insertion

Impact it Made

  • Explore pagination route now works without NameError
  • Users can browse paginated project listings correctly

Closes #1481

Note

Please assign this PR to the tmdeveloper007 account.

@vercel

vercel Bot commented Aug 4, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix : import math in main_routes to prevent NameError in explore route pagination

1 participant