Django Project Initialization (Pycharm)
6/17/25Less than 1 minute
This is an article about the Django framework
Newly imported project
# Create a virtual environment in the project root directory
python -m venv venv
# If there is a requirements.txt file in the project, you can install it directly:
pip install -r requirements.txt
# Generate database migration files
python manage.py makemigrations
# Generate database migration files
python manage.py migrate
# Start the development server
python manage.py runserver