fix static -> static_src in createcamp command and readme
This commit is contained in:
parent
dcbf9b6992
commit
40a89ccf36
|
@ -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`
|
||||
|
||||
|
|
|
@ -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)
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue