George
I did, but it does not stick it stays in the same place...
footer {
background-color: #efefef;
text-align: center;
margin-top: 6em;
background: black;
color:white;
bottom:-6em;
height:6em;
width:100%;
position:absolute;
}
footer p{
margin:0em;
margin-top:1em;
}
.container{
min-height:100%;
position:relative;
}
.body {
padding:0em;//A bit can be good for eyes maybe but 0 for now
/* equal to footer height */
padding-bottom: 12em;
}
Anders (izzno / gooood) 🇳🇴
I dont want it to be visible if there's content
Anders (izzno / gooood) 🇳🇴
whats footer p
Anders (izzno / gooood) 🇳🇴
ah
George
ah
also i wrapped body inside a div
Anders (izzno / gooood) 🇳🇴
The problem with this solution is that the fotter stays there when scrollling.
George
Anders (izzno / gooood) 🇳🇴
bingo
Anders (izzno / gooood) 🇳🇴
Thanks ;)
George
George
i dealt with this problem long ago
Anders (izzno / gooood) 🇳🇴
I can see, the blog is spot on
Anders (izzno / gooood) 🇳🇴
Or "tricks page"
Anders (izzno / gooood) 🇳🇴
Atom.io very powerful
I dont think it compares to pycharm (professional). But its's heavy.
Anders (izzno / gooood) 🇳🇴
pycharm that is.
Anders (izzno / gooood) 🇳🇴
I use VS code for smaller projects.
Lucian
Mirco
Rohan
Rohan
Well, that's literally true though
George
So i have the doubdt still
Rohan
Rohan
I hope you understood my analogy
Ghorz
https://www.codingforentrepreneurs.com/courses/django-angular-ionic
Mirco
Django + React/Vue
Better combo imho
cj
Lucian
Let's not compare client side rendering with server side.
Anders (izzno / gooood) 🇳🇴
vue is ❤️
I was baptised this week and I am now i see....
Anders (izzno / gooood) 🇳🇴
+1
George
George
Im ok rn with vanilla js
Mirco
Why using a framework uwu
I like keeping FE completely separated from BE
It's easier to test it and keep code cleaned
George
Mirco
And if u think about big teams, FE team doesn't have to see BE code
They can just work on FE code according to specs for BE
George
Mirco
So it's easier to maintain, fix bugs etc.
George
Ok then
George
How fast could i switch to one
George
*depends on your app*
Mirco
Yeah and depends on how fast you can learn js, webpack, state management
How to make good APIs with DRF, make good docs etc.
Anders (izzno / gooood) 🇳🇴
Based on my experiance this week, if you trully know python (or any language), picking up js is a walk in the park.
Anders (izzno / gooood) 🇳🇴
And with the help of something like VUE...
Anders (izzno / gooood) 🇳🇴
How do you solve global context like dynamic navmenus based on context ? Do you send it in every view ? ( i'm doing that now, but you know... if your repeating code ....)
George
Anders (izzno / gooood) 🇳🇴
then look at VUE ;)
Anders (izzno / gooood) 🇳🇴
Cant hurt hehe
Erick
Anders (izzno / gooood) 🇳🇴
Anders (izzno / gooood) 🇳🇴
You mean I can define a sort of global item that's available?
Erick
https://docs.djangoproject.com/en/2.1/ref/templates/api/#writing-your-own-context-processors
Erick
yes, actually that's how you can use a request object in templates, Django has some context processors activated by default
Anders (izzno / gooood) 🇳🇴
amit
While building chat via channels in django .
I m facing this issue .
Data persistence across redis middleware backend
Messages are being stored temporarily while communicating through layers across django channels
Ghorz
Maz
Maz
To get to a decent employable level with a frontend framework.
Anonymous
https://youtu.be/K_lBsXZoOII
Maz
Anonymous
Mirco
Maz
Aside from Django...anyone used DeepLearning Pro?
Maz
DeepLPro
Prinart
Plz I need a tutorial on how to integrate django to vue. Thanks
Mirco
Prinart
Mirco
Ok, Thanks
“CRUD App using Vue.js and Django” by Shubham Bansal https://link.medium.com/06t8nSsgeT
Anders (izzno / gooood) 🇳🇴
I am consuming Vue like its nutrision these days.
Anders (izzno / gooood) 🇳🇴
With the dre you could do anything.
Mirco
Chiji
Hello everyone
Chiji
Is it possible to alter the Django inbuilt password reset feature?
Chiji
I don't want users to receive a link in their email to reset their password. I rather want them to receive a code, which when entered and the code is correct, they'll see a page to enter their new password. Any help please?
Mirco