I can't fix this error

Idk how to fix this issue. Any ideas?

strong textImproperlyConfigured

If you want to have the best chances of getting a useful answer quickly, make sure you follow our guidelines about how to ask a good question. That way you’ll be helping everyone – helping people to answer your question and helping others who are stuck to find the question and answer! :slight_smile:

1 Like


From what it looks like it could be an indentation error. That get function is the QuerySet your error is probably talking about and it looks like it belongs in class TopListView.

You should also paste the text next time if you can :slight_smile:, though the screenshot is helpful.

class TopListView(ListView):
   #some code
   def get_queryset(self):
       #query code