]> git.parisson.com Git - django-social-auth.git/commit
Implemented working alternate storage backend, based on MongoEngine.
authorSteven Cummings <estebistec@gmail.com>
Fri, 22 Jun 2012 19:23:35 +0000 (14:23 -0500)
committerSteven Cummings <estebistec@gmail.com>
Fri, 22 Jun 2012 19:23:35 +0000 (14:23 -0500)
commite06b97a667db9ce36e0a7f5ac1d551750b2112d3
treec9e0a761fff8b99e2d2f32fca74be693eea94019
parentca9252e9a925bb9dc51d8d5c83cbdaffec810249
Implemented working alternate storage backend, based on MongoEngine.

It doesn't necessarily need to live in the primary codebase, it is simply a proof of the original idea. With the appearance of a fair number of helper methods to decouple social auth from django models, it really is looking like a backend is in order. More details:

+ Add MongoEngine models
* Add several methods to both models modules to decouple social auth core and default pipelines from Django ORM code
* In social pipelines, make sure uid is a str value
* Only load django admin settings if current models are django models
+ Add a conf module to manage loading specific Django settings and default values to use
social_auth/admin.py
social_auth/backends/__init__.py
social_auth/backends/pipeline/__init__.py
social_auth/backends/pipeline/associate.py
social_auth/backends/pipeline/social.py
social_auth/backends/pipeline/user.py
social_auth/conf.py [new file with mode: 0644]
social_auth/context_processors.py
social_auth/django_models.py
social_auth/models.py
social_auth/mongoengine_models.py [new file with mode: 0644]