Commit 46d6367e authored by Jonas Meurer's avatar Jonas Meurer

Import django-allauth_0.33.0.orig.tar.gz

parents
;;; This file contains project-specific emacs configuration
((nil . ((python-sort-imports-on-save t))))
# http://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.py]
indent_size = 4
[Makefile]
indent_style = tab
indent_size = 8
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
*.pyc
*~
.idea
.project
.pydevproject
*.geany
docs/_build
build
dist
*.egg*
example/local_settings.py
node_modules/
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
coverage.xml
.ropeproject/*
pep8.txt
*.bak
.#*
\#*
*.db
*.tmp
virtualenv
.DS_Store
*.prefs
*.mo
/.stfolder
[settings]
indent=4
combine_star=1
combine_as_imports=1
include_trailing_comma=1
multi_line_output=3
lines_after_imports=2
known_django=django
known_future_library=future
known_standard_library=types,requests
known_first_party=allauth
default_section=THIRDPARTY
sections=FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
# https://travis-ci.org/pennersr/django-allauth
sudo: false
language: python
python: "3.6"
env:
matrix:
- TOXENV=py27-django18
- TOXENV=py27-django110
- TOXENV=py27-django111
- TOXENV=py34-django18
- TOXENV=py34-django110
- TOXENV=py34-django111
- TOXENV=py35-django110
- TOXENV=py35-django111
- TOXENV=py36-django111
- TOXENV=py36-djangomaster
- TOXENV=docs
- TOXENV=flake8
- TOXENV=standardjs
matrix:
fast_finish: true
include:
- python: "3.5"
env: TOXENV=py35-django110
- python: "3.5"
env: TOXENV=py35-django111
exclude:
- python: "3.6"
env: TOXENV=py35-django110
- python: "3.6"
env: TOXENV=py35-django111
allow_failures:
- env: TOXENV=py36-djangomaster
cache:
directories:
- $HOME/.cache/pip
- $TRAVIS_BUILD_DIR/.tox
install:
- if [[ $TOXENV == "standardjs" ]]; then nvm install 8; fi
- pip install --upgrade pip wheel setuptools
- pip install coveralls tox
script:
- tox
after_success:
- coveralls
branches:
only:
- master
notifications:
webhooks:
urls:
- https://readthedocs.org/build/django-allauth
on_start: never
on_cancel: never
on_error: never
on_failure: never
on_success: always
[main]
host = https://www.transifex.com
[django-allauth.django]
file_filter = allauth/locale/<lang>/LC_MESSAGES/django.po
source_file = allauth/locale/en/LC_MESSAGES/django.po
source_lang = en
type = PO
django-allauth was started by Raymond Penners
(<raymond.penners@intenct.nl> or @pennersr) in October 2010, inspired
by and partly based on existing projects such as Pinax (account app),
Django-Socialauth, django-socialregistration.
Contributors
============
Aaron van Derlip
Adam McKerlie
Agustin Perez Paladini
Ahmet Emre Aladağ
Aldiantoro Nugroho
Alexander Gaevsky
Anna Sirota
Andrean Franc
Andrey Balandin
Andrey Akolpakov
Andy Matthews
Ani Vera
Aron Griffis
Basil Shubin
Ben Timby
Benjamin Jorand
Björn Andersson
Bojan Mihelac
Chris Beaven
Chris Davis
Christopher Grebs
Daniel Eriksson
Daniel Widerin
David Ascher
David Evans
David Friedman
Egor Poderyagin
Eran Rundstein
Eric Delord
Fabio Caritas Barrionuevo da Luz
Facundo Gaich
Fred Palmer
Fábio Santos
George Whewell
Griffith Rees
Guillaume Vincent
Guoyu Hao
Hatem Nassrat
J. Erm
J. Fernando Sánchez
Jack Shedd
Jakob Gerhard Martinussen
James Rivett-Carnac
James Thompson
Jannis Leidel
Jeff Triplett
Jerome Leclanche
Joe Vanderstelt
John Bazik
John Whitlock
Jonas Aule
JoonHwan Kim
Josh Owen
Josh Wright
Joshua Sorenson
Julen Ruiz Aizpuru
Justin Michalicek
Justin Pogrob
Koichi Harakawa
Lee Semel
Luis Diego García
Luiz Guilherme Pais dos Santos
Luke Burden
Luke Crouch
Maksim Rukomoynikov
Marcin Skarbek
Marcin Spoczynski
Marco Fucci
Marjori Pomarole
Markus Kaiserswerth
Markus Thielen
Martin Bächtold
Mauro Stettler
Morgante Pell
Nariman Gharib
Niklas A Emanuelsson
Patrick Paul
Paulo Eduardo Neves
Peter Bittner
Peter Rowlands
Rabi Alam
Radek Czajka
Rense VanderHoek
Robert Balfre
Roberto Novaes
Rod Xavier Bondoc
Roman Tomjak
Roumen Antonov
Ryan Verner
Sam Solomon
Sanghyeok Lee
Seizan Shimazaki
Serafeim Papastefanos
Shane Rice
Stuart Ross
Terry Jones
Tomas Babej
Tomas Marcik
Udi Oron
Vuong Nguyen
Volodymyr Yatsyk
Wendy Edwards
Will Ross
William Li
Yuri Kriachko
Yaroslav Muravsky
This diff is collapsed.
The MIT License (MIT)
Copyright (c) 2010-2017 Raymond Penners and contributors
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
include AUTHORS
include LICENSE
include README.rst
include ChangeLog.rst
include test_settings.py
recursive-include allauth *.html *.txt *.xml *.po *.mo *.js
recursive-include docs Makefile conf.py *.rst
VIRTUALENV = $(shell pwd)/venv.tmp
PYTHON = $(VIRTUALENV)/bin/python
ISORT = isort $$(find $(PWD)/allauth -not -path '*/migrations/*' -type f -name '*.py' -not -name '__init__.py' -print)
po:
( cd allauth ; $(PYTHON) ../manage.py makemessages -a -e html,txt,py )
mo:
( cd allauth ; $(PYTHON) ../manage.py compilemessages )
isort-fix:
$(ISORT)
.PHONY: \
po \
mo \
isort-fix
==========================
Welcome to django-allauth!
==========================
.. image:: https://badge.fury.io/py/django-allauth.png
:target: http://badge.fury.io/py/django-allauth
.. image:: https://travis-ci.org/pennersr/django-allauth.png
:target: http://travis-ci.org/pennersr/django-allauth
.. image:: https://img.shields.io/pypi/v/django-allauth.svg
:target: https://pypi.python.org/pypi/django-allauth
.. image:: https://coveralls.io/repos/pennersr/django-allauth/badge.png?branch=master
:alt: Coverage Status
:target: https://coveralls.io/r/pennersr/django-allauth
.. image:: https://pennersr.github.io/img/bitcoin-badge.svg
:target: https://blockchain.info/address/1AJXuBMPHkaDCNX2rwAy34bGgs7hmrePEr
.. image:: https://img.shields.io/badge/code%20style-pep8-green.svg
:target: https://www.python.org/dev/peps/pep-0008/
.. image:: https://img.shields.io/badge/code_style-standard-brightgreen.svg
:target: http://standardjs.com
Integrated set of Django applications addressing authentication,
registration, account management as well as 3rd party (social) account
authentication.
Home page
http://www.intenct.nl/projects/django-allauth/
Source code
http://github.com/pennersr/django-allauth
Mailinglist
http://groups.google.com/group/django-allauth
Documentation
https://django-allauth.readthedocs.io/en/latest/
Stack Overflow
http://stackoverflow.com/questions/tagged/django-allauth
Rationale
=========
Most existing Django apps that address the problem of social
authentication focus on just that. You typically need to integrate
another app in order to support authentication via a local
account.
This approach separates the worlds of local and social
authentication. However, there are common scenarios to be dealt with
in both worlds. For example, an e-mail address passed along by an
OpenID provider is not guaranteed to be verified. So, before hooking
an OpenID account up to a local account the e-mail address must be
verified. So, e-mail verification needs to be present in both worlds.
Integrating both worlds is quite a tedious process. It is definitely
not a matter of simply adding one social authentication app, and one
local account registration app to your ``INSTALLED_APPS`` list.
This is the reason this project got started -- to offer a fully
integrated authentication app that allows for both local and social
authentication, with flows that just work.
Commercial Support
==================
This project is sponsored by IntenCT_. If you require assistance on
your project(s), please contact us: info@intenct.nl.
.. _IntenCT: http://www.intenct.info
Cross-Selling
=============
If you like this, you may also like:
- django-trackstats: https://github.com/pennersr/django-trackstats
- netwell: https://github.com/pennersr/netwell
"""
_ ___ __ __ .___________. __ __
/\| |/\ / \ | | | | | || | | |
\ ` ' / / ^ \ | | | | `---| |----`| |__| |
|_ _| / /_\ \ | | | | | | | __ |
/ , . \ / _____ \ | `--' | | | | | | |
\/|_|\//__/ \__\ \______/ |__| |__| |__|
"""
VERSION = (0, 33, 0, 'final', 0)
__title__ = 'django-allauth'
__version_info__ = VERSION
__version__ = '.'.join(map(str, VERSION[:3])) + ('-{}{}'.format(
VERSION[3], VERSION[4] or '') if VERSION[3] != 'final' else '')
__author__ = 'Raymond Penners'
__license__ = 'MIT'
__copyright__ = 'Copyright 2010-2017 Raymond Penners and contributors'
default_app_config = 'allauth.account.apps.AccountConfig'
This diff is collapsed.
import django
from django.contrib import admin
from . import app_settings
from .adapter import get_adapter