Thank you!
On Thursday, March 29, 2018 at 8:07:07 PM UTC+6, Jani Tiainen wrote:
-- On Thursday, March 29, 2018 at 8:07:07 PM UTC+6, Jani Tiainen wrote:
Yes. I managed to "fix" your code.,https://github.com/XJoma/mk-center1/blob/master/home/ views.py#L47
Firstm never, ever pass locals() anywhere it's best way to introduce a lot of bugs. Also you have quite a good record of from foo import * which is as bad as well.But your problem is that fourth parameter to render() is actually content_type. Now you're passing total garbage for content_type which causes browser to think that incoming data is something it can't handle and downloads it.There is no parameter that would fit anything what could take another dict besides context which you're already passing in.On Thu, Mar 29, 2018 at 3:03 PM, Jamaldin Pro <jamals...@gmail.com> wrote:Can you help? --
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com .
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/46a977ea- .0582-44c0-bb9a-5de39b0654c1% 40googlegroups.com --Jani Tiainen- Well planned is half done, and a half done has been sufficient before...
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/48c845ee-88ec-47dd-b67b-fafb6b8f2387%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment