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 <[email protected]> wrote: > 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 <[email protected]> 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_command'), >> >> i get this message >> Caught ViewDoesNotExist while rendering: Tried json_command in module >> rchip.views. Error was: 'module' object has no attribute >> 'json_command' >> >> this is my login URL: >> url(r'^accounts/login/$','django.contrib.auth.views.login', >> {'template_name': 'main/login.html', }), >> >> -- >> Thanks >> Kevin Anthony >> www.NoSideRacing.com >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. >> >> > > -- > Sent from my mobile device > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- Thanks Kevin Anthony www.NoSideRacing.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

