Python

Running python script on notepad++ closes the command line instantly

add below line at last
x=input(“press close to exit”)

how to find the python installed directory from command line

use the command : where python

command to run python server

python manage.py runserver

command to create sql query in Django

python manage.py makemigrations

command to create table in mysql in Django

python manage.py migrate

How to create super user for admin page

python manage.py createsuperuser

extend base.html problem

make sure you are mentioning {% block page_content %} instead of
{% block content %} in child class

Was this article helpful?

Leave A Comment?