carlxaeron / django-rosetta

Automatically exported from code.google.com/p/django-rosetta
MIT License
0 stars 0 forks source link

Missing connection with setttings.SETTINGS_MODULE and rosetta? #110

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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.

Original issue reported on code.google.com by rwagas...@gmail.com on 27 May 2011 at 3:08

Attachments:

GoogleCodeExporter commented 8 years ago
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?

Original comment by mbonetti on 27 Aug 2011 at 3:01