wow, that's embarrassing.  thanks.

On Wed, Aug 22, 2012 at 4:16 PM, Alexis Roda <
alexis.roda.villalo...@gmail.com> wrote:

> Al 22/08/12 21:36, En/na Kevin Anthony ha escrit:
>
>> Here is my code:
>>
>> id = get_id(request)
>>       if id is not None:
>>           host = request.GET['host']
>>           if host!=None:
>>               command =
>> command_queue.objects.all().**filter(destination_hostname=**
>> host,user__id=id)
>>               if not command.count():
>>                   HttpResponseNotModified()
>>               retval =
>> JSONResponse(command.values('**command','command_text'),**
>> Extra={"success":True})
>>               command.delete()
>>               return retval
>>      return HttpResponseForbidden()
>>
>> I know it's getting to the HttpResponseNotModified, but I'm still
>> getting a HTTP status code of 200.
>>
>> Can someone point me in the correct direction?
>>
>
> return HttpResponseNotModified()
>
>
>
> HTH
>
> --
> 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+unsubscribe@**
> googlegroups.com <django-users%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at http://groups.google.com/**
> group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
> .
>
>


-- 
Thanks
Kevin Anthony
www.NoSideRacing.com

Do you use Banshee?
Download the Community Extensions:
http://banshee.fm/download/extensions/

-- 
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