Skip to content

momentumlearn/django-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Project Template

This project was generated from the Momentum Django project template. This template sets up some minimal changes:

  • django-extensions and django-debug-toolbar are both installed and set up.
  • django-environ is set up and the DEBUG, SECRET_KEY, and DATABASES settings are set by this package.
  • A starting Django app named core is provided.
  • There is a custom user model defined in core.models.User.
  • There is a templates/ and a static/ directory at the top level, both of which are set up to be used.
  • A .gitignore file is provided.
  • Pipenv is used to manage dependencies.

Using this template

In an empty directory, run:

django-admin startproject --template=https://github.com/momentumlearn/django-project-template/archive/main.zip --name=Pipfile project .
pipenv install
pipenv shell
cp project/.env.sample project/.env
./manage.py makemigrations
./manage.py migrate

If you want to use another directory for your project directory, replace project above with the name of your directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages