Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Discy Latest Questions

  • 0

I m building a flutter app with django rest-framework. The registration api is working fine in Postman but after some successful registration from the flutter app it is showing the above error. The request is been sent on https address. Removed ...

  • 0

I have two classes in my sqlite database, a parent table named Categorie and the child table called Article. I created first the child table class and addes entries. So first I had this: class Article(models.Model): titre=models.CharField(max_length=100) auteur=models.CharField(max_length=42) ...

  • 0

I am currently trying out django. I use the namespace argument in one of my include()s in urls.py. When I run the server and try to browse, I get this error. File "C:UsersUserAppDataLocalProgramsPythonPython36-32libsite-packagesdjangourlsconf.py", line 39, in include 'Specifying a namespace in ...

  • 0

Currently, I have upgraded version of Django from 2.0.6 to 3.0 and suddenly after calling python manage.py shell command got this error: ImportError: cannot import name ‘six’ from ‘django.utils’ (/path-to-project/project/venv/lib/python3.7/site-packages/django/utils/init.py) Full trace: Traceback (most recent call last): File "manage.py", line 13, in <module> ...

  • 0

Currently, I have upgraded version of Django 2.0.6 to 3.0 and suddenly after calling python manage.py shell command got this error: ImportError: cannot import name ‘six’ from ‘django.utils’ (/path-to-project/project/venv/lib/python3.7/site-packages/django/utils/init.py) Full trace: Traceback (most recent call last): File "manage.py", line 13, in <module> ...

  • 0

How does one convert a Django Model object to a dict with all of its fields? All ideally includes foreign keys and fields with editable=False. Let me elaborate. Let’s say I have a Django model like the following: from django.db import modelsclass OtherModel(models.Model): passclass SomeModel(models.Model): ...

close