New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postgres support for Frappe #5919
Conversation
@riteshshrv , please test this branch with our app/datasets and provide feedback. |
@surajshetty3416 https://github.com/frappe/frappe/blob/develop/frappe/database.py#L56 I faced a issue while trying to init a new site using postgres, here's the traceback
adding |
@riteshshrv The link you sent describes that it makes no difference to inherit from an object if you are using Python 3. Anyways, I'll extend it from an object as we need to support Python 2 as well. Thanks for reporting. |
77945cd
to
bf3a6de
Compare
@surajshetty3416 there seems to be some problem with "sessions"; creating a new doctype failed, is it just me or this part is still under development? |
@riteshshrv I have fixed Doctype Sessions not found issue... please pull the latest code and try again. Also, will fix that new Doctype creation issue and let you know.. |
@surajshetty3416 i'm using python2.7 env and login is now broken in both regular and incognito
|
97e0d55
to
e09882d
Compare
@riteshshrv can you please recheck... I am not getting that error.. Also, If it turns out to be a python 2 specific issue, can you please add commit with a fix. |
2043a59
to
40bf322
Compare
- Separate frameworkSQL, database, schema, setup_db file for mariaDB and postgres - WIP
Add other required refactoring
- Remove db_schema.py file
1 similar comment
- move install and tests commands to separate files - Use matrix to build combination of python version and db type
- fixes - "echo won't expand escape sequences." warning
To create a new site (with Postgres DB)
bench new-site <site-name> --db-type postgres