Blog Application (chapters 1-3): Create a complete blog application
Build data models, views, and URLs
Implement an administration site for your blog
Use canonical URLs for modles and implement SEO-friendly URLs for posts
Build post pagination and learn how to create class-based views
Use forms to allow readers to share posts via email and implement a comment system using model forms
Add tags to posts using django-taggit and recommend similar posts based on shared tags
Implement custom template tags to display latest posts and most commented posts
Implement a custom template filter to render Markdown
Create a sitemap and a RSS feed for your blog
Implement a full-text search engine using PostgreSQL
Let’s review what each new blog app file does:
admin.py is a configuration file for the built-in Django Admin app
apps.py is a configuration file for the app itself
migrations keeps track of any changes to our models.py file so it stays in sync with our database
models.py is where we define our database models which Django automatically translates into database tables
tests.py is for app-specific tests
views.py is where we handle the request/response logic for our web app
admin.py adalah file konfigurasi untuk aplikasi Admin Django bawaan
apps.py adalah file konfigurasi untuk aplikasi itu sendiri
migration untuk melacak setiap perubahan pada file model.py kita sehingga tetap sinkron dengan data base
models.py adalah tempat kita menentukan model basis data yang diterjemahkan secara otomatis oleh Django ke dalam tabel database
test.py adalah untuk pengujian khusus aplikasi
views.py adalah tempat kita menangani logika permintaan/respons untuk aplikasi web