title: import djangorestframework fails after installing it
body: <p>I'm trying to run a Django project (Mayan EDMS) in Apache. From a Ubuntu 12.10, Apache 2.2.22, Python 2.7.3 and Django (1, 4, 3, 'final', 0).</p>
  
  <p>When I go to the served web it fails and shows me errors in the apache log, they are all errors concerning modules in Python that are not installed, I install the modules and errors changed from one module to other:</p>
  
  <pre><code>sudo easy_install django-pagination
  sudo easy_install South
  sudo easy_install requests
  sudo easy_install mptt
  </code></pre>
  
  <p>It all seems to go fine till a module named <code>djangorestframework</code> is needed. I install it successfully:</p>
  
  <pre><code>pip install djangorestframework
  </code></pre>
  
  <p>but it's still not found:</p>
  
  <pre><code>[Mon Dec 24 20:15:29 2012] [error] [client 127.0.0.1]   File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 86, in load_app
  [Mon Dec 24 20:15:29 2012] [error] [client 127.0.0.1]     app_module = import_module(app_name)
  [Mon Dec 24 20:15:29 2012] [error] [client 127.0.0.1]   File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
  [Mon Dec 24 20:15:29 2012] [error] [client 127.0.0.1]     __import__(name)
  [Mon Dec 24 20:15:29 2012] [error] [client 127.0.0.1] ImportError: No module named djangorestframework
  </code></pre>
  
  <p>When I run manually python in shell and I make an import of the previous installed modules (<code>requests</code>, <code>mptt</code>) everything is ok, but I cannot import a <code>djangorestframework</code> module.</p>
  
  <pre><code>&gt;&gt;&gt; import djangorestframework
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: No module named djangorestframework
  &gt;&gt;&gt; 
  </code></pre>
  
  <p>After reading the <a href="http://django-rest-framework.org/#installation" rel="nofollow">how to install <code>djangorestframework</code></a>  I see that when it's declared in <code>INSTALLED_APPS</code> it's declared as <strong><code>rest_framework</code></strong>, I try to <code>import rest_framework</code> in python and it accepts it successfully. I guessed that I only had to rename the reference to the module in the Django source. The problem is that I found lots of mentions of it in the files and I intuit it's not a good idea.</p>
  
  <p>what can I be doing wrong? The installation is so simple, I encourage readers just to install the module</p>
  
  <pre><code>pip install djangorestframework
  </code></pre>
  
  <p>and try to import it in Python</p>
  
  <pre><code>import djangorestframework 
  </code></pre>
  
  <p>I've tried it in two computers and same problem occurred (both computers have the same Ubuntu/Apache/Django configuration).</p>