Python No Modules Named Defaults

Still trying to follow the example:
I get to step 17 then more problems:

ImportError at /admin/
No module named defaults
Request Method:       GET
Request URL:       http://localhost:8000/admin/
Django Version:       1.8.5
Exception Type:       ImportError
Exception Value:       

No module named defaults

Exception Location:       /Users/ctaylor/mysite/mysite/ in <module>, line 1
Python Executable:       /usr/bin/python
Python Version:       2.7.10
Python Path: module after edit:
A206394:mysite ctaylor$ cat
from django.conf.urls.defaults import *
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
urlpatterns = patterns(r'^mysite/', include(''),

# Uncomment the admin/doc line below and add 'django.contrib.admindocs'
# to INSTALLED_APPS to enable admin documentation:
 (r'^admin/doc/', include('django.contrib.admindocs.urls')),

# Uncomment the next line to enable the admin:
(r'^admin/', include(,
) before edit:


Any idea how i messed up on the editing?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mark BradyPrincipal Data EngineerCommented:
It is missing the admin class from django.contrib
Try going to the django file (module and search for contrib then look for admin. It may be a corrupt file in which case you would need to re-install it or it could be commented out perhaps. Anyway, just my 2 cents worth.
xoxomosAuthor Commented:
Does this have anything to do with what i'm looking for?

A206394:admin ctaylor$ pwd
A206394:admin ctaylor$ ls -ltr
total 352
-rw-r--r--@  1 ctaylor  staff  12061 Feb 20  2013
-rw-r--r--@  1 ctaylor  staff  19088 Feb 20  2013
-rw-r--r--@  1 ctaylor  staff  12852 Feb 20  2013
-rw-r--r--@  1 ctaylor  staff  17393 Feb 20  2013
-rw-r--r--@  1 ctaylor  staff  58288 Feb 20  2013
-rw-r--r--@  1 ctaylor  staff   2207 Feb 20  2013
-rw-r--r--@  1 ctaylor  staff  13361 Feb 20  2013
-rw-r--r--@  1 ctaylor  staff   1914 Feb 20  2013
-rw-r--r--@  1 ctaylor  staff  12482 Feb 20  2013
-rw-r--r--@  1 ctaylor  staff   3285 Feb 20  2013
-rw-r--r--@  1 ctaylor  staff   1608 Feb 20  2013
drwxr-xr-x@  4 ctaylor  staff    136 Feb 20  2013 templates
drwxr-xr-x@  5 ctaylor  staff    170 Feb 20  2013 media
drwxr-xr-x@ 68 ctaylor  staff   2312 Feb 20  2013 locale
drwxr-xr-x@  5 ctaylor  staff    170 Feb 20  2013 views
drwxr-xr-x@  7 ctaylor  staff    238 Feb 20  2013 templatetags
A206394:admin ctaylor$
Mark BradyPrincipal Data EngineerCommented:
Yikes I don't know what that is sorry.
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

xoxomosAuthor Commented:
OK Thanks.  I'll be going to OOW next week so it's possible someone there knows who prepared that tutorial.
Mark BradyPrincipal Data EngineerCommented:
awesome. Sorry I couldn't help further.
xoxomosAuthor Commented:
Don't know the meaning of it, but when i edited the file to look like:
from django.conf.urls import *
from django.contrib import admin

urlpatterns = ('',
    # Examples:
    # url(r'^$', 'mysite.views.home', name='home'),
    # url(r'^blog/', include('blog.urls')),
      (r'^admin/doc/', include('django.contrib.admindocs.urls')),
      (r'^admin/', include(,
everything worked.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
xoxomosAuthor Commented:
Simply deleting would be acceptable also.  Just did it this way to show what my solution was.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.