{"repo":"saqibur/django-project-structure","free":true,"listed":false,"github":"https://github.com/saqibur/django-project-structure","clone":"git clone https://github.com/saqibur/django-project-structure.git","description":"This is a template/project structure for developing Django-based applications - using Django Rest Framework along with Django. The project is used by many to kickstart new Django projects with clear guidelines and reasoning.","language":"Python","stars":164,"topics":["django","django-rest-framework","project-template"],"license":"Apache-2.0","category":"saas-starters-boilerplates","readme_excerpt":"Django Project Structure This is a template/project structure for developing django-based applications - using django-rest-framework along with django . The project is meant to be easily clone-able, and used as the starter template for the next big thing you develop. Note, this is a folder structure only, not “best practices”. Some batteries included: Django Storages - To integrate with different types of storages Django Rest Framework - For API development Django CORS Headers - To allow requests from other origins Sentry - For crashes Gunicorn - As a web server Getting Started 1. Since this is a template repository, simply hit \"Use this template\" on GitHub and follow the instructions. Otherwise, you can just clone the repo, remove/add anything you see fit. 1. Run the project using python manage.py runserver and you should see the default success page provided by Django at http://127.0.0.1:8000/. Or python manage.py runserver if you need to run using a different port. 1. [Optional] If you want to configure database, in the DATABASE section of settings.py we have added postgresql as the default DATABASE (As most of the application are using it). You can roll back to the sqlite by adding the following code snippet, removing the current one. Creating an App 1. Create a folder with the app name in apps . For example: poll 1. Run python manage.py startapp poll apps/poll from the root directory of the project Project Tree Rationale Each app should be designed in way to be plug-able","default_branch":null,"files":null,"tree":[],"storefront":"/r/saqibur","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/saqibur/django-project-structure/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}