My best guess is that, for whatever reason, 'timetable_view' in your url conf
has not been converted into the view function. Try actually importing the
view in urls.py and putting it as the target of the pattern *without*
the quotes.
If this works, then figuring out whether you needed 'app_name.timetable_view'
or some such is where to look. If it still doesn't work, you may get additional
insights (can you actually import views.py, or does it have a syntax
error, etc.).
Yes, this was the answer - thanks Bill.
I tried tafe.timetable_view and it didn't work, so I tried
from tafe.views import timetable_view
and it did...
then I realised I needed
'tafe.views..timetable_view'
as the pattern target.
Thanks for your help
L.
-- 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.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment