Skip to content

Commit 17aa930

Browse files
committed
Django
1 parent 3ee8c9f commit 17aa930

File tree

221 files changed

+5498
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

221 files changed

+5498
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

README.md

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
<a href="https://github.com/drshahizan/learn-django/stargazers"><img src="https://img.shields.io/github/stars/drshahizan/learn-django" alt="Stars Badge"/></a>
2+
<a href="https://github.com/drshahizan/learn-django/network/members"><img src="https://img.shields.io/github/forks/drshahizan/learn-django" alt="Forks Badge"/></a>
3+
<a href="https://github.com/drshahizan/learn-django/pulls"><img src="https://img.shields.io/github/issues-pr/drshahizan/learn-django" alt="Pull Requests Badge"/></a>
4+
<a href="https://github.com/drshahizan/learn-django/issues"><img src="https://img.shields.io/github/issues/drshahizan/learn-django" alt="Issues Badge"/></a>
5+
<a href="https://github.com/drshahizan/learn-django/graphs/contributors"><img alt="GitHub contributors" src="https://img.shields.io/github/contributors/drshahizan/learn-django?color=2b9348"></a>
6+
![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Fdrshahizan%2Flearn-django&labelColor=%23d9e3f0&countColor=%23697689&style=flat)
7+
8+
Don't forget to hit the :star: if you like this repo.
9+
10+
# Django
11+
Django is a high-level web framework for building web applications in Python. It provides a powerful set of tools and libraries for building secure, scalable, and maintainable web applications quickly and efficiently. Django follows the Model-View-Controller (MVC) architectural pattern, and provides features such as an Object-Relational Mapper (ORM) for working with databases, a templating engine for rendering HTML pages, and a built-in admin interface for managing application content. With its rich ecosystem of third-party packages and plugins, Django is a popular choice for web developers around the world. [**More info..**](./materials/django)
12+
13+
<p align="center">
14+
<img src="./materials/django/images/django_flow.png" width="600" />
15+
</p>
16+
17+
## 🔥 Assignment ⚡
18+
19+
1. [Topic](./materials/assignment/topic.md)
20+
2. [Instructions](./materials/assignment/assignment.md)
21+
22+
| No | Group | Title |File |
23+
| :-----: |------ | ------ | :-----: |
24+
| 1 | Rivertion | Student Information System | <a href="./materials/assignment/submission/Rivertion" ><img src="./images/task.png" width="24px" height="24px" ></a> |
25+
| 2 | CodeX | Booking System | <a href="./materials/assignment/submission/CodeX/" ><img src="./images/task.png" width="24px" height="24px" ></a> |
26+
| 3 | DataAce | Food Delivery System | <a href="./materials/assignment/submission/DataAce" ><img src="./images/task.png" width="24px" height="24px" ></a> |
27+
| 4 | DataSphere | Blogging PLatform | <a href="./materials/assignment/submission/DataSphere" ><img src="./images/task.png" width="24px" height="24px" ></a> |
28+
| 5 | Gadgeteen | Online Education Platform | <a href=".materials/assignment/submission/Gadgeteen" ><img src="./images/task.png" width="24px" height="24px" ></a> |
29+
| 6 | MichelinStar | Social Network App | <a href="./materials/assignment/submission/MichelinStar/" ><img src="./images/task.png" width="24px" height="24px" ></a> |
30+
| 7 | Noctua | Job Portal | <a href="./materials/assignment/submission/Noctua" ><img src="./images/task.png" width="24px" height="24px" ></a> |
31+
| 8 | Regex | E-Commerce Platform | <a href="./materials/assignment/submission/Regex" ><img src="./images/task.png" width="24px" height="24px" ></a> |
32+
| 9 | StaticIP | Event Management System | <a href="./materials/assignment/submission/StaticIP/" ><img src="./images/task.png" width="24px" height="24px" ></a> |
33+
34+
35+
## Python Web Frameworks
36+
37+
Python is a popular high-level programming language used for web development. It has gained popularity in recent years due to its simplicity, readability, and wide range of libraries and frameworks. Python web development involves the creation of web applications and websites using Python programming language. [**More info..**](./materials/pwf)
38+
39+
## Django Concept
40+
Django is a high-level web framework for building web applications quickly and easily in Python. It follows the Model-View-Controller (MVC) architectural pattern and encourages the use of reusable code by providing a clean and consistent API. Django includes features such as an object-relational mapper (ORM) for working with databases, a templating engine for rendering HTML, built-in user authentication and security features, and support for handling HTTP requests and responses. Overall, Django simplifies web development by providing a comprehensive toolkit that helps developers focus on writing application logic rather than boilerplate code. [**More info..**](./materials/django)
41+
42+
## Django Key Points
43+
44+
| No | Topic | Description |
45+
|----|---------------|---------------------------|
46+
| 1 | [Setting up a Django Project](./materials/django/topic/1-setting.md) | Learn how to install and configure Django on your computer. |
47+
| 2 | [Creating a Django App](./materials/django/topic/2-create.md) | Learn how to create a new Django app and add it to your project. |
48+
| 3 | [Models in Django](./materials/django/topic/3-model.md) | Learn about Django's ORM and how to create models to represent your data. |
49+
| 4 | [Views and Templates](./materials/django/topic/4-view.md) | Learn how to create views that handle requests and generate HTML using templates. |
50+
| 5 | [URL routing in Django](./materials/django/topic/5-url.md) | Learn how to map URLs to views in your Django app. |
51+
| 6 | [Forms in Django](./materials/django/topic/6-form.md) | Learn how to create HTML forms and handle user input with Django forms. |
52+
| 7 | [Admin interface in Django](./materials/django/topic/7-admin.md) | Learn how to use Django's built-in admin interface for managing your app's data. |
53+
| 8 | [Authentication and Authorization in Django](./materials/django/topic/8-authentication.md) | Learn how to add user authentication and authorization to your Django app. |
54+
| 9 | [Deploying a Django app](./materials/django/topic/9-deploying.md) | Learn how to deploy your Django app to a production server. |
55+
56+
## Data science project using Django
57+
58+
| Project Name | Description | Real Case Study |
59+
| --- | --- | --- |
60+
| Customer Segmentation | Use clustering algorithms to segment customers based on their behavior and characteristics. | A clothing company wants to identify different customer segments based on their purchase history and behavior, to create targeted marketing campaigns for each segment. |
61+
| Predictive Analytics | Use machine learning models to make predictions about future outcomes based on historical data. | A healthcare company wants to predict the likelihood of a patient developing a certain condition based on their medical history and other demographic factors. |
62+
| Recommender System | Use machine learning algorithms to recommend products or services to users based on their preferences and behavior. | An e-commerce website wants to recommend products to users based on their purchase history, browsing behavior, and other demographic factors. |
63+
| Fraud Detection | Use machine learning models to identify fraudulent transactions based on historical data. | A financial institution wants to detect fraudulent transactions in real-time to prevent financial loss and protect their customers. |
64+
| Sentiment Analysis | Use natural language processing techniques to analyze and classify text data based on the sentiment expressed. | A social media company wants to analyze the sentiment of user comments and posts to understand how users feel about their platform and identify areas for improvement. |
65+
66+
## Useful links
67+
68+
### 1. E-book
69+
| Resource | Description |
70+
| -------- | ----------- |
71+
| [Django Project Blueprints](./materials/django/e-book.md#1-django-project-blueprints) | Django is a high-level web framework that eases the creation of complex, database-driven websites. It emphasizes on the reusability and pluggability of components, rapid development, and the principle of don't repeat yourself. It lets you build high-performing, elegant web applications quickly. There are several Django tutorials available online, which take as many shortcuts as possible, but leave you wondering how you can adapt them to your own needs.|
72+
| [Django For Beginners](./materials/django/e-book.md#2-django-for-beginners) | Welcome to Django for Beginners, a project-based approach to learning web development with the Django web framework. In this book you will build five progressively more complex web applications, starting with a simple Hello, World app, progressing to a Pages app, a Message Board app, a Blog app with forms and user accounts, and finally a Newspaper app that uses a custom user model, email integration, foreign keys, authorization, permissions, and more. By the end of this book you should feel confident creating your own Django projects from scratch using current best practices. |
73+
| [Django 4 by Example](./materials/django/e-book.md#3-django-4-by-example) | Django 4 by Example (4th edition) will guide you through the entire process of developing professional web applications with Django. The book not only covers the most relevant aspects of the framework, but it will also teach you how to integrate other popular technologies into your Django projects. |
74+
| [Python Crash Course](./materials/django/e-book.md#4-python-crash-course-3rd-edition) | Python Crash Course is the world’s best-selling guide to the Python programming language. This fast-paced, thorough introduction will have you writing programs, solving problems, and developing functioning applications in no time.|
75+
76+
### 2. Github Repository
77+
78+
| Github| Description |
79+
| --- | --- |
80+
| [Django Girls website](https://github.com/DjangoGirls/djangogirls) | A blog website created by the Django Girls organization that teaches beginners how to build a blog using Django. |
81+
| [MDN Django Tutorial ](https://github.com/mdn/django-locallibrary-tutorial) | A tutorial website created by Mozilla that teaches how to build a library website using Django. |
82+
| [Awesome Django](https://github.com/shahraizali/awesome-django) | An awesome package is one that is mature, is well maintained, has a good amount of users, has good documentation, follows the best practices, and which latest release is less than 1 year old. Awesome Django packages and projects are the ones that inspire and serve as examples. |
83+
| [Django Girls Tutorial Extensions](https://github.com/DjangoGirls/tutorial-extensions) | A collection of tutorials that extend the Django Girls tutorial and cover additional topics. |
84+
85+
### 3. Website
86+
87+
| Resource | Description |
88+
| -------- | ----------- |
89+
| [Django's official website](https://docs.djangoproject.com/en/4.2/) | Django's documentation has a list of sample projects and code snippets that you can use to learn Django. This is a great place to start for beginners. |
90+
| [GitHub](https://github.com/django/djangoproject.com) | GitHub is a popular code hosting platform where developers can collaborate on projects. You can search for Django projects and find ones with the "good first issue" label, which means they are beginner-friendly. |
91+
| [DjangoGirls Tutorial](https://tutorial.djangogirls.org/en/) | DjangoGirls is a nonprofit organization that aims to teach women and girls how to code using Django. They offer a free tutorial that teaches you how to build a blog application using Django. |
92+
| [Real Python](https://realpython.com/get-started-with-django-1/) | Real Python is a website that offers tutorials and courses on Python and Django. They have a free course that teaches you how to build a simple Django project. |
93+
94+
### Web
95+
- [Meet Django](https://www.djangoproject.com/)
96+
- [Github: django](https://github.com/django/django)
97+
- [Django Tutorial: w3schools](https://www.w3schools.com/django/index.php)
98+
- [Setup Django in Visual Studio Code: 2023 Edition](https://youtu.be/f1NQnhFFV-E)
99+
- [A Practical Introduction to Web Scraping in Python](https://realpython.com/python-web-scraping-practical-introduction/)
100+
- [Creating and Viewing HTML files with Python](https://www.geeksforgeeks.org/creating-and-viewing-html-files-with-python/)
101+
- [Running Django on Google Colab](https://medium.com/@arsindoliya/running-django-on-google-colab-ea9392cdee86)
102+
- [Django tutorial](https://www.w3schools.com/django/index.php)
103+
- [9 Best Django Website Templates 2023](https://adminlte.io/blog/django-website-templates/)
104+
- [College Management System using Django – Python Project](https://www.geeksforgeeks.org/college-management-system-using-django-python-project/)
105+
- [Best Python Django Tutorial For Beginners – With Project Structure](https://data-flair.training/blogs/python-django-tutorial/)
106+
- [Django Dashboards — Open Source and Free](https://medium.com/@appseed.us/django-dashboards-open-source-and-free-projects-1d8e64919e6d)
107+
108+
#### Django: Project
109+
- [Build a Social Media App with Django – Python Web Framework Tutorial](https://youtu.be/xSUm6iMtREA)
110+
- 💻 [Source code](https://github.com/tomitokko/django-social-media-website)
111+
- 💻 [Template files](https://github.com/tomitokko/django-social-media-template)
112+
These resources provide a range of options for beginners to find and learn from Django projects.
113+
114+
## Tools
115+
Diagrams are visual representations of information or data that help convey complex concepts, processes or systems in a clear and concise manner. Flowcharts are diagrams that use shapes and arrows to illustrate the steps in a process or algorithm [**[More info...]**](https://github.com/drshahizan/software-engineering/blob/main/materials/tools.md).
116+
117+
| No | Tools | File |
118+
| :-----: | ------ | :-----: |
119+
| 1 | Figma | <a href="https://github.com/drshahizan/software-engineering/blob/main/materials/figma.md" ><img src="./images/figma.svg" width="24px" height="24px" ></a> |
120+
| 2 | Draw.io| <a href="https://github.com/drshahizan/software-engineering/blob/main/materials/uml/drawio/1-draw-io.md" ><img src="./images/drawio.svg" width="24px" height="24px" ></a> |
121+
| 3 | Github Pages| <a href="https://github.com/drshahizan/learn-github/blob/main/materials/pages.md" ><img src="./images/github.svg" width="24px" height="24px" ></a> |
122+
| 4 | Behance| <a href="https://www.behance.net/" ><img src="./images/behance.svg" width="24px" height="24px" ></a> |
123+
| 5 | Visual Studio Code| <a href="https://code.visualstudio.com/" ><img src="./images/vsc.svg" width="24px" height="24px" ></a> |
124+
| 6 | Bootstrap Studio| <a href="https://bootstrapstudio.io/" ><img src="./images/bootstrap-studio.png" width="24px" height="24px" ></a> |
125+
126+
## Contribution 🛠️
127+
Please create an [Issue](https://github.com/drshahizan/learn-django/issues) for any improvements, suggestions or errors in the content.
128+
129+
You can also contact me using [Linkedin](https://www.linkedin.com/in/drshahizan/) for any other queries or feedback.
130+
131+
[![Visitors](https://api.visitorbadge.io/api/visitors?path=https%3A%2F%2Fgithub.com%2Fdrshahizan&labelColor=%23697689&countColor=%23555555&style=plastic)](https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2Fdrshahizan)
132+
![](https://hit.yhype.me/github/profile?user_id=81284918)
133+

gitattributes

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
## Unity ##
2+
3+
*.cs diff=csharp text
4+
*.cginc text
5+
*.shader text
6+
7+
*.mat merge=unityyamlmerge eol=lf
8+
*.anim merge=unityyamlmerge eol=lf
9+
*.unity merge=unityyamlmerge eol=lf
10+
*.prefab merge=unityyamlmerge eol=lf
11+
*.physicsMaterial2D merge=unityyamlmerge eol=lf
12+
*.physicMaterial merge=unityyamlmerge eol=lf
13+
*.asset merge=unityyamlmerge eol=lf
14+
*.meta merge=unityyamlmerge eol=lf
15+
*.controller merge=unityyamlmerge eol=lf
16+
17+
18+
## git-lfs ##
19+
20+
#Image
21+
*.jpg filter=lfs diff=lfs merge=lfs -text
22+
*.jpeg filter=lfs diff=lfs merge=lfs -text
23+
*.png filter=lfs diff=lfs merge=lfs -text
24+
*.gif filter=lfs diff=lfs merge=lfs -text
25+
*.psd filter=lfs diff=lfs merge=lfs -text
26+
*.ai filter=lfs diff=lfs merge=lfs -text
27+
*.tif filter=lfs diff=lfs merge=lfs -text
28+
29+
#Audio
30+
*.mp3 filter=lfs diff=lfs merge=lfs -text
31+
*.wav filter=lfs diff=lfs merge=lfs -text
32+
*.ogg filter=lfs diff=lfs merge=lfs -text
33+
34+
#Video
35+
*.mp4 filter=lfs diff=lfs merge=lfs -text
36+
*.mov filter=lfs diff=lfs merge=lfs -text
37+
38+
#3D Object
39+
*.FBX filter=lfs diff=lfs merge=lfs -text
40+
*.fbx filter=lfs diff=lfs merge=lfs -text
41+
*.blend filter=lfs diff=lfs merge=lfs -text
42+
*.obj filter=lfs diff=lfs merge=lfs -text
43+
44+
#ETC
45+
*.a filter=lfs diff=lfs merge=lfs -text
46+
*.exr filter=lfs diff=lfs merge=lfs -text
47+
*.tga filter=lfs diff=lfs merge=lfs -text
48+
*.pdf filter=lfs diff=lfs merge=lfs -text
49+
*.zip filter=lfs diff=lfs merge=lfs -text
50+
*.dll filter=lfs diff=lfs merge=lfs -text
51+
*.unitypackage filter=lfs diff=lfs merge=lfs -text
52+
*.aif filter=lfs diff=lfs merge=lfs -text
53+
*.ttf filter=lfs diff=lfs merge=lfs -text
54+
*.rns filter=lfs diff=lfs merge=lfs -text
55+
*.reason filter=lfs diff=lfs merge=lfs -text
56+
*.lxo filter=lfs diff=lfs merge=lfs -text
57+
*.bc filter=lfs diff=lfs merge=lfs -text

images/behance.svg

Lines changed: 1 addition & 0 deletions
Loading

images/bootstrap-studio.png

10.2 KB
Loading

images/calendar-24.svg

Lines changed: 1 addition & 0 deletions
Loading

images/css64.png

1.49 KB
Loading

images/data_folder.png

31.8 KB
Loading

images/db64.png

1.32 KB
Loading

images/docx.png

1.11 KB
Loading

0 commit comments

Comments
 (0)