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

Models in namespaces #51

Open
davidmahoney opened this issue Feb 19, 2016 · 0 comments
Open

Models in namespaces #51

davidmahoney opened this issue Feb 19, 2016 · 0 comments

Comments

@davidmahoney
Copy link

Can there be a notation in the QDjangoModel documentation that explains how to use foreign keys when the models are in namespaces?

It took me quite a while to figure out why

Q_PROPERTY(Model *model READ model WRITE setModel)

fails (at QDjango::createTables()), and should instead be

Q_PROPERTY(modelns::Model *model READ model WRITE setModel)
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

1 participant