Skip to content

Commit 1a47238

Browse files
committed
Tackle PR comments
* Remove `shell` type from code snippets. * Fix userdir frfom exceptions, using standard `ola` username.
1 parent 803e2c0 commit 1a47238

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

en/django_urls/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ If you try to visit http://127.0.0.1:8000/ now, then you'll find some sort of 'w
9595

9696
{% filename %}{{ warning_icon }} command-line{% endfilename %}
9797

98-
```shell
98+
```
9999
return _bootstrap._gcd_import(name[level:], package, level)
100100
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
101101
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
102102
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
103103
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
104104
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
105105
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
106-
File "/Users/dana/Codes/djangogirls/blog/urls.py", line 5, in <module>
106+
File "/Users/ola/djangogirls/blog/urls.py", line 5, in <module>
107107
path('', views.post_list, name='post_list'),
108108
AttributeError: module 'blog.views' has no attribute 'post_list'
109109
```

en/extend_your_application/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ OK, we've added a new URL pattern to `blog/urls.py`! Let's refresh the page: htt
7777

7878
{% filename %}{{ warning_icon }} command-line{% endfilename %}
7979

80-
```shell
80+
```
8181
return _bootstrap._gcd_import(name[level:], package, level)
8282
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
8383
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
8484
File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
8585
File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
8686
File "<frozen importlib._bootstrap_external>", line 850, in exec_module
8787
File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
88-
File "/Users/dana/Codes/djangogirls/blog/urls.py", line 6, in <module>
88+
File "/Users/ola/djangogirls/blog/urls.py", line 6, in <module>
8989
path('post/<int:pk>/', views.post_detail, name='post_detail'),
9090
AttributeError: module 'blog.views' has no attribute 'post_detail'
9191
```

0 commit comments

Comments
 (0)