{"id":18807038,"url":"https://github.com/zriyansh/django-starter","last_synced_at":"2026-01-08T22:30:17.796Z","repository":{"id":122977004,"uuid":"480875898","full_name":"zriyansh/django-starter","owner":"zriyansh","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-13T16:25:50.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T21:30:03.805Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zriyansh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-12T15:50:45.000Z","updated_at":"2022-04-12T15:52:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"7af7027d-bab6-49d9-948f-45628dc9e4be","html_url":"https://github.com/zriyansh/django-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zriyansh%2Fdjango-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zriyansh%2Fdjango-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zriyansh%2Fdjango-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zriyansh%2Fdjango-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zriyansh","download_url":"https://codeload.github.com/zriyansh/django-starter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239742417,"owners_count":19689309,"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":[],"created_at":"2024-11-07T22:50:37.575Z","updated_at":"2026-01-08T22:30:17.734Z","avatar_url":"https://github.com/zriyansh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# django-starter\n\nThis simple project is done insde a virtual environment. \n\nTo get started, follow these steps. \n\nNote: The below steps are to autogenerate some boilerplate code, just like create-react-app.\n\nmake a dir --\u003e cd to it. \n\n```\nsudo pip3 install virtualenvwrapper\n```\nactivate virtual environment\n```\nvirtualenv py_env\n```\n\n\n```\npip3 install django\n```\n\nTo setup a new project structure. \n```\ndjango-admin startproject \u003cprojectName\u003e\n```\n\n\nTo start server.\n```\npython3 manage.py runserver\n```\n\nIf there are some warnings saying something about 'migrations' run this.\n\n```\npython manage.py migrate\n```\n\nto start a new app that inside the project\n```\ndjango-admin manage.py startapp \u003capp_name\u003e\n``` \nFor help, refer to this [playlist](https://www.youtube.com/watch?v=SIyxjRJ8VNY\u0026list=PLsyeobzWxl7r2ukVgTqIQcl-1T0C2mzau)\n\n\n\n\nProject Structure:\n1. dir django_one is the root project name.\n2. dir calc is an app of the root project (for unknown reasons, I don't understand why can't we keep calc inside django_one dir)\n3. dir templates is the place we keep html files.\n4. local urls are set in calc/urls.py and then included in django_one/urls.py\n5. line 58 of settings.py was modified to ```'DIRS': [os.path.join(BASE_DIR, 'templates' )],```, don't forget to import os at top.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzriyansh%2Fdjango-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzriyansh%2Fdjango-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzriyansh%2Fdjango-starter/lists"}