>From the traceback, it would appear that one or more of your
processors is named or formed improperly.  Can you post the code from
your setting.py file where you specify your processors?  Not just the
strings, but the entire Python structure where you define those.

On Mar 1, 7:51 am, AKK <andrewkenyon...@gmail.com> wrote:
> Having looked at the traceback i gather its something to do with the
> imports:
>
> Environment:
>
> Request Method: GET
> Request URL:http://localhost:8080/
> Django Version: 1.0.2 final
> Python Version: 2.5.2
> Installed Applications:
> ['django.contrib.auth',
>  'django.contrib.contenttypes',
>  'django.contrib.sessions',
>  'django.contrib.sites',
>  'django.contrib.admin',
>  'akonline.blog',
>  'akonline.search']
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
>  'django.contrib.sessions.middleware.SessionMiddleware',
>  'django.contrib.auth.middleware.AuthenticationMiddleware')
>
> Traceback:
> File "C:\ProgLangs\Python25\lib\site-packages\django\core\handlers
> \base.py" in get_response
>   86.                 response = callback(request, *callback_args,
> **callback_kwargs)
> File "C:/Program Files/Apache2.2\akonline\blog\views.py" in blog
>   7.     return render_to_response('blogSite/index.html', locals(),
> context_instance=RequestContext(request))
> File "C:\ProgLangs\Python25\lib\site-packages\django\template
> \context.py" in __init__
>   104.         for processor in get_standard_processors() +
> processors:
> File "C:\ProgLangs\Python25\lib\site-packages\django\template
> \context.py" in get_standard_processors
>   80.                 mod = __import__(module, {}, {}, [attr])
>
> Exception Type: ValueError at /
> Exception Value: Empty module name
>
> this is my views.py
>
> from django.shortcuts import render_to_response
> from django.template import RequestContext
> from akonline.blog.models import *
>
> def blog(request):
>     blog_posts = Post.objects.all().order_by("-post_date")
>     return render_to_response('blogSite/index.html', locals(),
> context_instance=RequestContext(request))
>
> i also tried importing context as well (at the same time), is there
> something else i need to import or is something else wrong.
>
> Thanks,
>
> Andrew
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to