{"id":27996458,"url":"https://github.com/norakgithub/cookiecutter-simple-django","last_synced_at":"2025-07-22T13:06:31.994Z","repository":{"id":43250726,"uuid":"100288407","full_name":"NorakGithub/cookiecutter-simple-django","owner":"NorakGithub","description":"Template for create the minimized Django Project.","archived":false,"fork":false,"pushed_at":"2022-11-22T01:58:34.000Z","size":18,"stargazers_count":2,"open_issues_count":6,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-08T21:43:57.384Z","etag":null,"topics":["cookiecutter","django","django-rest-framework"],"latest_commit_sha":null,"homepage":"","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/NorakGithub.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}},"created_at":"2017-08-14T16:36:53.000Z","updated_at":"2019-12-07T02:03:56.000Z","dependencies_parsed_at":"2023-01-23T00:01:10.079Z","dependency_job_id":null,"html_url":"https://github.com/NorakGithub/cookiecutter-simple-django","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NorakGithub/cookiecutter-simple-django","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorakGithub%2Fcookiecutter-simple-django","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorakGithub%2Fcookiecutter-simple-django/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorakGithub%2Fcookiecutter-simple-django/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorakGithub%2Fcookiecutter-simple-django/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NorakGithub","download_url":"https://codeload.github.com/NorakGithub/cookiecutter-simple-django/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorakGithub%2Fcookiecutter-simple-django/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266499275,"owners_count":23938823,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["cookiecutter","django","django-rest-framework"],"created_at":"2025-05-08T21:43:50.520Z","updated_at":"2025-07-22T13:06:31.973Z","avatar_url":"https://github.com/NorakGithub.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Django Template\nTemplate for create the minimized Django Project.\n\n\n## Description\nFirst of all, this project structure is heavily inspired by [cookiecutter-django](https://github.com/pydanny/cookiecutter-django). I found is has a really good project structure, but I have problem where they intergrated many thing to the template, and I found myself removing most of the things from the project. This is why I try to make this cookiecutter as less intergration as possible.\n\n\n## What you will get\n- Django 1.11.4\n- Django REST Framework 3.6.3\n- Pre-configuration with PostgreSQL\n- Multiple settings for local development and production\n\n\n## Setup Guide\n\nThis template need the help from Cookie Cutter, so you should install it if you haven't yet.\n```bash\n$ pip install cookiecutter\n```\n\n\nNow you can run command below to create a new Django project.  \n**Note:** Project directory will be created at the current directory you are in.\n```bash\n$ cookiecutter https://github.com/NorakGithub/cookiecutter-simple-django\n```\n\n\nYou will be asked to enter some information regarding your project.\n- **repo-name** This will be the name of your repository name, or you can call the root directory of you project.\n- **project-name** This will be the name of your project directory. Project directory is where you store all your django source code.\n- **database-name** The name of your database. This cookie cutter was pre-configuration with Postgres Database.\n\n\nThen change to your repository directory and add git.\n```bash\n$ cd my-repository\n$ git init\n```\n\n\nNow, before we can run our project we need to install the required packages.  \nWe recommend using [pyenv](https://github.com/pyenv/pyenv) and [pyenv-virtualenv](https://github.com/pyenv/pyenv-virtualenv) to create environment for your multiple python project.\n```bash\n$ pip install requirement.txt\n```\n\n\nRun your project\n```bash\n$ python manage.py runserver\n```\n\nIt's done! Now you can test your project running at **http://localhost:8000/**.\n\n\n## Sample App\nWe have made a sample authentications Django app, just to give you some idea what the project structure should be. Feel free to remove if you don't need it.\n\n\n#### Tip on removing sample app\n- Remove this `repo-name/project-name/apps/authentications/` directory.\n- Remove authentications from `INSTALLED_APP` list.\n- Remove authentications url from `web_urls` in `repo-name/project-name/config/routers/web_urls.py`\n\n\n## Project Structure Ideology\n```\n+-- root\n|   +-- project name\n|   |   +-- apps\n|   |   +-- config\n|   |   |   +-- settings\n|   |   |   |   +-- base.py\n|   |   |   |   +-- local.py\n|   |   |   |   +-- production.py\n|   |   |   +-- routers\n|   |   |   |   +-- api_urls.py\n|   |   |   |   +-- web_urls.py\n|   |   |   +-- urls.py\n|   |   +---locale\n|   |   +---templates\n```\n#### Apps\n- **apps** This directory is where all of your app should be\n\n\n#### Settings\n- **base.py** This will be the common settings that can be used in both local development and production\n- **local.py** This is where you add the settings for only your local development\n- **production.py** This is where you add the settings for your production running\n\n#### Routers\n - **api_urls.py** This is where you list all your api urls\n - **web_urls.py** This is where you list all your web urls\n \n#### URLs\n- **urls.py** Your main url\n\n#### Locale\n- This is where you keep all of your localized file\n\n#### Templates\n- This is where you keep all your templates file that could be shared in multiple apps.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorakgithub%2Fcookiecutter-simple-django","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorakgithub%2Fcookiecutter-simple-django","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorakgithub%2Fcookiecutter-simple-django/lists"}