All Projects → fasouto → Django Starter Template

fasouto / Django Starter Template

Licence: mit
A project template for Django 2.0 that follows best practices.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Django Starter Template

Django Project Template
Project template layout for Django 3.0+
Stars: ✭ 530 (+284.06%)
Mutual labels:  django, project-template
Cosmos Search
🌱 The next generation unbiased real-time privacy and user focused code search engine for everyone; Join us at https://discourse.opengenus.org/
Stars: ✭ 137 (-0.72%)
Mutual labels:  django
Django Rest Angular2 Example
A simple example of a Django REST app + Angular2
Stars: ✭ 132 (-4.35%)
Mutual labels:  django
Cleanerversion
CleanerVersion adds a versioning/historizing layer to your relational DB which implements a "Slowly Changing Dimensions Type 2" behavior
Stars: ✭ 135 (-2.17%)
Mutual labels:  django
Tabbycat
Debating tournament tabulation software for British Parliamentary and a variety of two-team parliamentary formats
Stars: ✭ 132 (-4.35%)
Mutual labels:  django
Django Anon
Anonymize production data so it can be safely used in not-so-safe environments
Stars: ✭ 136 (-1.45%)
Mutual labels:  django
Daily fresh demo
生鲜购物网站
Stars: ✭ 132 (-4.35%)
Mutual labels:  django
Django Scopes
Safely separate multiple tenants in a Django database
Stars: ✭ 138 (+0%)
Mutual labels:  django
Jbt blog
一个基于Django2.0+Python3.6的博客/A simple blog based on python3.6 and Django2.0.
Stars: ✭ 137 (-0.72%)
Mutual labels:  django
Django Dersleri
YouTube Django Dersleri için proje kaynak kodu
Stars: ✭ 135 (-2.17%)
Mutual labels:  django
Saleor
A modular, high performance, headless e-commerce platform built with Python, GraphQL, Django, and React.
Stars: ✭ 14,720 (+10566.67%)
Mutual labels:  django
Yii2 Minimal
Yii 2 minimal application template
Stars: ✭ 133 (-3.62%)
Mutual labels:  project-template
Django Zombodb
Easy Django integration with Elasticsearch through ZomboDB Postgres Extension
Stars: ✭ 136 (-1.45%)
Mutual labels:  django
Hsreplay.net
🔶 Unleash your Potential!
Stars: ✭ 132 (-4.35%)
Mutual labels:  django
Djangoweb
基于Django的运维平台
Stars: ✭ 137 (-0.72%)
Mutual labels:  django
Liftoff
Stars: ✭ 1,633 (+1083.33%)
Mutual labels:  project-template
Django Business Logic
Visual DSL framework for django
Stars: ✭ 134 (-2.9%)
Mutual labels:  django
Django Prices
Django fields for the prices module
Stars: ✭ 135 (-2.17%)
Mutual labels:  django
Django Echarts
A django app for Echarts integration using pyecharts library as chart builder.
Stars: ✭ 138 (+0%)
Mutual labels:  django
Freedombox
Easy to manage, privacy oriented home server. Read-only mirror of https://salsa.debian.org/freedombox-team/freedombox
Stars: ✭ 137 (-0.72%)
Mutual labels:  django

django-starter-template

An easy to use project template for Django 2.0 that follows best practices.

Features

Quickstart

Make sure you have pipenv installed. Then install Django 2.0 in your virtualenv:

pip install django==2.0

To create a new Django project (make sure to change project_name)

django-admin.py startproject --template=https://github.com/fasouto/django-starter-template/archive/master.zip --extension=py,md,html,txt project_name

cd to your project and install the development dependences

pipenv install --dev

If you need a database, edit the settings and create one with

pipenv run python manage.py migrate

Once everything it's setup you can run the development server: http://localhost:8000/

pipenv run python manage.py runserver

How to use it

Settings

Settings are divided by environments: production.py, development.py and testing.py. By default it uses development.py, if you want to change the environment set a environment variable:

export DJANGO_SETTINGS_MODULE="my_project.settings.production"

or you can use the settings param with runserver:

pipenv run python manage.py runserver --settings=my_project.settings.production

If you need to add some settings that are specific for your machine, rename the file local_example.py to local_settings.py. This file it's in .gitignore so the changes won't be tracked.

TODO

  • Add webpack with live SASS reloading.
  • Add gitlab.ci
  • Improve tox.ini
  • Add deployment options.
  • Add some example code and tests.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].