Skip to content

Commit f5f1ce6

Browse files
M26803: Possible typo mistake
Hello, @kraigb, Translator has reported possible source content issue. Please review the comment tag added and reply with explanation if fix is needed or not. If you make related fix in another PR then share your PR number so we can confirm and close this PR. Many thanks in advance.
1 parent 910350c commit f5f1ce6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/python/learn-django-in-visual-studio-step-06-polls-django-web-project-template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ urlpatterns = [
249249
]
250250
```
251251

252-
If you're not familiar with the more complex regular expressions used here, you can paste the expression into [regex101.com](https://regex101.com/) for an explanation in plain language. (You'll need to escape the forward slashes `/` by adding a back slash, `\`h before them; escaping isn't necessary in Python because of the `r` prefix on the string, meaning "raw").
252+
If you're not familiar with the more complex regular expressions used here, you can paste the expression into [regex101.com](https://regex101.com/) for an explanation in plain language. (You'll need to escape the forward slashes `/` by adding a back slash, `\` before them; escaping isn't necessary in Python because of the `r` prefix on the string, meaning "raw").
253253
254254
In Django, the syntax `?P<name>pattern` creates a group named `name`, which gets passed as arguments to views in the order they appear. In the code shown earlier, `PollsDetailView` and `PollsResultsView` receive an argument named `pk` and `app.views.vote` receives an argument named `poll_id`.
255255

0 commit comments

Comments
 (0)