Skip to content

Under-used settings: APP_DIR, STATIC_DIR, TEMPLATE_DIR #24

Description

@lnoss

Nice little guide. Just a note for the ones reading: the config file is already defining the path for the app folder, the static folder or the templates folder.

So when you are reading Chapter 1, don't forget that you could use the Pydantic Settings class directly instead of giving strings as paths.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions