rver-side rendering of React templates (which I will try avoid in the
> beginning stages, anyway), I can skip node.js.
>
> Learning React is on my todo list. Then I'll need to dig deeper. I suppose
> then I might change my mind...;-)
>
> On Monday, January 26, 2015 at 10:14:33
ects, that's not an option.
Besides that, I believe that outside templating system, remaining parts of
Django (models, managers etc) are solid, so I still prefer that as opposed
to a node.js solution. But that's clearly a personal preference.
Ustun
>
> On Sunday, January 25, 2
ing.
Best,
Üstün
>
>
> On Saturday, January 24, 2015 at 7:13:56 AM UTC-6, Ustun Ozgur wrote:
>>
>> Last year I gave a conference talk at Djangocon EU where I introduced
>> React.js to the community. Since then, I have been getting some emails
>> asking for some sample code.
Last year I gave a conference talk at Djangocon EU where I introduced
React.js to the community. Since then, I have been getting some emails
asking for some sample code.
I just published a sample project that simply uses a node.js server to
delegate server side rendering from Django. Hope that
I have published a small snippet
at
https://github.com/ustun/ensure-trailing-slash-for-jquery-ajax/blob/master/ensure_slash.js
that automatically adds a trailing slash to every outgoing AJAX request so
as to minimize accidental redirects.
Best,
Ustun
(Inspired by
No idea actually, but I would look for BOM related issues.
Ustun
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/YpAgjT_A98MJ.
To post to this group, send
+1 for debug toolbar.
If you choose to do it manually though, you can make use of a middleware
instead of passing templates in each view function explicitly, as shown
here: http://djangosnippets.org/snippets/766/
Ustun
--
You received this message because you are subscribed to the Google
7 matches
Mail list logo