Writing your first Django app, part 4 Write a minimal form Use generic views: Less code is better Amend URLconf Amend views Writing your first Django app, part 4 This tutor...
Writing your first Django app, part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Creating an admin user Start the devel...
Writing your first Django app, part 3 Overview Writing more views Write views that actually do something A shortcut: render() Raising a 404 error A shortcut: get_object_or_...
Writing your first Django app, part 5 Introducing automated testing What are automated tests? Why you need to create tests Tests will save you time Tests don’t just identify prob...
Writing your first Django app, part 1 Creating a project The development server Creating the Polls app Write your first view path() argument: route path() argument: view ...
Writing your first Django app, part 6 Customize your app’s look and feel Adding a background-image Writing your first Django app, part 6 This tutorial begins where Tutorial ...
Writing your first Django app, part 3 Overview Writing more views Write views that actually do something A shortcut: render() Raising a 404 error A shortcut: get_object_or_4...
Writing your first Django app, part 2 Database setup Creating models Activating models Playing with the API Introducing the Django Admin Creating an admin user Start the devel...
15.2 Write the comments first 首先写注释 15.2 Write the comments first 首先写注释 I use a different approach to writing comments, where I write the comments at the very beginning: 我使用一...
Writing your first Django app, part 7 Customize the admin form Adding related objects Customize the admin change list Customize the admin look and feel Customizing your project’...