title: No module named django.contrib.auth when using things that redirect
body: <p>I get the <code>ImportError "No module named django.contrib.auth"</code> both when I try to use the <code>django.shortcuts</code> <code>redirect</code> function and when I try to use:</p>
  
  <pre><code>(r'^logout/$', 'django.contrib.auth.views.logout', {'next_page': '/'}),
  </code></pre>
  
  <p>I figure it can't be a coincidence that the only place I'm hitting this error is in places where the page is redirected, but maybe it is. I know that the user isn't actually getting logged out, so the error happens before you even get to any redirect code.</p>
  
  <p>Below is my urls.py file.</p>
  
  <pre><code>import django.contrib.auth.views
  from django.conf.urls.defaults import *
  import django.contrib.auth
  
  from django.contrib import admin
  admin.autodiscover()
  
  urlpatterns = patterns('karma.views',
  (r'^$', 'homepage'),
  (r'^logout/$', 'django.contrib.auth.views.logout', {'next_page': '/'}),
  (r"^opportunities/nearby$", 'draw_map'),
  
  
  (r'^admin/', include(admin.site.urls)),
  url(r'', include('social_auth.urls')),
  (r'^profile/', include('karmup.profile.urls')),
  )
  </code></pre>