fix static -> static_src in createcamp command and readme

This commit is contained in:
Stephan Telling 2017-01-31 23:30:31 +01:00
parent dcbf9b6992
commit 40a89ccf36
No known key found for this signature in database
GPG Key ID: C07DFD6208200C9D
2 changed files with 4 additions and 4 deletions

View File

@ -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`

View File

@ -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)
)
)