Skip to content

Fix invalid Python syntax in WSGI entrypoint - #9

Open
venkatranabothu wants to merge 1 commit into
mainfrom
fix/invalid-python-syntax
Open

venkatranabothu wants to merge 1 commit into
mainfrom
fix/invalid-python-syntax

Conversation

@venkatranabothu

Copy link
Copy Markdown
Owner

Summary

  • remove the stray 12 token from the Django WSGI entrypoint
  • restore startup of the application and Gunicorn

Validation

  • python3 -m py_compile app.py sampleproject/api/*.py sampleproject/sampleproject/*.py
  • python3 sampleproject/manage.py check
  • gunicorn --check-config app:application
  • smoke-tested /, /health, /api/users, /api/stats, and /api/echo (all 200)

Fixes the SyntaxError: invalid decimal literal introduced by commit b728be9.

@netlify

netlify Bot commented Sep 4, 2026

Copy link
Copy Markdown

Deploy Preview for sample-python ready!

Name Link
🔨 Latest commit a6b44f8
🔍 Latest deploy log https://app.netlify.com/projects/sample-python/deploys/6a9a8e39785948000849730a
😎 Deploy Preview https://deploy-preview-9--sample-python.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants