This was suggested by @dawnwages on microsoft/vscode-docs#6410
Suggestion: In order to include admin.py and createsuperuser I would remove the form.py approach which isn't gone into detail much, and instead:
- create superuser
- check admin
- go to terminal
from hello.models import LogMessage
- check all messages
all_messages = LogMessage.objects.all() and perhaps test methods on query string like .all(), .last(), .create() eg. m = LogMessage.create(field1='result', field2='result') m.save() then check admin again.
.filter() and view on your template.
- bonus points for if we can show off some type of UI in the template to inspect those variables.
This was suggested by @dawnwages on microsoft/vscode-docs#6410