NyanKiyoshi
285ad9bdc1
No longer raising a missing parameter when value is null
...
When passing a null value as parameter (ex.: 0, None or False), Sanic said "Error: Required parameter `param` was not passed to url_for"
Example:
```
@app.route("/<idx>")
def route(rq, idx):
pass
```
```
url_for("route", idx=0)
```
No longer raises: `Error: Required parameter `idx` was not passed to url_for`
2018-01-26 21:13:43 +01:00
Shahin
16f5914c90
Install Python 3.5 and 3.6 on docker container
...
To cover all supported versions of Python using Tox
2018-01-24 16:46:45 +03:30
Raphael Deem
72d56a89a2
Merge pull request #1094 from caitinggui/master
...
update class_based_views
2018-01-23 17:25:59 -08:00
Raphael Deem
1135c8c1b1
Merge pull request #1097 from howie6879/master
...
Add parameter check
2018-01-23 17:25:25 -08:00
caitinggui
ec4339bd47
update description
2018-01-24 09:02:07 +08:00
howie6879
6c0fbef843
Add parameter check
2018-01-24 08:17:55 +08:00
howie6879
040c85a43b
Add parameter check
2018-01-24 08:11:47 +08:00
Raphael Deem
420554c737
Merge pull request #1096 from kyb3r/patch-1
...
Typo in readme?
2018-01-22 23:56:16 -08:00
howie6879
f20b854dd2
Add parameter check
2018-01-22 14:52:30 +08:00
howie6879
3844cec7a4
Add parameter check
2018-01-22 14:12:41 +08:00
howie.hu
0db49f7520
Merge pull request #4 from channelcat/master
...
Update
2018-01-22 13:36:48 +08:00
Kyber
f8dedcaa1e
Typo in readme?
2018-01-22 15:55:29 +11:00
Yaser Amiri
f8b1122467
Revert "Change parsing cookies mechanism. (like Django instade of http.cookies.SimpleCookie)"
...
This reverts commit ba1dbacd35
.
2018-01-21 09:10:15 +03:30
Raphael Deem
f3bf5e9a5c
Merge pull request #1090 from yunstanford/patch-signal-handling
...
Patch signal handling
2018-01-20 14:03:23 -08:00
Yaser Amiri
ba1dbacd35
Change parsing cookies mechanism. (like Django instade of http.cookies.SimpleCookie)
2018-01-20 12:49:16 +03:30
caitinggui
4036f1c121
update class_based_views
2018-01-19 16:20:07 +08:00
Raphael Deem
22ad697d1f
Merge pull request #1078 from eltrhn/master
...
Add support for blueprint groups and nesting
2018-01-18 17:26:52 -08:00
Eli
a10d7469cd
Add blueprint groups + nesting
2018-01-18 17:20:51 -08:00
Raphael Deem
06c3153d22
Merge pull request #1092 from mattfox/patch-1
...
Add request.method to documentation
2018-01-17 16:10:42 -08:00
Matt Fox
9677158b75
Add request.method to documentation
2018-01-17 07:31:39 -08:00
Raphael Deem
226a73141b
Merge pull request #1091 from yunstanford/patch-router-fix
...
Patch router fix
2018-01-17 00:15:33 -08:00
Raphael Deem
da3201bf35
Merge pull request #1088 from cosven/master
...
use single quote in readme.rst
2018-01-16 13:34:39 -08:00
Yun Xu
7daebc6aea
fix Router.check_dynamic_route_exists
2018-01-15 17:53:37 -08:00
Yun Xu
d9002769cf
fix a typo
2018-01-15 17:49:11 -08:00
Yun Xu
6d0b30953a
add unit test which should fail on original code
2018-01-15 17:40:44 -08:00
Yun Xu
09d6452475
fixed unit test
2018-01-15 15:15:08 -08:00
Yun Xu
6a61fce84e
worker process should ignore SIGINT when run_multiple
2018-01-15 11:53:15 -08:00
Yun Xu
11017902be
signal handling
2018-01-15 11:23:49 -08:00
7
bd7333723e
Merge pull request #16 from channelcat/master
...
Merge upstream master branch
2018-01-15 10:48:34 -08:00
cosven
6648250fb9
Merge pull request #1 from cosven/cosven-patch-1
...
use single quote in readme.rst
2018-01-15 14:56:52 +08:00
cosven
a94a2d46d0
use single quote in readme.rst
...
As we use single quote in sanic package, we may be supposed to use single quote in readme also?
2018-01-15 14:55:36 +08:00
Raphael Deem
ab97018c78
Merge pull request #1082 from channelcat/1042
...
fix exception handling
2018-01-13 17:06:46 -08:00
Raphael Deem
be702b0924
Merge pull request #1087 from Stranger6667/fix-get_socket
...
Fix typo
2018-01-13 17:06:03 -08:00
Dmitry Dygalo
c5c10cfb50
Fix typo
2018-01-13 17:56:29 +01:00
howie.hu
5682d642a6
Merge pull request #3 from channelcat/master
...
Update
2018-01-10 09:23:43 +08:00
Raphael Deem
62c6d7274c
Merge pull request #1083 from bow/fix/log_response_host
...
Fix log_response to correctly output request ip and port
2018-01-09 13:55:14 -08:00
bow
4f8633375d
Fix log_response to correctly output request ip and port
2018-01-09 13:47:01 +01:00
Raphael Deem
9f559818e5
Merge pull request #1081 from howie6879/master
...
Fix: the Chinese URI
2018-01-08 15:54:46 -08:00
howie6879
5f329f72ee
Update test_routes.py
2018-01-08 08:38:54 +08:00
howie6879
7303a06f83
Fix: the Chinese URI
2018-01-07 12:07:18 +08:00
howie6879
e34de96b24
Fix: the Chinese URI
2018-01-07 12:06:21 +08:00
howie6879
42cd424274
Fix: the Chinese URI
2018-01-07 10:59:12 +08:00
howie.hu
9426e94314
Merge pull request #2 from channelcat/master
...
Update
2018-01-07 09:57:51 +08:00
r0fls
7a1dab3319
fix exception handling
2018-01-05 14:12:22 -08:00
Raphael Deem
d63ec84745
Merge pull request #1037 from youknowone/xdist
...
Boost test speed by pytest-xdist
2018-01-05 12:10:27 -08:00
Raphael Deem
0e7e2f4e5b
Merge pull request #1080 from channelcat/1079
...
fix timeout bug when self.transport is None
2018-01-04 15:01:40 -08:00
r0fls
46521240a9
fix timeout bug when self.transport is None
2018-01-03 23:33:22 -08:00
Jeong YunWon
a8827a5d95
Boost test speed by pytest-xdist
2018-01-03 18:52:25 +09:00
Raphael Deem
ca0bc1cb7d
Merge pull request #1076 from channelcat/1074
...
fix strict_slashes bug when route has slash
2018-01-01 12:47:48 -08:00
r0fls
8c28ce7d79
fix strict_slashes bug when route has slash
2018-01-01 02:24:48 -08:00