vercel / vercel/examples

bug in python django example in vercel_appl.settings.py

Open
#576 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.2k
Forks
1.8k
Avg merge
3d 12h
Merged PRs (30d)
6

Description

Line 72 should be:

WSGI_APPLICATION = 'vercel_app.wsgi.app'

NOT:

WSGI_APPLICATION = 'vercel_app.wsgi.application'

If you do not change, you cannot run manage.py runserver locally. It will crash saying it can't load the module.

The example deploys fine. It just doesn't run locally.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open vercel_appl.settings.py and inspect line 72, then run manage.py runserver locally to reproduce the module-loading failure. Verify the WSGI target against the example's wsgi module; done means the Django example starts locally without the reported crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.