Skip to content

Commit 796e990

Browse files
committed
Fix path
1 parent aacce18 commit 796e990

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/3_BuildPostgreSQL/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Perfect. Can you help me to create a Python script that checks and prints data f
6161

6262
This will generate a Python script file that can helps to connect to local PostgreSQL database. But before that, you need to install a dependency called `psycopg2-binary` that is used in the script.
6363

64-
📝 **TIP:**
64+
📝 **TIP**
6565
> One of main issues that often happen with Copilot Chat is that lack of dependencies that are clearly defined and version incompatibility. This is one of the main areas that Copilot needs to get better and require developer’s knowledge.
6666
6767
```bash

docs/5_BuildPythonDjango/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Here is an example using CURL.
107107

108108
And here is an example using Insomniac. Since we are going to use Insomniac for the next step, you may want to [**install Insomniac**](https://insomnia.rest/download).
109109

110-
![Example Insomniac](./images/13_InsomniaGET.jpg)
110+
![Example Insomniac](./images/13_InsomniacGET.jpg)
111111

112112
You can check any error with what gets printed out in the console.
113113

@@ -123,13 +123,13 @@ Go to `views.py` and start typing the following comment:
123123

124124
Then, it will give some suggestions like this.
125125

126-
![Suggestion by Copilot](15_SuggestionViews.jpg)
126+
![Suggestion by Copilot](./images/15_SuggestionViews.jpg)
127127

128128
You may need to make some changes such as field names.
129129

130130
If we can make a call to the Python Django server, we might encounter an error that is related to **CORS (Cross-Origin Resource Sharing (CORS))**, error. Thus, we need to add csrf_exampt by adding `@csrf_exampt` above our function and add library.
131131

132-
![With CSRF](./images/16_WithSomeChanges.jpg)
132+
![With CSRF](./images/16_WithSomeChange.jpg)
133133

134134
We also need to add URL to our `myproject/urls.py` like this.
135135

0 commit comments

Comments
 (0)