Skip to content

Commit

Permalink
Merge pull request #129 from girder/local-app
Browse files Browse the repository at this point in the history
Install local apps first
  • Loading branch information
brianhelba authored Feb 11, 2021
2 parents c5897b6 + e414e2f commit 3d27f4a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@ class {{ cookiecutter.pkg_name.split('_')|map('capitalize')|join('') }}Mixin(Con

@staticmethod
def before_binding(configuration: ComposedConfiguration) -> None:
configuration.INSTALLED_APPS += [
# Install local apps first, to ensure any overridden resources are found first
configuration.INSTALLED_APPS = [
'{{ cookiecutter.pkg_name }}.{{ cookiecutter.first_app_name }}.apps.{{ cookiecutter.first_app_name.split('_')|map('capitalize')|join('') }}Config',
] + configuration.INSTALLED_APPS

# Install any additional apps
configuration.INSTALLED_APPS += [
's3_file_field',
]

Expand Down

0 comments on commit 3d27f4a

Please sign in to comment.