GithubHelp home page GithubHelp logo

python-social-auth / social-storage-peewee Goto Github PK

View Code? Open in Web Editor NEW
0.0 7.0 4.0 2.17 MB

Python Social Auth - Storage - Peewee

License: BSD 3-Clause "New" or "Revised" License

Makefile 5.28% Python 94.72%

social-storage-peewee's Introduction

Python Social Auth - Peewee

Donate

Python Social Auth is an easy to setup social authentication/registration mechanism with support for several frameworks and auth providers.

Description

This is the Peewee component of the python-social-auth ecosystem, it implements the needed functionality to integrate social-auth-core into a project using Peewee as the storage solution.

Documentation

Project documentation is available at http://python-social-auth.readthedocs.org/.

Setup

$ pip install social-auth-storage-peewee

Contributing

See the CONTRIBUTING.md document for details.

Versioning

This project follows Semantic Versioning 2.0.0.

License

This project follows the BSD license. See the LICENSE for details.

Donations

This project is maintened on my spare time, consider donating to keep it improving.

Donate

social-storage-peewee's People

Contributors

aniav avatar avibrazil avatar bradenmacdonald avatar buddylindsey avatar ccurvey avatar clintonb avatar dhendo avatar falcon1kr avatar floorlamp avatar hassek avatar jasonsanford avatar jcouyang avatar jeyraof avatar jgsogo avatar lamby avatar littlezz avatar maartenkos avatar mhluongo avatar noirbizarre avatar omab avatar ryankicks avatar samkuehn avatar san-mate avatar shepilov-vladislav avatar sushantgawali avatar technickai avatar tell-k avatar vinhub avatar webjunkie avatar xen avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

social-storage-peewee's Issues

ImportError for JSONField

Hi there! Thanks for a great library.

Originally I installed social-app-flask-peewee. Unfortunately it doesn't work correctly for peewee >= 3.0.0 because of line 5 in storage.py:

File "/usr/local/lib/python3.7/site-packages/social_peewee/storage.py", line 5, in <module>
app_1  |     from playhouse.kv import JSONField
app_1  | ImportError: cannot import name 'JSONField' from 'playhouse.kv' (/usr/local/lib/python3.7/site-packages/playhouse/kv.py)

Starting from version 3 peewee has JSONField only for postgres and doesn't have generic one.

Do you have any idea how to fix this?

I see two choice:

  • limit library to work only with postgres (preferably with version >= 9.4)
  • write own generic JSONField (like it was in peewee < 3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.