Comments (6)
see if #9 helps
from django-graphql-auth.
I don't understand sir, how do I fix it
from django-graphql-auth.
The error about the username went way but I have the same errors with Username but the issue with the first name and the last name came up again.
I don't havea a first name and Last name field.
All I have is a just full_name
Environment:
Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 3.0.7
Python Version: 3.8.3
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.sites',
'accounts',
'post',
'comment',
'userprofile',
'job',
'schedule',
'hashtag',
'billing',
'corsheaders',
'graphene_django',
'graphql_auth']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']
Traceback (most recent call last):
File "C:\Users\Udemezue\Desktop\resume-backend\env\lib\site-packages\django\core\handlers\exception.py", line 34, in inner
response = get_response(request)
File "C:\Users\Udemezue\Desktop\resume-backend\env\lib\site-packages\django\core\handlers\base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "C:\Users\Udemezue\Desktop\resume-backend\env\lib\site-packages\django\core\handlers\base.py", line 113, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\Users\Udemezue\Desktop\resume-backend\env\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
File "C:\Users\Udemezue\Desktop\resume-backend\env\lib\site-packages\django\views\generic\base.py", line 62, in view
self = cls(**initkwargs)
File "C:\Users\Udemezue\Desktop\resume-backend\env\lib\site-packages\graphene_django\views.py", line 79, in init
schema = graphene_settings.SCHEMA
File "C:\Users\Udemezue\Desktop\resume-backend\env\lib\site-packages\graphene_django\settings.py", line 117, in getattr
val = perform_import(val, attr)
File "C:\Users\Udemezue\Desktop\resume-backend\env\lib\site-packages\graphene_django\settings.py", line 56, in perform_import
return import_from_string(val, setting_name)
File "C:\Users\Udemezue\Desktop\resume-backend\env\lib\site-packages\graphene_django\settings.py", line 70, in import_from_string
module = importlib.import_module(module_path)
File "C:\Users\Udemezue\AppData\Local\Programs\Python\Python38-32\lib\importlib_init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
Exception Type: FieldError at /
Exception Value: Unknown field(s) (first_name, last_name) specified for User
from django-graphql-auth.
I solved the issue already thanks
from django-graphql-auth.
How did you solve it? I'm dealing with the same issue.
from django-graphql-auth.
i solved it by integrating with some environment variables, check the docs
from django-graphql-auth.
Related Issues (20)
- MeQuery doesn't check user.status.verified
- django-graphql-ratelimit + django-graphql-auth HOT 1
- registration: matching query does not exist
- Уебанская хуета и руководство говно!!! HOT 1
- Nested Form field?
- have ME query return a non-Int PK field
- Can we use permission feature like django rest framework permission required?
- This repo is abandoned? HOT 6
- Upgrade compatibility with django-graphql-jwt>=0.3.2 HOT 2
- Password reset link can be used multiple times
- Send email to inform user that password is changed
- Need Documentation about customizing tokenAuth! HOT 2
- How can I customize or add to the register mutation more fields ?
- How can I require the password only once ?
- django-graphql-auth is not compatible with Django 4.0 because it doesn't require the latest version of django-graphql-jwt HOT 7
- How to let users update thier own user profiles with token?
- "Please, enter valid credentials."
- psycopg2.errors.UndefinedTable: relation "graphql_auth_userstatus" does not exist HOT 1
- Rewrote this Package for Django 4 and Graphene 3+ HOT 13
- django-graphql-auth is not compatible with Django version 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-graphql-auth.