kennethreitz
d4f83c978c
improvements
2018-10-19 04:16:19 -07:00
kennethreitz
212f280c19
models
2018-10-19 03:10:39 -07:00
kennethreitz
f3e2450636
models
2018-10-19 03:09:53 -07:00
kennethreitz
d6d496018d
fix
2018-10-19 03:08:15 -07:00
kennethreitz
78be7fc772
api
2018-10-19 03:00:41 -07:00
kennethreitz
6ebadd8469
new files
2018-10-19 02:19:38 -07:00
kennethreitz
557750c8d4
customizable cookie
2018-10-18 17:02:10 -07:00
kennethreitz
e85ef27e6c
Merge pull request #98 from pbsds/master
...
Store Jinja enviroment in between template render calls
2018-10-18 16:46:31 -07:00
kennethreitz
4ca961a1b4
Merge pull request #104 from metakermit/cli-build
...
CLI build command
2018-10-18 16:42:17 -07:00
kennethreitz
6a9110e9c1
Merge branch 'master' into cli-build
2018-10-18 16:40:20 -07:00
Dražen Lučanin
51ffce09ae
fix cli setup
2018-10-18 23:48:09 +02:00
Peder Bergebakken Sundt
1c4e96b365
Add api.jinja_values_base:dict
...
This allows the user to add functions and values for use in all
templates, without needing to pass them on each render call.
As a side effect: The reference to `api` is still passed into the template view,
but this now yield to the values passed into api.template(), like one
would normally expect.
2018-10-18 20:47:59 +02:00
Peder Bergebakken Sundt
0db70e8edd
Store jinja enviroment in between the template render calls
...
This allows the user to modify the jinja
enviroment, adding custom filters and such
2018-10-18 20:47:34 +02:00
Peder Bergebakken Sundt
e46b3a5e19
Rename s to s_ in api.template_string()
...
Issue described in #76 applied here as well, however less propable.
Same fix as in a8fc78fcda
2018-10-18 20:47:14 +02:00
kennethreitz
fdd3d4d85a
sessions
2018-10-18 10:25:19 -07:00
kennethreitz
37c9cba42e
version
v0.1.3
2018-10-18 10:20:06 -07:00
kennethreitz
c1544f66bb
tour
2018-10-18 10:14:20 -07:00
kennethreitz
d37f41f6a5
docstrings
2018-10-18 10:08:57 -07:00
kennethreitz
b245dd2d51
Merge pull request #96 from kennethreitz/sessions
...
sessions
2018-10-18 10:05:16 -07:00
kennethreitz
a1fcf11399
Merge pull request #95 from taoufik07/patch-4
...
Use HTTPSRedirectMiddleware
2018-10-18 10:04:41 -07:00
kennethreitz
8f876da245
sessions
2018-10-18 10:03:56 -07:00
Taoufik
23b8e5a2b3
Use HTTPSRedirectMiddleware
2018-10-18 18:01:41 +01:00
kennethreitz
3b7e7c7192
Merge pull request #94 from mathiasose/graphql-variables-and-operation-name
...
Find GraphQL variables, operation name from JSON
2018-10-18 07:49:34 -07:00
Mathias Ose
b7ecf6e2e0
Find GraphQL variables, operation name from JSON
...
Make `_resolve_graphql_query` return *three* things from the JSON query: query (as before), variables and operation names. These values are all passed on to `schema.execute`.
TODO:
- Get variables and operation names from other requests types than JSON.
- Write tests.
- _Possibly_ refactor `_resolve_graphql_query` to return something a bit more structured than a 3-tuple.
2018-10-18 16:09:49 +02:00
kennethreitz
2ec6aaff03
docstrings
2018-10-18 06:42:26 -07:00
kennethreitz
19f8553f2d
fix
v0.1.2
2018-10-18 04:31:38 -07:00
kennethreitz
05a64ff095
cookies
2018-10-18 04:31:22 -07:00
kennethreitz
a8fc78fcda
fixes #76
2018-10-18 04:26:25 -07:00
kennethreitz
e0e8b40fa2
Merge pull request #91 from kennethreitz/cookies
...
Cookies
2018-10-18 04:23:16 -07:00
kennethreitz
00165cd6ca
tests for cookies
2018-10-18 04:16:44 -07:00
kennethreitz
cd799ddfcd
cookies
2018-10-18 04:07:13 -07:00
kennethreitz
fffd6b7c86
Merge pull request #83 from kennethreitz/bnm_tests
...
added more tests to routes, and changed some bits in routes regarding regex
2018-10-18 02:51:55 -07:00
kennethreitz
439b008a34
Merge pull request #85 from condemil/patch-1
...
Add .python-version to .gitignore
2018-10-18 02:51:42 -07:00
kennethreitz
f38e538892
Merge pull request #89 from pyasi/tests_for_status_codes
...
Add basic tests for the status codes file
2018-10-18 02:50:57 -07:00
Peter Yasi
6aa87a073f
Add basic tests for the status codes file
2018-10-17 21:25:28 -04:00
Dmitry
c38198ccba
Add .python-version to .gitignore
...
.python-version allows to specify separate pyenv virtual environment
2018-10-17 22:58:16 +02:00
Luna
3be88c8cbf
removed redundant import in routes.py
2018-10-17 21:17:14 +01:00
Luna
558ced1afb
recommented pytest.ini addopts
2018-10-17 21:07:39 +01:00
Luna
0149e6935d
added more tests to routes, and changed some bits in routes regarding regex
2018-10-17 21:05:38 +01:00
kennethreitz
d97fdfd7c4
Merge pull request #75 from tomchristie/asgi-middleware
...
Support ASGI middleware
2018-10-17 12:03:15 -07:00
kennethreitz
8b85d8c6fb
Merge pull request #80 from taoufik07/fix-CBV-missing-prams
...
Fix CBV missing params
2018-10-17 12:02:23 -07:00
kennethreitz
673779490c
Merge pull request #82 from squiddy/patch-1
...
Fix docker image typo in deployment documentation
2018-10-17 12:01:43 -07:00
Reiner Gerecke
48154e7e2d
Fix docker image typo in deployment documentation
2018-10-17 19:59:40 +02:00
taoufik07
20f72b3f63
Add tests
2018-10-17 18:43:24 +01:00
taoufik07
e82c958af2
Add missing params to on_method
2018-10-17 18:20:44 +01:00
taoufik07
60c311ab9f
Add missing params to on_request
2018-10-17 18:20:16 +01:00
Tom Christie
fbac81c245
Drop commented out gzip code
2018-10-17 15:13:09 +01:00
Tom Christie
9ca67d9228
Support ASGI middleware
2018-10-17 15:11:16 +01:00
kennethreitz
5ffa18221f
an
2018-10-17 06:20:06 -07:00
kennethreitz
aceb1f0f61
Must be awaited.
2018-10-17 06:17:21 -07:00