Skip to content

omab/psa-allauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django-Allauth flows with python-social-auth

This is an small demo project looking to mimic django-allauth flows as they are detailed in their docs using python-social-auth. This comes as an answer to a request on reddit.

Running the demos

The project is quite easy to setup once the dependencies are met. Follow these steps:

  • Clone the repository:

    $ git clone https://github.com/omab/psa-allauth.git
    $ cd psa-allauth
    
  • Lets create a virtualenv (I'm using virtualenvwrapper here):

    psa-allauth $ mkvirt demo
    [demo] psa-allauth $
    
  • Install the dependencies (django and python-social-auth):

    [demo] psa-allauth $ pip install -r requirements.txt
    
  • Copy local_settings.py.template as local_settings.py and fill the blanks:

    [demo] psa-allauth $ cp example/local_settings.py.template example/local_settings.py
    
  • Sync the database:

    [demo] psa-allauth $ python manage.py syncdb --noinput
    
  • Run the demo:

    [demo] psa-allauth $ python manage.py runserver
    
  • Open a browser at http://localhost:8000/ and follow the instructions there.

About

Django-Allauth flows implemented with python-social-auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published