title: Exception: render() missing 1 required positional argument: 'template_name'. Why am i getting this exception? haven't came across this before
body: <pre><code>def index(request):
      if request.method == 'POST':
          State_name = request.POST.get('statename', '')
          state = states(State_name=State_name)
          state.save()
  </code></pre>
  
  <blockquote>
    <p>The exception is located in the render.
    <strong>render() missing 1 required positional argument: 'template_name'</strong></p>
  </blockquote>
  
  <pre><code>        return render('report/states.html')
  </code></pre>