I've checked out the django example repository and...
# welcome
f
I've checked out the django example repository and I can successfully run all the suggested commands. but when I start the three instances as suggested in the README and open the provided link, I run into:
Copy code
Environment:


Request Method: GET
Request URL: <http://127.0.0.1:8000/?person=sherlock&lang=es>

Django Version: 3.2.16
Python Version: 3.9.6
Installed Applications:
['django.contrib.contenttypes',
 'django.contrib.auth',
 'django.contrib.staticfiles',
 'debug_toolbar',
 'helloworld.ui']
Installed Middleware:
['django.middleware.common.CommonMiddleware',
 'debug_toolbar.middleware.DebugToolbarMiddleware']



Traceback (most recent call last):
  File "/Users/elmcrest/.cache/pants/named_caches/pex_root/venvs/e5857352a9dd568b720e04ad36609b8193fad99c/6eda2f5dd318792e68dabc0a89b55106d8715df5/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/Users/elmcrest/.cache/pants/named_caches/pex_root/venvs/e5857352a9dd568b720e04ad36609b8193fad99c/6eda2f5dd318792e68dabc0a89b55106d8715df5/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/private/var/folders/ll/98hnvg_n5l3by0224q_qybc40000gn/T/pants-sandbox-BlX1K0/./helloworld/ui/views.py", line 28, in index
    name = query_backend(
  File "/private/var/folders/ll/98hnvg_n5l3by0224q_qybc40000gn/T/pants-sandbox-BlX1K0/./helloworld/ui/views.py", line 18, in query_backend
    response.raise_for_status()
  File "/Users/elmcrest/.cache/pants/named_caches/pex_root/venvs/e5857352a9dd568b720e04ad36609b8193fad99c/6eda2f5dd318792e68dabc0a89b55106d8715df5/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)

Exception Type: HTTPError at /
Exception Value: 500 Server Error: Internal Server Error for url: <http://localhost:8010/person/sherlock/>
could someone help me figuring out if that's worth an issue at github?
1
ah, it might be just missing migrations
ok, that solved it.
h
Cool!
If something was unclear in the docs in that repo, feel free to submit a PR clarifying them!