Hi... I am using python 2.5.1 with django .97 pre. I am trying to have a page from the url config (r'^users/', include('dbp.users.views.show')),
I have my view as from django.http import HttpResponse def show(request): return HttpResponse("some thing here.") on trying to access the page using url http://localhost:8000/users/ I get the error ImportError at /users/ No module named show Request Method: GET Request URL: http://localhost:8000/users/ Exception Type: ImportError Exception Value: No module named show On commenting the line return...... , the error changes to IndentationError at /users/ expected an indented block (views.py, line 6) Request Method: GET Request URL: http://localhost:8000/users/ Exception Type: IndentationError Exception Value: expected an indented block (views.py, line 6) Plz help. Thanks alot. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---