Django: You have .. unapplied migration(s).


I am learning Python web development. After installing Django and starting the server by running the comment python runserver in the integrated terminal. I got a message in red letters about unapplied migration(s) and the project may not work properly because of this.

$ python runserver
Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).

You have 17 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions.
Run 'python migrate' to apply them.

July 18, 2019 - 04:47:07
Django version 2.2.3, using settings 'web_project.settings'
Starting development server at 
Quit the server with CONTROL-C.

To fix this issue, I tried running the comment python migrate in the same integrated terminal. But nothing happened. Then I realized that I have to stop the Django server before running the migration comment.

You have .. unapplied migration(s)

Solution for unapplied migration(s)

To run the migrate comment:

  1. First, stop the Django server by pressing the keys CONTROL-C.
  2. Then run the comment python migrate in the same integrated terminal or a new one. Now you can see all the required migrations applied to the apps.
Running Django migration comment

Tools & Technologies Involved

  • Python (3.7.3)
  • Django (2.2.3)
  • Visual Studio Code (1.36.0)
  • macOS Mojave (10.14.5)


1 thought on “Django: You have .. unapplied migration(s).”

  1. —————————————-
    Exception happened during processing of request from (‘’, 52587)
    Traceback (most recent call last):
    File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\”, line 650, in process_request_thread
    self.finish_request(request, client_address)
    File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\”, line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
    File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\”, line 720, in __init__
    File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\servers\”, line 171, in handle
    File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\core\servers\”, line 179, in handle_one_request
    self.raw_requestline = self.rfile.readline(65537)
    [17/Sep/2019 16:40:30] “GET /static/admin/fonts/Roboto-Bold-webfont.woff HTTP/1.1” 200 86184
    File “C:\Users\Administrator\AppData\Local\Programs\Python\Python37-32\lib\”, line 589, in readinto
    return self._sock.recv_into(b)
    ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
    [17/Sep/2019 16:40:30] “GET /static/admin/fonts/Roboto-Light-webfont.woff HTTP/1.1” 200 85692
    [17/Sep/2019 16:40:30] “GET /static/admin/fonts/Roboto-Regular-webfont.woff HTTP/1.1” 200 85876
    [17/Sep/2019 16:40:33] “GET / HTTP/1.1” 200 16348
    [17/Sep/2019 16:40:33] “GET /static/admin/css/fonts.css HTTP/1.1” 304 0

    /////////////////////////HELP ME PLEASE/////////////////////


Leave your thoughts...

This site uses Akismet to reduce spam. Learn how your comment data is processed.