🔖 Day6 - Send Emails (python-decouple)

🔖 Day6 - Send Emails (python-decouple)
1. [ Email settings] 利用Django 自用send email 給用戶,例如註冊、重置密碼等,要先在 ...

🔖 Day5 - Custom Post Form (form.py)

🔖 Day5 - Custom Post Form (form.py)
1. [Django Form] 要在Django 建立Form作post threads用,可以新建form.py under ...

🔖 Day4 - Custom Login Page and Logout

🔖 Day4 - Custom Login Page and Logout
1. [Custom Login Page] Django有自己的built-in authentication 認證用戶: django.contrib.auth ...

🔖 Day3 - Debug, Deploy to PythonAnyWhere

🔖 Day3 - Debug, Deploy to PythonAnyWhere
1. [Debug] settings.py裡面有一小項名為DEBUG。 顧名思義,就是在出錯時頁面會回傳error codes。 它是一個Boolean ...

🔖 Day2 - Staticfiles, Media, Dynamic URL, order_by

🔖 Day2 - Staticfiles, Media, Dynamic URL, order_by
1. [STATIC_URL] 架設網站少不免用到其他scripts,例如:JS, jQuery, CSS 等。這些為網站添上風格的, 當然每一頁都用得到 ...