Details
-
Bug
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
Mac OS X
*Location*: https://docs.mongodb.org/ecosystem/tutorial/write-a-tumblelog-application-with-flask-mongoengine/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
*Screen Resolution*: 1920 x 1080
*repo*: docs-ecosystem
*source*: tutorial/write-a-tumblelog-application-with-flask-mongoengine
Mac OS X *Location*: https://docs.mongodb.org/ecosystem/tutorial/write-a-tumblelog-application-with-flask-mongoengine/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36 *Screen Resolution*: 1920 x 1080 *repo*: docs-ecosystem *source*: tutorial/write-a-tumblelog-application-with-flask-mongoengine
Description
in admin/detail.html
action={{ request.query_string }}
part has a problem.
When I select 'Image' type
request.query_string is like b'%27image%27'
Because of this, post type is silently change to BlogPost
I fix it by add context
"query_string" : str.strip(request.query_string.decode("utf-8"))
But this is very temporary solution and I want to clear solution.
Thanks.
E-mail: sejin9998@gmail.com![]()