title: Why do I get a 404?
body: <p>I am trying to follow this tutorial <a href="https://simpleisbetterthancomplex.com/tutorial/2017/03/13/how-to-create-infinite-scroll-with-django.html" rel="nofollow noreferrer">https://simpleisbetterthancomplex.com/tutorial/2017/03/13/how-to-create-infinite-scroll-with-django.html</a> but for some reason when I try to load the page I get</p>
  
  <p><code>django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 1: 'static'.</code> <code>Did you forget to register or load this tag?</code></p>
  
  <pre><code> "GET / HTTP/1.1" 500 141448``
   "GET / HTTP/1.1" 200 167
   "GET /static/js/jquery-3.1.1.min.js HTTP/1.1" 404 1690
   "GET /static/js/jquery.waypoints.min.js HTTP/1.1" 404 1702
   "GET /static/js/infinite.min.js HTTP/1.1" 404 1678
   "GET /static/js/jquery.waypoints.min.js HTTP/1.1" 404 1702
   "GET /static/js/infinite.min.js HTTP/1.1" 404 1678
  </code></pre>
  
  <p><strong>base.html</strong></p>
  
  <pre><code>{% load static from staticfiles %}
  
  &lt;script src="{% static 'js/jquery-3.1.1.min.js' %}"&gt;&lt;/script&gt;
  &lt;script src="{% static 'js/jquery.waypoints.min.js' %}"&gt;&lt;/script&gt;
  &lt;script src="{% static 'js/infinite.min.js' %}"&gt;&lt;/script&gt;
  </code></pre>
  
  <p><strong>home.html</strong></p>
  
  <pre><code>{% extends 'base.html' %}
  
  {% block content %}
    &lt;div class="infinite-container"&gt;
      {% for number in numbers %}
        &lt;div class="infinite-item"&gt;{{ number }}&lt;/div&gt;
      {% endfor %}
    &lt;/div&gt;
  
    {% if numbers.has_next %}
      &lt;a class="infinite-more-link" href="?page={{ numbers.next_page_number }}"&gt;More&lt;/a&gt;
    {% endif %}
  
    &lt;script&gt;
      var infinite = new Waypoint.Infinite({
        element: $('.infinite-container')[0]
      });
    &lt;/script&gt;
  {% endblock %}
  </code></pre>
  
  <p><strong>views.py</strong></p>
  
  <pre><code>from django.shortcuts import render
  
  from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger
  
  
  def home(request):
      numbers_list = range(1, 1000)
      page = request.GET.get('page', 1)
      paginator = Paginator(numbers_list, 20)
      try:
          numbers = paginator.page(page)
      except PageNotAnInteger:
          numbers = paginator.page(1)
      except EmptyPage:
          numbers = paginator.page(paginator.num_pages)
      return render(request, 'home.html', {'numbers': numbers})
  </code></pre>
  
  <p><strong>settings.py</strong></p>
  
  <pre><code>INSTALLED_APPS = [
      'jquery',
      'feedApp',
      'django.contrib.admin',
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      'django.contrib.messages',
      'django.contrib.staticfiles',
  ]
  </code></pre>
  
  <p>I also installed jQuery by "pip install django-jquery" and also Waypoints by "npm install waypoints"</p>