Skip to content

Commit

Permalink
update manual
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron committed Apr 18, 2024
1 parent 9c13a47 commit dba787c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ class MySetting(DjangoEnvSetting):
# otherwise Django will not load them
DEBUG = BoolEnv(False)
DOMAIN_NAME = StrEnv("example.com")
# after v0.4.0 we support callable default
EXTRA_DOMAIN = StrEnv(lambda: "www.example.com")

MAX_CONNECTION_COUNT = IntEnv()

# if export=False, this variable will not be automatically exported to the module
Expand Down

0 comments on commit dba787c

Please sign in to comment.