The error is pretty clear: It can't find 
/home/username/djangosites/djangopractice/blog/__init__.py Make sure that file 
exists. Try running `manage.py shell` and `import blog`. Also, make sure that 
the files are readable by your web server, e.g. apache.

On Dec 20, 2012, at 9:55 PM, djangobie wrote:
> ImportError at /
> 
> No module named blog
> Request Method:       GET
> Request URL:  http://localhost:8000/
> Django Version:       1.4.3
> Exception Type:       ImportError
> Exception Value:      
> No module named blog
> Exception Location:   
> /usr/local/lib/python2.7/dist-packages/django/utils/importlib.py in 
> import_module, line 35
> Python Executable:    /usr/bin/python
> Python Version:       2.7.3
> Python Path:  
> ['/home/username/djangosites/djangopractice',
>  '/usr/lib/python2.7',
>  '/usr/lib/python2.7/plat-linux2',
>  '/usr/lib/python2.7/lib-tk',
>  '/usr/lib/python2.7/lib-old',
>  '/usr/lib/python2.7/lib-dynload',
>  '/usr/local/lib/python2.7/dist-packages',
>  '/usr/lib/python2.7/dist-packages',
>  '/usr/lib/python2.7/dist-packages/PIL',
>  '/usr/lib/python2.7/dist-packages/gst-0.10',
>  '/usr/lib/python2.7/dist-packages/gtk-2.0',
>  '/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
>  '/usr/lib/python2.7/dist-packages/ubuntuone-client',
>  '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
>  '/usr/lib/python2.7/dist-packages/ubuntuone-couch',
>  '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']

Peter of the Norse
rahmc...@radio1190.org



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to