Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit355cd5b

Browse files
committed
[book] [routing] reworded the note about generating URLs in console
1 parentda8b46f commit355cd5b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎book/routing.rst

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1260,11 +1260,10 @@ From a template, it looks like this:
12601260

12611261
..note::
12621262

1263-
The host that's used when generating an absolute URL is the host of
1264-
the current ``Request`` object. This is detected automatically. But if
1265-
you generate absolute URLs for scripts run from the command line, this
1266-
won't work. But don't worry! Just see:doc:`/cookbook/console/sending_emails`
1267-
for details.
1263+
The host that's used when generating an absolute URL is automatically
1264+
detected using the current ``Request`` object. When generating absolute
1265+
URLs from outside the web context (for instance in a console command) this
1266+
won't work. See:doc:`/cookbook/console/sending_emails` for details.
12681267

12691268
Summary
12701269
-------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp