Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #4 from tivnet/patch-1
Browse files Browse the repository at this point in the history
Update philosophy.md
  • Loading branch information
orsinium committed Apr 16, 2018
2 parents 764217e + 01b5eee commit 01e4be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wiki/source/philosophy.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Required only Controller and Renderer.
```python
for user in users:
if user.is_anonymous():
raise ValueError("Can't send SMS to anonimous user!")
raise ValueError("Can't send SMS to anonymous user!")
send_sms(user)
```
This is bad code! We will send some SMS before error raising. DjBurger force input validation only before main logic.
Expand Down

0 comments on commit 01e4be6

Please sign in to comment.