Skip to content

Django project template to get started in no time. +customuser model, +environment variable management

License

Notifications You must be signed in to change notification settings

lorbic/django-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django-project-template by Lorbic

This repository is preconfigured django project with following features:

  1. Custom user model with email as default username field.
  2. Database server configuration.
  3. Email server configuration.
  4. Environment variables are managed using .env file.

Copy   sample_dot_env  to  .env  and change the values

Development

👉 Install the dependencies

pip install -r requirements.txt

👉 Edit the .env file and define the env variables.

👉 Run tests.

python manage.py test

👉 Run the webserver.

python manage.py runserver

👉 You may need to create database migrations.

python manage.py makemigrations

python manage.py migrate

Resources

This project uses python-decouple-3.6 for configuration (environment variable) management.

About

Django project template to get started in no time. +customuser model, +environment variable management

Topics

Resources

License

Stars

Watchers

Forks

Languages