摘要:
设置中文化 LANGUAGE_CODE = 'zh-hans' 设置中国时区TIME_ZONE = 'Asia/Shanghai' 设置APP INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.cont 阅读全文
摘要:
创建项目 django-admin startproject mysite 创建APP $ python manage.py startapp app_label 运行项目 $ python manage.py runserver 你应该会看到如下输出: Performing system chec 阅读全文