Closed er-anup closed 8 years ago
No need to store the image url. What if user changes it? Get it every time using the id.
Also, replace your key with old key in default_settings and get it like app.config['GOOGLE_KEY_WHATEVER']
I have written function in helpers.py changed /cleansweep/plugins/volunteers/templates/Volunteers.html and /cleansweep/plugins/volunteers/templates/widgets/VolunteeCcard.html
Removed Decorator Function from get_google_photo_url Add get_google_photo_url in helpers function
squashed and merged the commits. see e095186 and 2329ca2.
Made Changes in 1) notifications.py : Imported urllib2 and json library. Add Google profile image url in session db 2) volunteercard.html : Displayed the image of Google+ profile.