Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It doesn't work for me, I installed it and added localeurl to the installed apps and when I run it, I get the error :

 AttributeError at /en/questions/
'NoneType' object has no attribute 'endswith


Exception Location: /.../lib/python2.6/posixpath.py in join, line 67
Python Executable:  /.../bin/python
Python Version: 2.6.7

Can you help me please?

It doesn't work for me, I installed it and added localeurl to the installed apps and when I run it, I get the error :

 AttributeError at /en/questions/
'NoneType' object has no attribute 'endswith
'endswith'


Exception Location: /.../lib/python2.6/posixpath.py in join, line 67
Python Executable:  /.../bin/python
Python Version: 2.6.7

Can you help me please?

It doesn't work for me, I installed it and added localeurl to the installed apps and when I run it, I get the error :

 AttributeError at /en/questions/
'NoneType' object has no attribute 'endswith'


Exception Location: /.../lib/python2.6/posixpath.py in join, line 67
Python Executable:  /.../bin/python
Python Version: 2.6.7

Can you help me please?

Edit: I found out that my problem was linked to my database. Now there is no more errors but the my new problem is that when I click on any link, it tries to go to domain/en/page. The problem is that the server says the page doesn't exists (404 error). If I just remove the /en (domain/en/page -> domain/page), it works but there is still not the translation bar... I guess something is missing in my settings but I don't know what... Can you help please?

It doesn't work for me, I installed it and added localeurl to the installed apps and when I run it, I get the error :

 AttributeError at /en/questions/
'NoneType' object has no attribute 'endswith'


Exception Location: /.../lib/python2.6/posixpath.py in join, line 67
Python Executable:  /.../bin/python
Python Version: 2.6.7

Can you help me please?

Edit: I found out that my problem was linked to my database. Now there is no more errors but the my new problem is that when I click on any link, it tries to go to domain/en/page. The problem is that the server says the page doesn't exists (404 error). If I just remove the /en (domain/en/page -> domain/page), it works but there is still not the translation bar... I guess something is missing in my settings but I don't know what... Can you help please?