﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
5002	[patch] using pdb with django	vitja <dummylink@…>	nobody	"Set project directory to current if no one found, this lets use pdb with django

test.py:
{{{
import sys
import django.core.management as management
import settings

management.setup_environ(settings)
import django
}}}

this will work invoked by python test.py and no if by pdb:

{{{
>/home/vitja/Desktop/xxx/test.py(1)?()
-> import sys
(Pdb) n
>/home/vitja/Desktop/xxx/test.py(2)?()
-> import django.core.management as management
(Pdb) 
>/home/vitja/Desktop/xxx/test.py(3)?()
-> import settings
(Pdb) 
>/home/vitja/Desktop/xxx/test.py(5)?()
-> management.setup_environ(settings)
(Pdb) 
ValueError: 'Empty module name'
}}}

This patch fixes this.
"		closed	Core (Other)	dev		fixed	pdb		Ready for checkin	1	0	0	0	0	0
