From 40a89ccf36e255f87c13ed147f97717d2f088f9b Mon Sep 17 00:00:00 2001 From: Stephan Telling Date: Tue, 31 Jan 2017 23:30:31 +0100 Subject: [PATCH] fix static -> static_src in createcamp command and readme --- README.md | 2 +- src/utils/management/commands/createcamp.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8994ae4d..f760e11f 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ or go through the manuel process below: * Add a sponsers page, `{camp-slug}-sponsors.html`, to `sponsors/templates`. * Add a frontpage, `{camp-slug}-camp_detail.html`, to `camps/templates`. * Add a call for speakers page, `{camp-slug}-call_for_speakers.html`, to `program/templates`. -* Create `static/img/{camp-slug}/logo` and add two logos: +* Create `static_src/img/{camp-slug}/logo` and add two logos: * `{camp-slug}-logo-large.png` * `{camp-slug}-logo-small.png` diff --git a/src/utils/management/commands/createcamp.py b/src/utils/management/commands/createcamp.py index e686f464..1b81da7c 100644 --- a/src/utils/management/commands/createcamp.py +++ b/src/utils/management/commands/createcamp.py @@ -35,7 +35,7 @@ class Command(BaseCommand): # directories to create, relative to DJANGO_BASE_PATH dirs = [ - 'static/img/{camp_slug}/logo' + 'static_src/img/{camp_slug}/logo' ] camp_slug = options['camp_slug'] @@ -60,11 +60,11 @@ class Command(BaseCommand): self.output('All there is left is to create:') self.output( self.local_dir( - 'static/img/{camp_slug}/logo/{camp_slug}-logo-large.png'.format(camp_slug=camp_slug) + 'static_src/img/{camp_slug}/logo/{camp_slug}-logo-large.png'.format(camp_slug=camp_slug) ) ) self.output( self.local_dir( - 'static/img/{camp_slug}/logo/{camp_slug}-logo-small.png'.format(camp_slug=camp_slug) + 'static_src/img/{camp_slug}/logo/{camp_slug}-logo-small.png'.format(camp_slug=camp_slug) ) )