Ver Mensaje Individual
  #1 (permalink)  
Antiguo 24/03/2015, 13:01
Avatar de santiagopm84
santiagopm84
 
Fecha de Ingreso: marzo-2015
Mensajes: 23
Antigüedad: 9 años, 1 mes
Puntos: 0
'module' object has no attribute 'autodiscover'

Hola amigos de nuevo,

ahora me he topado con esta problemática. Pasa que al hacer runserver al proyecto no marca ningún error, pero al entrar al localhost me envia lo siguiente:

Código:
AttributeError at /
'module' object has no attribute 'autodiscover'
Request Method:	GET
Request URL:	http://127.0.0.1:8000/
Django Version:	1.7
Exception Type:	AttributeError
Exception Value:	
'module' object has no attribute 'autodiscover'
Exception Location:	/home/santiago/Escritorio/Proyectos/bancotiempo/BancoTiempo/urls.py in <module>, line 7
Python Executable:	/home/santiago/cambia/bin/python
Python Version:	2.7.6
Python Path:	
['/home/santiago/Escritorio/Proyectos/bancotiempo',
 '/home/santiago/cambia/lib/python2.7',
 '/home/santiago/cambia/lib/python2.7/plat-x86_64-linux-gnu',
 '/home/santiago/cambia/lib/python2.7/lib-tk',
 '/home/santiago/cambia/lib/python2.7/lib-old',
 '/home/santiago/cambia/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/home/santiago/cambia/local/lib/python2.7/site-packages',
 '/home/santiago/cambia/lib/python2.7/site-packages']
Server time:	Mar, 24 Mar 2015 12:54:41 -0600

Si comento en mi archivo url.py la línea que indica el error generado

Código:
#admin.autodiscover()
me dice que otra línea me está causando conflicto, también la comento

Código:
#url(r'^caronte/', include(admin.site.urls)),
y el proyecto funciona sin problemas.

¿Qué es lo que pueda estar ocurriendo?

como siempre agradezco su ayuda