pinax-project-socialauth icon indicating copy to clipboard operation
pinax-project-socialauth copied to clipboard

Does not update "project_name" with supplied name

Open tpainter opened this issue 10 years ago • 7 comments

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

tpainter avatar Jul 25 '14 02:07 tpainter

+1 Same problem

philpraxis avatar Jul 29 '14 20:07 philpraxis

+1

filwaitman avatar Aug 27 '14 18:08 filwaitman

+1

chrisvoncsefalvay avatar Oct 01 '14 18:10 chrisvoncsefalvay

Also, there's a line in "settings.py" saying:

tweaked settings to prevent Django 1.5 detection in Django 1.7

shaib avatar Oct 27 '14 19:10 shaib

Hi everybody,

I have the same problems. Have you find a way to fix them? the project_name issue...

ioanas78 avatar Dec 24 '14 16:12 ioanas78

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.

abaldwin99 avatar Dec 24 '14 20:12 abaldwin99

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

  1. facebook login gives me invalid app Id
  2. twitter login gives me ValueError at /account/social/login/twitter/ Only unicode objects are escapable. Got None of type <type 'NoneType'>
  3. google login gives me
  4. 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...

ioanas78 avatar Dec 24 '14 22:12 ioanas78