Skip to content

momentum-team-1/django-from-scratch-akus062381

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.
  • There is a custom user model defined in users.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.
  • Poetry 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/master.zip --name=pyproject.toml <your_project_name> .
poetry install
cp <your_project_name>/.env.sample <your_project_name>/.env
./manage.py migrate

Remember to change <your_project_name> to your actual project name.

About

django-from-scratch-akus062381 created by GitHub Classroom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •