{"id":19430758,"url":"https://github.com/jmrashed/django-python-starter-kit-for-beginner","last_synced_at":"2025-10-17T22:23:00.644Z","repository":{"id":84181067,"uuid":"535822259","full_name":"jmrashed/Django-Python-Starter-Kit-for-Beginner","owner":"jmrashed","description":"Django was invented by Lawrence Journal-World in 2003, Initial release to the public was in July 2005. Latest version of Django is 4.0.3 (March 2022). This repository will help you, when you will get ready. ","archived":false,"fork":false,"pushed_at":"2022-09-13T06:27:49.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T05:05:15.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/jmrashed.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-12T19:34:25.000Z","updated_at":"2022-09-13T06:15:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"09ec8ca0-87c0-4961-9b7c-40f189f75da0","html_url":"https://github.com/jmrashed/Django-Python-Starter-Kit-for-Beginner","commit_stats":null,"previous_names":["mrzstack/django-python-starter-kit-for-beginner","jmrashed/django-python-starter-kit-for-beginner"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jmrashed/Django-Python-Starter-Kit-for-Beginner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2FDjango-Python-Starter-Kit-for-Beginner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2FDjango-Python-Starter-Kit-for-Beginner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2FDjango-Python-Starter-Kit-for-Beginner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2FDjango-Python-Starter-Kit-for-Beginner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmrashed","download_url":"https://codeload.github.com/jmrashed/Django-Python-Starter-Kit-for-Beginner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmrashed%2FDjango-Python-Starter-Kit-for-Beginner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272878226,"owners_count":25008341,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-10T14:26:26.459Z","updated_at":"2025-10-17T22:23:00.552Z","avatar_url":"https://github.com/jmrashed.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Django-Python-Starter-Kit-for-Beginner\n\nDjango was invented by Lawrence Journal-World in 2003, Initial release to the public was in July 2005. Latest version of Django is 4.0.3 (March 2022).\nThis repository will help you, when you will get ready. \n## What is Django?\n\nDjango is a Python framework that makes it easier to create web sites using Python. Django takes care of the difficult stuff so that you can concentrate on building your web applications.\n\n## How does Django Work?\n\nDjango follows the MVT design pattern (Model View Template).\n\n- Model - The data you want to present, usually data from a database.\n- View - A request handler that returns the relevant template and content - based on the request from the user.\n- Template - A text file (like an HTML file) containing the layout of the web page, with logic on how to display the data.\n\n### Model\n\nIn Django, the data is delivered as an Object Relational Mapping (ORM). The most common way to extract data from a database is SQL. Django, with ORM, makes it easier to communicate with the database, without having to write complex SQL statements.\n\nThe models are usually located in a file called `models.py`.\n\n### View\n\nA view is a function or method that takes http requests as arguments, imports the relevant model(s), and finds out what data to send to the template, and returns the final result.\n\nThe views are usually located in a file called `views.py`.\n\n### Template\n\nTemplates are often .html files, with HTML code describing the layout of a web page, but it can also be in other file formats to present other results, but we will concentrate on .html files.\nDjango uses standard HTML to describe the layout, but uses Django tags to add logic:\n\n```python\n\u003cp\u003eMy name is {{ firstname }}.\u003c/p\u003e\n```\n\nThe templates of an application is located in a folder named `templates`.\n\n### URLs\n\nDjango also provides a way to navigate around the different pages in a website. When a user requests a URL, Django decides which view it will send it to.\n\nThis is done in a file called `urls.py`.\n\n## Django Requires Python\n\nTo check if your system has Python installed, run this command in the command prompt:\n\n```\nPS C:\\Users\\Jmrashed\u003e python --version\nPS C:\\Users\\Jmrashed\u003e Python 3.10.6\n```\n\nIf you find that you do not have Python installed on your computer, then you can download it for free from the following website: https://www.python.org\n\n## Django Requires PIP (package manager)\n\nTo install Django, you must use a package manager like PIP, which is included in Python from version 3.4.To check if your system has PIP installed, run this command in the command prompt:\n\n```\nPS C:\\Users\\Jmrashed\u003e pip --version\npip 22.2.2 from C:\\Users\\Jmrashed\\AppData\\Local\\Programs\\Python\\Python310\\lib\\site-packages\\pip (python 3.10)\n```\n\nIf you do not have PIP installed, you can download and install it from this page: https://pypi.org/project/pip\n\n## Django Virtual Environment\n\nIt is suggested to have a dedicated virtual environment for each Django project, and one way to manage a virtual environment is venv, which is included in Python.\n\n`py -m venv myproject`\n\nThis will set up a virtual environment, and create a folder named \"myproject\" with subfolders and files, like this:\n\n```\nmyproject\n  Include\n  Lib\n  Scripts\n  pyvenv.cfg\n```\n\nThen you have to activate the environment, by typing this command:\n`myproject\\Scripts\\activate.bat`\n\n## Install Django\n\nFinally, we can install Django. Django is installed using pip, with this command:\n\n`(myproject) C:\\Users\\Jmrashed\u003e py -m pip install Django`\n\n## Check Django Version\n\nYou can check if Django is installed by asking for its version number like this:\n\n`(myproject) C:\\Users\\Jmrashed\u003edjango-admin --version`\nIf Django is installed, you will get a result with the version number:\n`4.0.3`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrashed%2Fdjango-python-starter-kit-for-beginner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmrashed%2Fdjango-python-starter-kit-for-beginner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmrashed%2Fdjango-python-starter-kit-for-beginner/lists"}