Skip to content

Commit

Permalink
add search components to project template, re #4771
Browse files Browse the repository at this point in the history
  • Loading branch information
apeters committed May 1, 2019
1 parent 99ae7c0 commit e6a423a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ STATICFILES_DIRS = (os.path.join(APP_ROOT, 'media'),) + STATICFILES_DIRS

DATATYPE_LOCATIONS.append('{{ project_name }}.datatypes')
FUNCTION_LOCATIONS.append('{{ project_name }}.functions')
SEARCH_COMPONENT_LOCATIONS.append('{{ project_name }}.search_components')
TEMPLATES[0]['DIRS'].append(os.path.join(APP_ROOT, 'functions', 'templates'))
TEMPLATES[0]['DIRS'].append(os.path.join(APP_ROOT, 'widgets', 'templates'))
TEMPLATES[0]['DIRS'].insert(0, os.path.join(APP_ROOT, 'templates'))
Expand Down

0 comments on commit e6a423a

Please sign in to comment.