![]() The next method in this tutorial is by using python IDLE. The output somewhat looks like: Django=3.2.9 This will show you all the versions of all the modules installed in your system. Do you want to know how? Let us move to the code section. ![]() You can also check the Django version using pip. You might have noticed version 4.0.2 in the above output. Watching for file changes with StatReloader System check identified no issues (0 silenced).ĭjango version 4.0.2, using settings 'ttings'Į:\codespeedy\codespeedy_final\myproject\myapiapp\views.py changed, reloading. Here is the output, Watching for file changes with StatReloader Do you remember what is the output when you write python manage.py runserver in your terminal. The third method is known to almost all of us, but we might not have paid much attention to it. The second method is django-admin –versionĪgain it will only return 3.2.9 as output. ![]() This method is almost similar to the first one and also gives the same output as the above method. If python doesn’t work replace it with python3. ![]() This code will return the version of your Django in the format 3.2.9. The very first method to check the version of Django is simply to write python -m django –version in your terminal. So no worries, by the end of this tutorial I hope you will be able to find the version of Django in your machine and also additionally at the end of this tutorial you will also get to know how to install a specific version of Django. You might be wondering what is the version of Django you are using right now, you might be stuck sometimes where the version does not support certain functions. As you have read the title, this tutorial is all about checking the version of Django. ![]()
0 Comments
Leave a Reply. |