title: why am I getting a 500 response?
body: <p>I'm including below snippets from all the files.  I'm simply doing an import on all in all the various files for the models/serializers/views/etc.  I have other views based off of model serializers and they work fine but this one seems to be causing me grief and I don't know why.</p>
  
  <p>My urls.py - </p>
  
  <pre><code>url(r'^deploy/resource/$', DeployResourceFilterView.as_view(), name='DeployResourceFilterView'),
  </code></pre>
  
  <p>views.py</p>
  
  <pre><code>class DeployResourceFilterView(generics.ListAPIView):
      serializer_class = ResourceSerializer
  
      def get_queryset(self):
          resname = self.request.GET.get('name')
          queryset = Resmst.objects.db_manager('Admiral').filter(resmst_name=resname)
          if queryset:
              return queryset
          else:
              raise Http404
  </code></pre>
  
  <p>serializers.py</p>
  
  <pre><code>class ResourceSerializer(serializers.ModelSerializer):
  
      class Meta:
          model = Resmst
          resource_name = 'resmst'
          depth = 1
  </code></pre>
  
  <p>models.py</p>
  
  <pre><code>class Resmst(models.Model):
      resmst_id = models.IntegerField(primary_key=True, db_column='resmst_id')
      resmst_name = models.CharField(max_length=30, blank=True)
      resmst_desc = models.TextField(blank=True)
      resmst_limit = models.IntegerField(blank=True, null=True)
      resmst_inuse = models.IntegerField(blank=True, null=True)
      resmst_active = models.CharField(max_length=1, blank=True)
      resmst_lstchgtm = models.DateTimeField(blank=True, null=True)
      resmst_prntid = models.IntegerField(blank=True, null=True)
      resmst_owner = models.ForeignKey(Owner, db_column='owner_id', verbose_name='owner')
      resmst_public = models.CharField(max_length=1, blank=True)
      resmst_locked = models.IntegerField(blank=True, null=True)
      resmst_offline = models.IntegerField(blank=True, null=True)
      class Meta:
          managed = False
          db_table = 'resmst'
  </code></pre>
  
  <p>I'm trying to hit <code>http://localhost:9001/deploy/resource/?name=thisisthename</code></p>
  
  <p>Something is being overlooked but I can't find what it could be.</p>