Export to GitHub

django-rosetta - issue #110

Missing connection with setttings.SETTINGS_MODULE and rosetta?


Posted on May 27, 2011 by Swift Ox

What steps will reproduce the problem? 1. pip install django-rosetta 2. add 'rosetta' to installed apps 3. finish the process and restart the server

What is the expected output? What do you see instead? rosetta blows up with error "NoneType" doesn't attribute split(). I should see the list of language files

What version of the product are you using? On what operating system? django-rosetta 0.6.0 on Mac OS 10.6 / Ubuntu Server 9.4

Please provide any additional information below.

poutil.py

It seems that the SETTINGS_MODULE constant from django.conf settings never leech rosetta. Cause I have traced it and managed to trace the issue and made a patch. See attachment.

Attachments

Comment #1

Posted on Aug 27, 2011 by Happy Cat

I'm sorry, there is just no way Rosetta shouldn't get a proper settings.SETTINGS_MODULE constant, or this would have blown before. Can you still reproduce this? Do you have any kind of non-standard Django project layout?

Status: New

Labels:
Type-Defect Priority-Medium