Anders (izzno / gooood) 🇳🇴
I'll save that for later, i think its a good idea for onepage apps but atm I need to manipulate some content not build a frontend hehe.
Mirco
Anders (izzno / gooood) 🇳🇴
Jepp ;) Im on it...
Anders (izzno / gooood) 🇳🇴
learning more basic JS that is hehe...
Mirco
Good luck 😂
Anders (izzno / gooood) 🇳🇴
https://www.youtube.com/watch?v=Efr7SUrBUQw
Anders (izzno / gooood) 🇳🇴
Its a bit off topic, but OMG!
Anders (izzno / gooood) 🇳🇴
Stupid easy...
Anders (izzno / gooood) 🇳🇴
Just the way I like it...
Mirco
Me too 😂
Anders (izzno / gooood) 🇳🇴
In combination with a django api I can see why this is so populare....
Mirco
Yup!
Krunal
Bhupesh
Is there any way to convert bootstrap themes to django themes using ninja
🤨
Bhupesh
Rohan
https://github.com/dyve/django-bootstrap3
Rohan
Never used it tho
cj
there's bootstrap 4 now, I should say that package is outdated 🤷🏻♂️
cj
cj
Bhupesh
Bhupesh
cj
Rohan
Just use the .js and .css files from bootstrap and put em in static files
Rohan
Now use them in your django templates however you like
Rohan
Or I am just not able to understand your question
Bhupesh
Ok
My bad 😔
Rohan
Ok
My bad 😔
https://stackoverflow.com/questions/10157059/how-can-i-use-bootstrap-with-django
Rohan
🤷♂
Bhupesh
cj
👍
George
hey buds,
When it is worth switching to jinja2 from django templating engine?
George
:(
Lucian
Jinja2 is much faster and easier to use.
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
It's practically the same.
George
is it faster for repetitive tasks? Cos i think that would be useful
Anders (izzno / gooood) 🇳🇴
well, wouldnt vue / react be even faster ?
George
Anders (izzno / gooood) 🇳🇴
I mean how much faster can it be? would you really notice? (Have you tried comparing with a tool like django_toolbar
George
Anders (izzno / gooood) 🇳🇴
im asking first
ah, its the first I hierd / read about it.
Anders (izzno / gooood) 🇳🇴
Not really, you can display content asyncrnous (spelled wrong...) so your page does not wait for it all to load.
George
Anders (izzno / gooood) 🇳🇴
Then set up a mock DB with 1000 entries and display it in boostrap cards on one page. Use django Templates on one and jinja2 on the other and se / measure :)
Anders (izzno / gooood) 🇳🇴
I am planing to have a glass or two today, so when i get to drunk to continue my project I'll do that hehe. I would like to know myself ;)
George
Anders (izzno / gooood) 🇳🇴
George
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
Not much work at all.
George
Get pycharm ;)
i am nicely sitting in my emacs with all the stuff thank you
Anders (izzno / gooood) 🇳🇴
oh, i would not have a chance...
Anders (izzno / gooood) 🇳🇴
I am completely and utterly dependant on pycharms autocomplete and discovery ...
Anders (izzno / gooood) 🇳🇴
Good for you.
George
i am god
George
*no*
Anders (izzno / gooood) 🇳🇴
at least for django projects, it recognizes your paths, templates, models, and autocomplete works on practically anything that makes sense saving me the memmory to remember it all.
Anders (izzno / gooood) 🇳🇴
in a CLI project it would not matter but I am still new to Django.
Anonymous
what does cleaned_data mean
cj
Anonymous
ohk thanx
George
Is this thing nice?
django-js-reverse
Anders (izzno / gooood) 🇳🇴
Does someone know hwo to make a footer stick to the bottom IF the page is not long enough to cover the screen?
George
George
search sticky footer in google
Anders (izzno / gooood) 🇳🇴
I did, but it does not stick it stays in the same place...