Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Django runserver stuck on Performing system checks

Tags:

django

I am running python manage.py runserver or migrate and in both commands it is getting stuck on Performing system checks... Can you please help me out to understand what is the issue and how to solve it?

Admins-MacBook-Pro:driveu_backend gathole$ python manage.py runserver
/Users/gathole/.virtualenvs/du/lib/python2.7/site-packages/social_auth/models.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
  from django.utils.importlib import import_module

/Users/gathole/.virtualenvs/du/lib/python2.7/site-packages/social_auth/utils.py:14: RemovedInDjango19Warning: The utilities in django.db.models.loading are deprecated in favor of the new application loading system.
  from django.db.models.loading import get_model

/Users/gathole/.virtualenvs/du/lib/python2.7/site-packages/social_auth/models.py:4: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
  from django.utils.importlib import import_module

/Users/gathole/.virtualenvs/du/lib/python2.7/site-packages/social_auth/utils.py:14: RemovedInDjango19Warning: The utilities in django.db.models.loading are deprecated in favor of the new application loading system.
  from django.db.models.loading import get_model

Performing system checks...
like image 663
Gathole Avatar asked Oct 23 '25 16:10

Gathole


2 Answers

just try

pip install -U Django

in your virtual environment. I solve this by upgrade my Django version, without uninstall my MySQL 5.7 Server.

like image 114
Bart Chan Avatar answered Oct 25 '25 17:10

Bart Chan


MySQL latest version was causing the issue... Just reverted MySQL version to 5.6 and it worked :)

like image 35
Gathole Avatar answered Oct 25 '25 15:10

Gathole