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

if the foreinkey can be NULL, how to use DjangoModelField ? #16

Open
zhijiasun opened this issue Jul 10, 2014 · 2 comments
Open

if the foreinkey can be NULL, how to use DjangoModelField ? #16

zhijiasun opened this issue Jul 10, 2014 · 2 comments

Comments

@zhijiasun
Copy link

i think the docuement should be updated. DjangoModelField not mentidoned at the doc, bu instead of ForeignKey.
if a foreinkey definition can be NULL, how to deal with this secnario ?
maybe DjanogModelField.to_python() can be changed.

@digiphd
Copy link

digiphd commented Feb 26, 2015

I Agree. The documents are lacking. ForeignKey no longer exists, yet DjangoModelField (I assume its replacement) has no documentation at all. I have to revert back to regular row by row csv importing to support ForeignKey fields, as I can't get it to work, and there are no docs.

@anthony-tresontani
Copy link
Owner

Thanks for your comments. Unfortunately, I do not maintain this lib anymore. Nonetheless, I merge pull request when I get one. So if you feel like fixing it, I would be happy to merge.

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