Re: Json and django.contrib.auth.views.login

2011-07-19 Thread Andre Terra
You're trying to call json_command when the view is actually named json_send_command. Cheers, AT On 7/19/11, Kevin Anthony wrote: > i'm trying to use JSON on a website that also has a HTML frontend, but > when i enable this line in urls.py > url(r'^json/sendcommand/','rchip.views.json_send_comm

Re: Json and django.contrib.auth.views.login

2011-07-19 Thread Kevin Anthony
No, it's there def json_send_command(request,command_in=None,command_text_in=None,source_in=None,method_in=None): and it works, if i navigate to mysite.com/json/sendcommand/ i get the correct message telling me i didn't supply a command On Tue, Jul 19, 2011 at 6:29 PM, Andre Terra wrote: > Kevi

Re: Json and django.contrib.auth.views.login

2011-07-19 Thread Andre Terra
Kevin, Please open your views.py module located inside the rchip module and you will see there is no view named json_send_command. Please refer to that app's documentation to find more about the correct setup for your urls. Cheers, AT On 7/19/11, Kevin Anthony wrote: > i'm trying to use JSON o

Json and django.contrib.auth.views.login

2011-07-19 Thread Kevin Anthony
i'm trying to use JSON on a website that also has a HTML frontend, but when i enable this line in urls.py url(r'^json/sendcommand/','rchip.views.json_send_command'), i get this message Caught ViewDoesNotExist while rendering: Tried json_command in module rchip.views. Error was: 'module' object has