{"id":18647926,"url":"https://github.com/potchangelo/django-junraider","last_synced_at":"2025-08-04T21:45:18.477Z","repository":{"id":37690017,"uuid":"429727427","full_name":"potchangelo/django-junraider","owner":"potchangelo","description":"ตัวอย่างโปรเจ็ค Django จากคลิป \"สอน Django เบื้องต้น จนใช้ได้จริง\" ของ Zinglecode","archived":false,"fork":false,"pushed_at":"2022-12-24T09:23:23.000Z","size":2630,"stargazers_count":9,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T18:51:18.825Z","etag":null,"topics":["django","mysql","python"],"latest_commit_sha":null,"homepage":"https://django-junraider.onrender.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/potchangelo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-19T08:45:31.000Z","updated_at":"2025-03-19T02:20:04.000Z","dependencies_parsed_at":"2023-01-30T20:30:40.757Z","dependency_job_id":null,"html_url":"https://github.com/potchangelo/django-junraider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/potchangelo/django-junraider","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potchangelo%2Fdjango-junraider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potchangelo%2Fdjango-junraider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potchangelo%2Fdjango-junraider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potchangelo%2Fdjango-junraider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/potchangelo","download_url":"https://codeload.github.com/potchangelo/django-junraider/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/potchangelo%2Fdjango-junraider/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265128466,"owners_count":23715622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","mysql","python"],"created_at":"2024-11-07T06:28:19.820Z","updated_at":"2025-07-13T10:33:33.797Z","avatar_url":"https://github.com/potchangelo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django Junraider\n\nhttps://django-junraider.onrender.com\n\nตัวอย่างโปรเจ็ค Django จากคลิป \"สอน Django เบื้องต้น จนใช้ได้จริง\" ของ Zinglecode\n\nNote: ทำขึ้นมาเพื่อการศึกษาทางการเขียนโปรแกรมเท่านั้น เนื้อหาบนเว็บไม่ใช่สินค้าหรือบริการที่มีอยู่จริง\n\n(Update 4/8/2022) ถ้าใครรัน migrate แล้วเกิด Error ประมาณว่า ValueError naive datetime ... ให้ดูวิธีแก้ปัญหาที่โพสต์นี้ครับ\n\nhttps://www.facebook.com/zinglecode/posts/pfbid02AvL5kXanLA8wCMQFBtMXTfres1NSD9nsqSavEhr9W3QQy1C9hzhDLZAypR8Atadl\n\n(Update 30/9/2022) ย้าย Hosting ของเว็บพรีวิว จาก Heroku ไปยัง Render เนื่องจาก Heroku ยกเลิก Free tier ครับ\n\n\n## YouTube video\n\nSeason 1 : https://www.youtube.com/watch?v=BBL8W-lpNHw\n\nSeason 2 : https://www.youtube.com/watch?v=tTi2QxB1HJ8\n\n\n## Install and Run project by VSCode\n\n0. ติดตั้ง Python 3, Pipenv, MySQL, MySQLWorkbench ลงเครื่องให้เรียบร้อยก่อน\n\n1. ดาวน์โหลดโปรเจ็คนี้ลงเครื่อง\n\n2. เปิดโฟลเดอร์โปรเจ็คใน VSCode\n\n3. เปิดไฟล์ project_jrd/.env.sample แล้วเปลี่ยนชื่อเป็น .env จากนั้นให้เปลี่ยนการตั้งค่าให้สอดคล้องกับเครื่องของคุณ เสร็จแล้วบันทึกไฟล์ได้เลย\n\n4. เปิด VSCode Terminal\n\n5. ติดตั้ง Packages ของโปรเจ็ค\n\n```\npipenv install\n```\n\n6. Activate pipenv environment\n\n```\npipenv shell\n```\n\n7. จัดการ Database migrations ให้เรียบร้อย\n\n```\npython manage.py migrate\n```\n\n8. สร้าง Admin (Super user) ให้เรียบร้อย\n\n```\npython manage.py createsuperuser\n```\n\n9. เปิดเว็บโปรเจ็ค\n\n```\npython manage.py runserver\n```\n\n10. (Optional) ตั้งค่า VSCode Python interpreter ของโปรเจ็คนี้ เพื่อให้ VSCode อ่านข้อมูล Package และแสดง Autocomplete ของโปรเจ็คนี้ได้อย่างสมบูรณ์ วิธีการจะอยู่ในคลิป \"สอน Django เบื้องต้น จนใช้ได้จริง # 1\" (อาจต้องปิด/เปิด VSCode ใหม่ ซักรอบนึง)\n\n\n## Github branches for each lessons\n\n### Season 1\n\n1. [Setup and Run](https://github.com/potchangelo/django-junraider/tree/01-setup)\n2. [Projects x Apps](https://github.com/potchangelo/django-junraider/tree/02-project-apps)\n3. [urls x views](https://github.com/potchangelo/django-junraider/tree/03-urls-views)\n4. [views x templates](https://github.com/potchangelo/django-junraider/tree/04-views-templates)\n5. [templates x tags](https://github.com/potchangelo/django-junraider/tree/05-templates-tags)\n6. [templates x filters](https://github.com/potchangelo/django-junraider/tree/06-templates-filters)\n7. [models x migrations](https://github.com/potchangelo/django-junraider/tree/07-models-migrations)\n8. [models](https://github.com/potchangelo/django-junraider/tree/08-models)\n9. [models x views x templates](https://github.com/potchangelo/django-junraider/tree/09-models-views-templates)\n10. [forms x views x templates](https://github.com/potchangelo/django-junraider/tree/10-forms-views-templates)\n11. [admin](https://github.com/potchangelo/django-junraider/tree/11-admin)\n12. [static images](https://github.com/potchangelo/django-junraider/tree/12-static-images)\n13. [static CSS JS](https://github.com/potchangelo/django-junraider/tree/13-static-css-js)\n14. [settings x dotenv](https://github.com/potchangelo/django-junraider/tree/14-settings-dotenv)\n15. [Deploy to Heroku](https://github.com/potchangelo/django-junraider/tree/15-deploy-heroku)\n16. [Season 1 final code](https://github.com/potchangelo/django-junraider/tree/season-1)\n\n### Season 2\n\n1. [Log in](https://github.com/potchangelo/django-junraider/tree/16-login)\n2. [Log out](https://github.com/potchangelo/django-junraider/tree/17-logout)\n3. [Register](https://github.com/potchangelo/django-junraider/tree/18-register)\n4. [Dashboard](https://github.com/potchangelo/django-junraider/tree/19-dashboard)\n5. [Profile](https://github.com/potchangelo/django-junraider/tree/20-profile)\n6. [Password change](https://github.com/potchangelo/django-junraider/tree/21-password-change)\n7. [Password reset](https://github.com/potchangelo/django-junraider/tree/22-password-reset)\n8. [Custom user model](https://github.com/potchangelo/django-junraider/tree/23-custom-user-model)\n9. [Activate account by email](https://github.com/potchangelo/django-junraider/tree/24-activate-account-by-email)\n10. [Log in by email](https://github.com/potchangelo/django-junraider/tree/25-login-by-email)\n11. [Cookies](https://github.com/potchangelo/django-junraider/tree/26-cookies)\n12. [Favorite food 1](https://github.com/potchangelo/django-junraider/tree/27-favorite-food-1)\n13. [Favorite food 2](https://github.com/potchangelo/django-junraider/tree/28-favorite-food-2)\n14. [404, 403, 500](https://github.com/potchangelo/django-junraider/tree/29-404-403-500)\n15. [Deploy to Heroku again](https://github.com/potchangelo/django-junraider/tree/30-deploy-heroku-2)\n16. [Season 2 final code](https://github.com/potchangelo/django-junraider/tree/season-2)\n\n### On preview web\n\n[Branch ของเว็บพรีวิว](https://github.com/potchangelo/django-junraider/tree/preview) -\u003e จะมีการปรับแต่งโค้ดนิดนึงให้ใช้งานบน Host อย่างเหมาะสม\n\n\n## Credits\n\nhttps://unsplash.com/photos/66IZaW9LIpI\n\nhttps://unsplash.com/photos/AfhSPYdkxiU\n\nhttps://unsplash.com/photos/1Fsb2C7hxQ0\n\nhttps://unsplash.com/photos/OYUzC-h1glg\n\nhttps://www.iconfinder.com/icons/6646608/and_bike_cross_moto_motorcycle_transport_vehicles_icon\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotchangelo%2Fdjango-junraider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpotchangelo%2Fdjango-junraider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpotchangelo%2Fdjango-junraider/lists"}