title: Django, urls.py, include doesn't seem to be working
body: <p>I'm trying to include an additional urls.py inside my main urls - however it doesn't seem to be working. I've done a bunch of searching and I can't seem to figure it out</p>
  
  <p>main urls.py file - the admin works fine</p>
  
  <pre><code>from django.conf.urls.defaults import patterns, include, url
  
  from django.contrib import admin
  admin.autodiscover()
  
  urlpatterns = patterns('',
          (r'^pnasser/',include('pnasser.urls')),
          (r'^admin/',include(admin.site.urls)),
          (r'^',include('pnasser.urls')),
  )
  </code></pre>
  
  <p>I then have a folder pnasser, with the file urls.py with the following:</p>
  
  <pre><code>from django.conf.urls.defaults import patterns, include, url
  
  urlpatterns = patterns('pnasser.views',
          (r'^$','index'),
          (r'^login/$','login'),
          (r'^signup/$','signup'),
          (r'^insertaccount/$','insertaccount'),
          (r'^home/$','home'),
          (r'^update/(?P&lt;accid&gt;\d+)','update'),
          (r'^history/(?P&lt;accid&gt;\d+)','account_history'),
          (r'^logout/(?P&lt;accid&gt;\d+)','logout'),
  
  )
  </code></pre>
  
  <p>I'm not sure if I'm maybe missing something else in the configuration. if I visit mysite.com/admin it loads the admin correctly, if I goto mysite or any other url in the views I get 404 page not found:</p>
  
  <blockquote>
    <p>Using the URLconf defined in mysite.urls, Django tried these URL
    patterns, in this order: 
    1. ^pnasser/ 
    2. ^admin/ </p>
    
    <p>The current URL, , didn't match any of these.</p>
  </blockquote>
  
  <p><strong>edit</strong> settings.py installed apps:</p>
  
  <pre><code>INSTALLED_APPS = (
      'django.contrib.auth',
      'django.contrib.contenttypes',
      'django.contrib.sessions',
      #'django.contrib.sites',
      'django.contrib.messages',
      'django.contrib.staticfiles',
      # Uncomment the next line to enable the admin:
       'django.contrib.admin',
      # Uncomment the next line to enable admin documentation:
      # 'django.contrib.admindocs',
          'pnasser',
  
  )
  </code></pre>
  
  <p><strong>Update 2</strong></p>
  
  <p>So, I also tried running my site via the dev server: <code>python manage.py runserver 0.0.0.0:8000</code> this works. I'm assuming somewhere in my integration with apache using mod_wsgi is the problem. However, I'm not sure where the problem would be</p>