From 745a5ceca82ffa7178d3fda9ff733c97286d3050 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Tue, 24 Nov 2015 05:10:53 +0000 Subject: [PATCH] Added empty directories for custom templates and images Added template directories to settings.py to be searched first Addresses issue #99 --- alliance_auth/settings.py.example | 2 ++ custom_static/.gitignore | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 custom_static/.gitignore diff --git a/alliance_auth/settings.py.example b/alliance_auth/settings.py.example index 26fcd0b5..1154de71 100755 --- a/alliance_auth/settings.py.example +++ b/alliance_auth/settings.py.example @@ -122,10 +122,12 @@ TEMPLATE_CONTEXT_PROCESSORS = ( ) TEMPLATE_DIRS = ( + 'custom_templates', 'templates', ) STATICFILES_DIRS = ( + 'custom_static', 'static', ) diff --git a/custom_static/.gitignore b/custom_static/.gitignore new file mode 100644 index 00000000..5e7d2734 --- /dev/null +++ b/custom_static/.gitignore @@ -0,0 +1,4 @@ +# Ignore everything in this directory +* +# Except this file +!.gitignore