Skip to content

Commit

Permalink
Update checklist.md
Browse files Browse the repository at this point in the history
  • Loading branch information
DmytroSvirsa authored Dec 7, 2022
1 parent 1a0004d commit 266a774
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,26 @@ When you visit the page for the first time there should be: `You have visited th

4. Make sure you use 2 whitespaces indentations in your `.html` files.

## Code style

Use `-` to split words in URL identification parameter `name`, not the `_`.

Good example:

```python
urlpatterns = [
path("buses/", BusListView.as_view(), name="bus-list"),
]
```

Bad example:

```python
urlpatterns = [
path("buses/", BusListView.as_view(), name="bus_list"),
]
```

## Clean Code
Add comments, prints, and functions to check your solution when you write your code.
Don't forget to delete them when you are ready to commit and push your code.

0 comments on commit 266a774

Please sign in to comment.