codingforentrepreneurs/Try-Django-2.2
关于
Try Django 2.2 is step-by-step to build a modern, fully open-source, Blog web application using Python, Django, Bootstrap, Javascript, and more.
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Getting Started
Requirements
- Python 3.6 & up
- Virtual Environment (pipenv or virtualenv)
Recommended Prerequisites
- Coding with macOS (course)
- 30 Days of Python (project)
- Getting Started with HTML & CSS (project)
- Bootstrap Basics (project)
1. Setup your System
- Windows: https://kirr.co/6r8wr9
- Mac: https://kirr.co/386c7f
- Linux: https://kirr.co/c3uvuu
2. Create Virtual Environment & Install Django
cd /path/to/dev/folder
mkdir try_django
cd try_django
pipenv --python 3.6 install django==2.2
pipenv shell
Don't have pipenv? Check out this guide
3. Create Django Project
cd /path/to/dev/folder
mkdir src
cd src
django-admin startproject try_django .
4. Setup Project in Sublime Text
I've used Sublime Text for a long time. This is optional but recommended as you work through the videos. Download it on https://www.sublimetext.com/
Reference & Guides
- Getting started with CFE
- System Setup
- Windows: https://kirr.co/6r8wr9
- Mac: https://kirr.co/386c7f
- Linux: https://kirr.co/c3uvuu
- Blank Django Project
- Official Code Repo
Code by Lesson
1 - 4 no reference code
12 - Render Context in Templates
14 - Rendering Any Kind of Template
15 - Template Context Processors
21 - Dynamic URL-based Lookups
22 - Handling Dynamic URL Errors
24 - A New Database Lookup Value
35 - Saving Data from a Django Form
39 - Associate Blog Post to a User with Foreign Keys
41 - Update View with Model Form
42 - Better Validation on Update Views
47 - An Included Template for Consistent Design
48 - Publish Date, Timestamp & Updated
49 - Model Managers and Custom QuerySets
50 - Published and Draft Posts
51 - Static Files and Uploading Files
探索相关项目
加载中…
