Re: ViewDoesNotExist !?!?! It certainly does....

2012-09-12 Thread Lachlan Musicman
On Wed, Sep 12, 2012 at 6:19 PM, Sergiy Khohlov wrote: > add to urls > from tafe.views import session_create Thanks. I actually found this solution late late last night while offline, buried deep in the docs: /PATH/django-docs-1.4-en/topics/http/urls.html#passing-callable-objects-instead-of-str

Re: ViewDoesNotExist !?!?! It certainly does....

2012-09-12 Thread Stephen Anto
Hi, try this urls.py urlpatterns = patterns('app_root', url(r'^url_path/$','view_name',name='url_name'), ) view.py def view_name(request): your business logics return HttpResponse() I think it may work On Wed, Sep 12, 2012 at 9:51 AM, Lachlan Musicman wrote: > Hola

Re: ViewDoesNotExist !?!?! It certainly does....

2012-09-11 Thread Sergiy Khohlov
add to urls from tafe.views import session_create 2012/9/12 Lachlan Musicman : > session_create -- 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

Re: ViewDoesNotExist !?!?! It certainly does....

2012-09-11 Thread Lachlan Musicman
Grrr - sorry sent before I was finished. tafe/views.py # Create your views here. from tafe.models import Session from tafe.forms import SessionRecurringForm from django.shortcuts import render_to_response from django.http import HttpResponseRedirect import datetime def session_create(request):

ViewDoesNotExist !?!?! It certainly does....

2012-09-11 Thread Lachlan Musicman
Hola As per subject - I'm getting ViewDoesNotExist errors on a view that does exist. I've checked the spelling, indenting and it all seems legit. If I comment out the two lines that call the view in question from urls.py, everything is back to normal. --- tafe/urls.py from django.conf.urls