pinax-project-socialauth
pinax-project-socialauth copied to clipboard
Does not update "project_name" with supplied name
When installing per the instructions, errors are generated because the settings files are still looking for "project_name" modules instead of the string that was supplied to startproject
+1 Same problem
+1
+1
Also, there's a line in "settings.py" saying:
tweaked settings to prevent Django 1.5 detection in Django 1.7
Hi everybody,
I have the same problems. Have you find a way to fix them? the project_name issue...
I was able to actually get this project to run with a quick hack job by using literally 'project_name' during the install command...
django-admin.py startproject --template=https://github.com/pinax/pinax-project-socialauth/zipball/master project_name
cd project_name
and then commenting out the line in settings.py that says:
# tweaked settings to prevent Django 1.5 detection in Django 1.7
However when I attempted to login using google accounts I got an 'invalid_client' from accounts.google.com. I'm not familiar with google's account API so I'm not sure what troubleshooting steps to take from here.
Hi blah73,
Thanks for the tip; using your trick I managed to have the project up and running. The problem is social login is not working
- facebook login gives me invalid app Id
- twitter login gives me ValueError at /account/social/login/twitter/ Only unicode objects are escapable. Got None of type <type 'NoneType'>
- google login gives me
- That’s an error. Error: invalid_client
Anyway, regarding the project_name take a look in settings.py, line 136. I think this is the place to change the name of the project. Haven't tested yet...