Ver Mensaje Individual
  #16 (permalink)  
Antiguo 19/11/2013, 10:18
Strings
 
Fecha de Ingreso: septiembre-2013
Mensajes: 125
Antigüedad: 10 años, 8 meses
Puntos: 3
Respuesta: He creado mi servidor

He visto este tutorial http://www.desarrollaraplicaciones.c...do-primer.html

He creado mi django-admin.py startproject proyecto1 y python manage.py startapp aplicacion1

Pero me da este error en la pagina cuando accedo a http://localhost:8000/mensaje:
Código Python:
Ver original
  1. ImportError at /mensaje
  2. No module named aplicacion1
  3. Request Method: GET
  4. Request URL:    http://localhost:8000/mensaje
  5. Django Version: 1.6
  6. Exception Type: ImportError
  7. Exception Value:   
  8. No module named aplicacion1
  9. Exception Location: C:\Python\Python27\lib\site-packages\django\utils\importlib.py in import_module, line 40
  10. Python Executable:  C:\Python\Python27\python.exe
  11. Python Version: 2.7.6
  12. Python Path:   
  13. ['C:\\Python\\Proyectos',
  14.  'C:\\Windows\\SYSTEM32\\python27.zip',
  15.  'C:\\Python\\Python27\\DLLs',
  16.  'C:\\Python\\Python27\\lib',
  17.  'C:\\Python\\Python27\\lib\\plat-win',
  18.  'C:\\Python\\Python27\\lib\\lib-tk',
  19.  'C:\\Python\\Python27',
  20.  'C:\\Python\\Python27\\lib\\site-packages']
  21. Server time:    Tue, 19 Nov 2013 17:20:48 +0100

Al acceder a http://localhost:8000/ me sale: A server error occurred. Please contact the administrator.