Skip to content
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

Add __conform__ to work directly with Postgres data types #1

Open
mx-moth opened this issue Jun 30, 2016 · 4 comments
Open

Add __conform__ to work directly with Postgres data types #1

mx-moth opened this issue Jun 30, 2016 · 4 comments

Comments

@mx-moth
Copy link
Owner

mx-moth commented Jun 30, 2016

Like I did in django-postgres-composite-types

@zartux
Copy link
Contributor

zartux commented Oct 7, 2016

I'm curious what this means. Is __conform__ documented anywhere? Might this be related to #2?

@mx-moth
Copy link
Owner Author

mx-moth commented Oct 9, 2016

This is about using native enum types in Postgres. Magic with the undocumented __conform__ method is required to work with custom types in Postgres using psycopg2.

@danni
Copy link
Collaborator

danni commented May 19, 2017

Do you mean django-postgres-composite-types ?

@mx-moth
Copy link
Owner Author

mx-moth commented May 19, 2017

Yep, I have no idea how I typo'd that quite so badly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants