title: Django - Signature of method does not match signature of base method in class
body: <p>I am learning Django and I am following a lynda.com course.
  In one of there courses "building an elearning site", the have the following code:</p>
  
  <pre><code>class CourseModuleUpdateView(TemplateResponseMixin, View):
      template_name = 'courses/manage/module/formset.html'
      course = None
  
      def get_formset(self, data=None):
          return ModuleFormSet(instance=self.course,
                               data=data)
  
      def dispatch(self, request, pk):
          self.course = get_object_or_404(Course, id=pk, owner=request.user)
          return super(CourseModuleUpdateView, self).dispatch(request, pk)
  
      def get(self, request, *args, **kwargs):
          formset = self.get_formset()
          return self.render_to_response({'course': self.course,
                                          'formset': formset})
  
      def post(self, request, *args, **kwargs):
          formset = self.get_formset(data=request.POST)
          if formset.is_valid():
              formset.save()
              return redirect('manage_course_list')
          return self.render_to_response({'course': self.course,
                                          'formset': formset})
  </code></pre>
  
  <p>But I am getting an error message from PyCharm (my IDE) on:</p>
  
  <pre><code>def dispatch(self, request, pk):
  </code></pre>
  
  <p>And the error is:</p>
  
  <pre><code>Signature of method 'CourseModuleUpdateView.dispatch()' does not match signature of base method in class 'View' less... (Ctrl+F1) 
  This inspection detects inconsistencies in overriding method signatures.
  </code></pre>
  
  <p>Is there a way for me to troubleshoot the issue and see how to begin fixing the error? What is Pycharm even trying to tell me??</p>
  
  <p>I am using python 3 and DJango 1.11</p>