title: split views.py into multiple files
body: <p>I am having some trouble splitting my <code>views.py</code> file into multiple files in a views folder. I tried the methods from <a href="https://stackoverflow.com/questions/1921771/django-split-views-py-in-several-files">this question</a>, but I keep getting an error message.</p>
  
  <p>file structure:</p>
  
  <pre><code>users/
     __init__.py
     urls.py
     views/
        __init__.py
        sign_in_out_up.py
  </code></pre>
  
  <p>urls.py:</p>
  
  <pre><code>from users import views as user
  
  urlpatterns = patterns('',
      url(r'^signup/', user.sign_in_out_up.signup),
      url(r'^signin/', user.sign_in_out_up.signin),
      url(r'^signout/', user.sign_in_out_up.signout),
  )
  </code></pre>
  
  <p>When I try the above code, I get an error saying <code>'module' object has no attribute 'sign_in_out_up'</code>.</p>
  
  <p>I have tried <code>users.views.sign_in_out_up.signup</code> in <code>urls.py</code>, but then the error changes to <code>name 'users' is not defined</code>, which seems to be a step backwards.</p>
  
  <p>I have also tried putting <code>from sign_in_out_up import *</code> in <code>views/__init__.py</code></p>
  
  <p>Has anyone else had problems with this or have any suggestions?</p>