Created
          March 26, 2012 21:02 
        
      - 
      
 - 
        
Save hcarvalhoalves/2209659 to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Internal Server Error: /v1/cinema/ | |
| Traceback (most recent call last): | |
| File "/Users/hcalves/.virtualenvs/claquete/lib/python2.7/site-packages/tastypie/resources.py", line 192, in wrapper | |
| response = callback(request, *args, **kwargs) | |
| File "/Users/hcalves/.virtualenvs/claquete/lib/python2.7/site-packages/tastypie/resources.py", line 397, in dispatch_list | |
| return self.dispatch('list', request, **kwargs) | |
| File "/Users/hcalves/.virtualenvs/claquete/lib/python2.7/site-packages/tastypie/resources.py", line 427, in dispatch | |
| response = method(request, **kwargs) | |
| File "/Users/hcalves/.virtualenvs/claquete/lib/python2.7/site-packages/tastypie/resources.py", line 1029, in get_list | |
| objects = self.obj_get_list(request=request, **self.remove_api_resource_names(kwargs)) | |
| File "/Users/hcalves/.virtualenvs/claquete/lib/python2.7/site-packages/tastypie/resources.py", line 1739, in obj_get_list | |
| base_object_list = self.apply_filters(request, applicable_filters) | |
| File "/Users/hcalves/.virtualenvs/claquete/lib/python2.7/site-packages/tastypie/resources.py", line 1711, in apply_filters | |
| return self.get_object_list(request).filter(**applicable_filters) | |
| File "/Users/hcalves/.virtualenvs/claquete/lib/python2.7/site-packages/tastypie/resources.py", line 1719, in get_object_list | |
| return self._meta.queryset._clone() | |
| AttributeError: 'NoneType' object has no attribute '_clone' | 
Never mind. found the solution, it was syntax error on queryset!
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
were you able to find the issue? I am facing the same.