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

Django example not working as expected #17

Open
miriam-z opened this issue May 30, 2018 · 2 comments
Open

Django example not working as expected #17

miriam-z opened this issue May 30, 2018 · 2 comments

Comments

@miriam-z
Copy link

miriam-z commented May 30, 2018

After cloning the project and starting with Django (version 2.1a1) and did have to modify

from django.core.urlresolvers import reverse

to

from django.urls import reverse

and added new entries in SQLite then

python manage.py migrate

But

./manage.py runserver

returns:

screen shot 2018-05-30 at 13 02 31

But the SQLite database is clearly present within IDE:

screen shot 2018-05-30 at 13 03 52

@conradwt
Copy link
Contributor

@miriam-z I'll be pushing out fix/update later today after I have gone through the release notes for Django 2.1.

@cpwr
Copy link

cpwr commented Jun 17, 2018

@miriam-z but message says that your resolver function does not understand the id arg

when declaring fields you could try to set

person = graphene.Field(
        UserType,
        id=graphene.Int(),
    )

I believe that's gonna help

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