Skip to content

My Django starter template. Going to change a little from time to time. But even now it saves a lot of time!

Notifications You must be signed in to change notification settings

defenitionofreal/django-starter-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django starter template

My Django starter template. Going to change a little from time to time. But even now it saves a lot of time!

Install

mkdir new_project
cd new_project
python3 -m venv venv
source venv/bin/activate
mkdir src
cd src
git clone https://github.com/defenitionofreal/django-starter-template.git
pip install -r requirements.txt

Generate random secret key - https://djecrety.ir/

Or do something like this:

from django.core.management.utils import get_random_secret_key  
get_random_secret_key()

Different branches for different projects.

  • main branch - simple django template
  • api-jwt branch - starter template with rest framework, custom user and simple-jwt set up
  • docker/celery branch planning...

In .gitingore dont forget to uncomment .env, local.py and media !!!

About

My Django starter template. Going to change a little from time to time. But even now it saves a lot of time!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published