Hi, all,
Hi, did anyone used this library before?
https://github.com/owais/django-webpack-loader
In my html, I put {% load render_bundle from webpack_loader %} in the
html, then I have {% render_bundle 'main' 'js' %}. However, django
says SyntaxError('invalid syntax', ('', 1, 2, "{%
render_bundl
home.html* (bolded ones is the code you need to connect to your
> views.py)
>
> *{% for news in worlddata %}*
> *{{ news.title }}*
>
> *{% endfor %}*
>
> -Mikko
>
>
> la 9. helmik. 2019 klo 8.15 Tom Zhang (compute...@gmail.com )
> kirjoitti:
>
>> Thanks. B
ate you html files to your templates folder, and in the end you are
>> basically using just html. Django can just find your html file from
>> templates folder.
>>
>> Im just learning javascript and I assume i can save my js-file to
>> templates folder as well
just html. Django can just find your html file from
> templates folder.
>
> Im just learning javascript and I assume i can save my js-file to
> templates folder as well and connect it to my html.
>
> -Mikko
>
> pe 8.2.2019 klo 21.07 Tom Zhang >
> kirjoitti:
&
Hi, all,
If I don't want to use Django template engine and I just want to use
regular html/javacript, how do I configure settings.py?
I am thinking about the portability issue. For example, if I want to move
away from django in the future, I hope my templates can still be used in
other framewor
Hi,
If I don't want to use any Django template and I just want to use regular
html/javascript, how should I setup the template config in settings.py?
Right now, my settings are:
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.jo
6 matches
Mail list logo