foreign key form custom widget

2011-06-13 Thread bitgandtter
hi, i want to define a widget to my form exactly to a field that is a foreign key to another model. like the doc say i use the widgets statements in the meta class, but the field of foreign key dont change this widget to that i define. is this at even possible? What should i do? -- You received t

Re: django admin site and debug

2011-05-09 Thread bitgandtter
i try your advices but didnt work i dont know why because the admin pattern should handle this urls On May 4, 3:01 pm, Ivan <492...@gmail.com> wrote: > Try to replace your patern '^admin/' this '^admin/$', or swap > ( r'^admin/', include( admin.site.urls ) ) > and ( r'', include( 'role.company.url

Re: django admin site and debug

2011-05-04 Thread bitgandtter
its really rear this error the aplication its runing in mod_python in a shared web hosting python 2.5.1 and work perfect the only thing is that when i change the DEBUG flag to false the administration interface keep working and autenticate all fine but throwme the 404 error when i try to access the

django postgre_psycopg2 error

2011-05-01 Thread bitgandtter
hi, im deploying my django app in a webhost (mochahost) and i get this error MOD_PYTHON ERROR ProcessId: 23641 Interpreter:'gruporole.com' ServerName: 'gruporole.com' DocumentRoot: '/home/gruporol/public_html' URI:'/services' Location: None Directory: '/hom