About the Getting Started category

Need help getting started?

For discussing questions about, and encountering problems with:

  • Choosing Django
  • Installation
  • Configuration
  • The Django tutorial

Hello ,i 'd like to be helped to get started with django , i need to make a first page Html ,
but i can’t

After Tutorial 8, Gunicorn was deployed to Ubuntu but failed. The final prompt was that Debugtoolbar and Django versions were incompatible.

Missing:

model = Question

in’

class IndexView(generic.ListView):
    template_name = "polls/index.html"
    context_object_name = "latest_question_list"

    def get_queryset(self):
        """Return the last five published questions."""
        return Question.objects.order_by("-pub_date")[:5]

or it’s just me.