diff --git a/.djlintrc b/.djlintrc index 02a289b..1917696 100644 --- a/.djlintrc +++ b/.djlintrc @@ -1,31 +1,8 @@ -[djlint] - -# Directories or files to ignore during linting (optional) - -exclude = node_modules, venv, static - -# Maximum line length for the linter to respect - -line-length = 88 - -# List of linting rules to ignore - -ignore = no-self-closing-tags, prefer-double-quotes - -# List of linting rules to enforce strictly - -require = require-doctype-first, prefer-compact-if - -# Enable or disable linting for various template types - -jinja = true -django = true -html = true - -# Use indentation settings - -indent = 4 - -# Autofix linting issues on save - -autofix = true +{ + "exclude": "node_modules,venv,static", + "line-length": "88", + "ignore": "no-self-closing-tags,prefer-double-quotes", + "require": "require-doctype-first,prefer-compact-if", + "profile": "django", + "indent": "4" +} diff --git a/src/templates/base.html b/src/templates/base.html new file mode 100644 index 0000000..fdd5dc4 --- /dev/null +++ b/src/templates/base.html @@ -0,0 +1,48 @@ + + + + + + + + {% block title %}My Django Project{% endblock title %} + + + + + {% block extra_head %} + + {% endblock extra_head %} + + +
+
+

+ Team 5's Django Project +

+
+
+ +
+ {% block content %} + + {% endblock block %} +
+ + + + {% block extra_js %} + + {% endblock extra_js %} + +