Skip to content

A starter template for creating a Django project with dotenv and template, static folders setup

Notifications You must be signed in to change notification settings

jnutterdev/django-template-new

Repository files navigation

Starter Django project 3.1.7

This is a simple starter project that I created that is setup with one template view, sass, and some partial barebones.

It is not setup with a database or models, so that would need to be setup afterward.

To generate sass files

Using django-sass

The following will watch for new updates in your sass files, but must be run alongside the server

./manage.py sass static/{path_to_sass_directory}/ static/{path_to_css_directory}/ --watch

Run the server and watch for new sass file changes:

./manage.py sass static/{path_to_sass_directory}/ static/{path_to_css_directory}/ --watch & ./manage.py runserver

Generate a new secret key

python generate_secret.py

About

A starter template for creating a Django project with dotenv and template, static folders setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published