-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
docs: explain why all setups we set to app #4137
Copy link
Copy link
Closed
Labels
HacktoberfestWe think it's good for https://hacktoberfest.digitalocean.com/We think it's good for https://hacktoberfest.digitalocean.com/documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers
Description
Add in documentation part (maybe into tutorial) where explaining why all connection, settings and etс, we add to the instance of application.
example:
async def init_pg(app):
conf = app['config']['postgres']
engine = await aiopg.sa.create_engine(
database=conf['database'],
user=conf['user'],
password=conf['password'],
host=conf['host'],
port=conf['port'],
minsize=conf['minsize'],
maxsize=conf['maxsize'],
)
app['db'] = enginePlease don't forget:
- add screenshot with your part of documentation
- write below that u want to take it to work
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
HacktoberfestWe think it's good for https://hacktoberfest.digitalocean.com/We think it's good for https://hacktoberfest.digitalocean.com/documentationImprovements or additions to documentationImprovements or additions to documentationgood first issueGood for newcomersGood for newcomers