cofounders / freyalove

Love is in the air.
2 stars 1 forks source link

API: GET /activities/winks/unreturned/ #51

Open njyo opened 12 years ago

njyo commented 12 years ago

Gives a list of all winks that haven not been returned by the current user.

Permission: Self Returns: List of Wink objects

njyo commented 12 years ago

Should be changed to:

GET /activities/winks/unreturned/

njyo commented 12 years ago

@cbas, please verify

sebdeckers commented 12 years ago

@kennyshen Seems like this is broken?

ImportError at /activities/winks/unreturned/
cannot import name user_summary
Request Method: GET
Request URL:    http://api.freyalove.cofounders.sg/activities/winks/unreturned/
Django Version: 1.4
Exception Type: ImportError
Exception Value:    
cannot import name user_summary
Exception Location: /home/ec2-user/freyalove/freyalove/api/views/activities.py in <module>, line 19
Python Executable:  /usr/bin/python
Python Version: 2.6.8
Python Path:    
['/home/ec2-user/freyalove',
 '/home/ec2-user/_env/lib/python2.6/site-packages/distribute-0.6.24-py2.6.egg',
 '/home/ec2-user/_env/lib/python2.6/site-packages/pip-1.1-py2.6.egg',
 '/usr/lib/python2.6/site-packages/virtualenv-1.7.1.2-py2.6.egg',
 '/usr/lib64/python26.zip',
 '/usr/lib64/python2.6',
 '/usr/lib64/python2.6/plat-linux2',
 '/usr/lib64/python2.6/lib-tk',
 '/usr/lib64/python2.6/lib-old',
 '/usr/lib64/python2.6/lib-dynload',
 '/usr/lib64/python2.6/site-packages',
 '/usr/lib64/python2.6/site-packages/gtk-2.0',
 '/usr/lib/python2.6/site-packages',
 '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info',
 '/home/ec2-user/_env/lib/python2.6/site-packages',
 '/home/ec2-user/freyalove/freyalove',
 '/home/ec2-user/freyalove/freyalove/..']
Server time:    Thu, 23 Aug 2012 17:02:08 +0800