Hi guys, well.. i dont know what this mean :

'_CheckLogin' object has no attribute 'objects'

any idea?
thanks

in my views.py

from django.shortcuts import render_to_response, get_object_or_404,
Http404
from django.conf.urls.defaults import *
from django.template import RequestContext
from django.contrib.auth import authenticate, login, logout
from django.contrib.auth.decorators import login_required


@login_required
#listar todas las patas
def Dpatas(request):
    data = Dpata.objects.filter()
    return render_to_response('account/dpatas.html',{'registros':
data},context_instance = RequestContext(request))
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to