> ## Content Index
> Fetch the complete content index at: https://djangowaves.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to check your Django version
- URL: https://djangowaves.com/how-to-check-your-django-version/
- Published: 2019-11-19T23:00:00.000Z
- Updated: 2026-08-13T00:56:30.000Z
- Author: Stan Triepels
- Tags: Django, tips-tricks, version

There are multiple ways to check what Django version you are on. Some are easier than others. I will go over 4 options, if they all don’t work for you, comment below and I will try to help you out.

## Option 1

When you start your server (`python manage.py runserver`), you will get some output right away. That will also tell you on what version you are. Look at the sample data below.

```
Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).
November 20, 2019 - 14:34:16
Django version 2.2.5, using settings 'back.settings'
Starting ASGI/Channels version 2.3.0 development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

```

There it says: `Django version 2.2.5, using settings 'back.settings'`, so your Django version is 2.2.5.

## Option 2

Stop the server and then run `pip freeze | grep Django` (when you are in the virtual environment). The output should be something like this:

```
Django==2.2.5
```

Django is shown there as `Django==2.2.5`, which means that Django is currently on version `2.2.5`.

## Option 3

Stop the server (if you haven’t already) and open up shell python manage.py shell and then enter this:

```
import django
django.get_version()
```

For me, it prints out `2.2.5`, which then is your Django version.

## Option 4

Stop the server (if you haven’t already) and then run this:

```
python manage.py version
```

Which prints `2.2.5` for me.

## Change the Django version

If you want to upgrade Django, then you can run `pip install --upgrade django`. If you would like to downgrade, then you can run `pip install django==<versionnumber>`. Replace `<versionnumber>` with the actual number, like `2.2.1`.

I hope this helps you out.