Questions tagged [django-upgrade]
28 questions
0
votes
0 answers
Django "DATABASES is improperly configured" error after updating versions
I am trying to update a few-year old existing django project to current django and python 3. We're running into a multitude of issues, but most haven't been to hard to identify and resolve. Currently we are running into the dreaded…

zaknotzach
- 977
- 1
- 9
- 18
0
votes
1 answer
Apple SSO breaks after Django 4 upgrade
After upgrading from django 3 to django 4, the "Sign in with Apple" feature started breaking with the following error
Your request could not be completed because of an error. Please try again later.
The javascript, the frontend html, and the…

wonton
- 7,568
- 9
- 56
- 93
0
votes
0 answers
Django runserver error "TypeError: __init__() takes 1 positional argument but 2 were given"
I understand that somewhere 2 parameters are passed when 1 is needed only, but I can't seem to figure out where.
I was in the process of updating Django from 1.9 to 1.11.
Most answers relate to views, but all my views are class based and had as_view…

mgPePe
- 5,677
- 12
- 52
- 85
0
votes
1 answer
ModuleNotFoundError: No module named 'django.contrib.wagtail'
Recent Error Log (python manage.py runserver):
Django version 3.2.6, using settings 'empoweru.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Exception in thread django-main-thread:
Traceback (most…

Swetha Moorthi
- 1
- 2
0
votes
0 answers
RuntimeError: Model class doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS
So, I upgraded my django version from 1.11 to 2.2 and ran python manage.py runserver. I get the error:
Model class .models. doesn't declare an explicit app_label and isn't in an application in…

EarlyCoder
- 1,213
- 2
- 18
- 42
0
votes
1 answer
Django upgrade from 1.10 to 1.11 DeprecationWarning
I am trying to upgrade my project from Django 1.10 to 1.11:
>>> django.VERSION
(1, 10, 0, 'final', 1)
When I run python -Wall manage.py test, I get the following error…

EarlyCoder
- 1,213
- 2
- 18
- 42
0
votes
1 answer
Can't view django 2.0 admin page after upgrading
I've just been porting to Python3 from 2 and upgrading Django from 1.7 to 2.0 (massive changes I know). I'm using Heroku to host the app.
When I run heroku local or just run the app locally with manage.py runserver the app loads but navigating to…

Joel Cormack
- 39
- 1
- 6
0
votes
0 answers
App Registry Not Ready while upgrading to Django 1.11 from 1.8
I'm facing this issue while upgrading to Django version 1.11.
Here's the list of errors what I'm getting for Djagno auth user model.
File "/customer/models/customer.py"
from django.contrib.auth.models import User
File…

Ankush
- 1,783
- 2
- 10
- 15
0
votes
1 answer
RuntimeError: Conflicting 'userprofile_roles' models in application
I am new in django and i have a project based on django 1.6.X and i want to upgrade it to 1.11.X to add some features but when i did it i found many problems and i solved some of them but this one i don't know what to do with it, it gives me when i…

Ahmed Mohamed
- 231
- 4
- 15
0
votes
1 answer
Upgrading to Django 1.7. Import Error: No module named dashboard
I was upgrading from Django 1.6 to 1.7. Python 2.7 is installed which is compatible with Django 1.7. While I was deprecating with the code "python -Wall manage.py test", I got the following error message:
Traceback (most recent call last):
File…

Dubar Alam
- 79
- 1
- 10
0
votes
0 answers
upgrade from django 1.10.6 to 1.11 runserver giving exception
After upgrading django from 1.10.6 to 1.11 while runserver I am getting following exception.
models.Q is inherited from tree.Node and there is no significant change around this in both the versions that could break usage of Q.
class…

mukul
- 111
- 8
0
votes
1 answer
Issue upgrading Django from 1.8 to 1.9
I am trying to upgrade Django from 1.8 to 1.9 but, when I run migrations it's throwing up error. Below is the stack trace.
Stack trace
This is because of a new migration introduced in Django 1.9 which is to move auth username unicity logic from form…

Conans
- 461
- 1
- 4
- 14
0
votes
1 answer
I'm not able to login after django version upgrade
I'm trying to upgrade an old code from django 1.5 to 1.8 for a client. The project use django.contrib.auth.views.login to verify the login. the urls.py looks as follow:
urlpatterns = patterns('',
url(r'^accounts/login/$',…

Dhia
- 10,119
- 11
- 58
- 69