Hi Mike,

On 01/11/2019 09.14, Mike Starr wrote:
Hi! There's a lot of error message to copy and paste so please request what you would like to see specifically. I am at https://docs.djangoproject.com/en/2.2/intro/tutorial04/#use-generic-views-less-code-is-betterĀ in the Django tutorial and it seems replacing HTTPRequests with GenericViews broke the web server. I followed the instructions and now have this:

Have you tried doing as the error message suggests:


IndexView is missing a QuerySet. Define IndexView.model, IndexView.queryset, or 
override IndexView.get_queryset().


?

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f49b74ab-3b63-ebdc-edbf-990a07ef37c4%40stacktrace.dk.

Reply via email to