Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Django- configuration startup

Shulou Source: shulou.com Published: 2022-06-03 08:12:24 09月23日 Update

Installation: pip install django

Configure the PATH environment variable: C:\ Python27\ Scripts

Django-admin startproject mytest

Django-admin startapp myapp

To deploy a django application, you need to modify its settings.py, change the INSTALLED_APPS, and add the name of your application, such as

,

Run django: python manage.py runserver

Tags: Application configuration variable name environment run Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Shulou Technology Xiaomi Microsoft Linux