🔖 Day18 - Django views for editing and deleting a post

🔖 Day18 - Django views for editing and deleting a post
0. [TL:DR] To submit a new post or comment ...

🔖 Day17 - Markdown DIY prevent XSS attack (Part 1)

🔖 Day17 - Markdown DIY prevent XSS attack (Part 1)
In Django, there is CSRF protection against the Cross-Site Request ...

🔖 Day16 - Social Login with social-auth-app-django

🔖 Day16 - Social Login with social-auth-app-django
These days, rather than login with ID + PW, we often ...

🔖 Day15 - Customized Django Admin

🔖 Day15 - Customized Django Admin
除了customized form, Django的admin page其實也可以被customized。 要管理的項目都收納在<app>/admin.py裡面。 例如要管理comments ...

🔖 Day14 - Post comment, ForeignKey

🔖 Day14 - Post comment, ForeignKey
extend User Profile時,利用了models.OneToOneField把每一個User object連接一個Profile ...