Skip to content

Instantly share code, notes, and snippets.

@jacklinke
jacklinke / info.md
Created October 22, 2024 19:35
A management command to list all templates in the project.

A management command to list all templates in the project.

This command will list all templates in the project, depending on the template engines and loaders that are configured in the Django settings, and display them in the way you should add them to a {% url "" %} template tag or for rendering in a view.

By default, it will scan all directories in the TEMPLATES setting for template files.

@cferdinandi
cferdinandi / terminal-cheat-sheet.txt
Last active September 1, 2025 09:12
Terminal Cheat Sheet
# Terminal Cheat Sheet
pwd # print working directory
ls # list files in directory
cd # change directory
~ # home directory
.. # up one directory
- # previous working directory
help # get help
-h # get help