ah
just read the complete thread with the solution...sorry for the line noise
regards
Ian

On Dec 4, 2007 9:42 AM, vern <[EMAIL PROTECTED]> wrote:
>
> Hi
> i am being bitten by this too...i think it has something to do with
> python 2.5 not supporting an underscore at the start of a variable
> name..i would suggest trying to run mod_python on 2.4 ...any better
> ideas or solutions are welcome
> regards
> ian
>
> On 22 oct, 15:22, l5x <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > my code was working fine, until I put it on my another system.
> > The error I get with newest SVN django version is:
> >
> > NameError at /
> > global name '_' is not defined
> > Request Method:         GET
> > Request URL:    http://localhost:8000/
> > Exception Type:         NameError
> > Exception Value:        global name '_' is not defined
> > Exception Location:     /usr/lib/python2.5/site-packages/django/core/
> > handlers/base.py in _real_get_response, line 81
> > Python Executable:      /usr/bin/python
> > Python Version:         2.5.1
> >
> > Traceback (most recent call last):
> > File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py"
> > in _real_get_response
> >   81. response = callback(request, *callback_args, **callback_kwargs)
> >
> >   NameError at /
> >   global name '_' is not defined
> >
> > I tried both bulit-in server and mod_python, but result is the same.
> > Any idea? Unfortunately, I didn't find anything related to that issue
> > on the net.
> >
>



-- 
always code as if the person who ends up maintaining it will be a
violent psychopath who knows where you live.
http://ianlawrence.info

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to