DrkSephy / DrkSephy/django-tutorial
Profile.html isn't added to views
- Dominant language
- Python
- Stars
- 70
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Description
Thanks for taking the time to write this tutorial! We created the template, then this:
> With this new template in hand, let’s reload our profile page:
But we never told the view to render the new template. I got it working by replacing `return HttpResponse(parsedData)` with `return render(request, 'app/profile.html', {'data': parsedData})` but if this was my very first tutorial I wouldn't know where to begin to try and figure it out.
On that same note it would be cool if you could explain the view further (like why we have a parsedData and userData with [], {})
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.