Downloading Django REST Interface Issue

11 views
Skip to first unread message

prem anand lakshmanan

unread,
Jul 12, 2012, 6:49:18 PM7/12/12
to django-res...@googlegroups.com
Downloaded the code from the below link and storing it in the Django project directory where it is run from.
 
 
Project location:c:/python27/Djangoprojects/ecomstore
 
REST API File locationL c:/python27/djangoprojects/django_restapi
 
 
 
Error:
 

ImportError at /xml/polls/

No module named django_restapi.model_resource
Request Method:GET
Request URL:http://127.0.0.1:8000/xml/polls/
Django Version:1.3.1
Exception Type:ImportError
Exception Value:
No module named django_restapi.model_resource
Exception Location:C:\Python27\Djangoprojects\mysite\..\mysite\polls\views.py in <module>, line 1
Python Executable:C:\Python27\python.exe
Python Version:2.7.2

Python Path:

 

 

 

 

 

 

 

What needs to be done?

How will the installation be done? Can I just copy the modules

or do I need to run the install command?

['C:\\Python27\\Djangoprojects\\mysite',
 'C:\\Python27\\lib\\site-packages\\setuptools-0.6c11-py2.7.egg',
 'C:\\Python27\\lib\\site-packages\\django_db_log-2.2.1-py2.7.egg',
 'C:\\Python27',
 'c:\\Python27\\lib\\site-packages\\django\\bin\\django-admin.py',
 'c:\\mysql',
 'c:\\pythonpath\\djangoprojects\\django_restapi',
 'C:\\Windows\\system32\\python27.zip',
 'C:\\Python27\\DLLs',
 'C:\\Python27\\lib',
 'C:\\Python27\\lib\\plat-win',
 'C:\\Python27\\lib\\lib-tk',
 'C:\\Python27\\lib\\site-packages',
 'C:\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode']
 
Reply all
Reply to author
Forward
0 new messages