Group Butler
Done! baljeet has been forgiven. Warns found: normal warns ❌, for media ✅, spamwarns ❌
Group Butler
Done! Mr. has been forgiven. Warns found: normal warns ❌, for media ✅, spamwarns ❌
inchidi
sorry my bad, i thought X means forbidden 😁
Abhi
i want to make share button , like you have seen share button to facebook , twitter while reading any post
Abhi
should i have to read all the socal api's (facebook and google+ ) for this ?
Abhi
or is there any thing to simply it in django
inchidi
or is there any thing to simply it in django
i think no package for something like that
inchidi
but facebook give facebook javascript sdk to simply it
inchidi
i dont understand why ppl use python package for frontend (css/js) like django-bootstrap3. i cant see the benefits 🤔
inchidi
What are you saying?
when someone using python package for django frontend, i think thats weird and not effective
inchidi
you know, you can do pip install django-bootstrap3 and add 'bootstrap3', to installed app in settings.py
Val
Yeah sure
inchidi
then add {% load bootstrap3 %} in your template then your form will use bootstrap3 style
inchidi
i think just put bootstrap3 to static file easier than using python package
Lapanit ☃️
what
Abhi
Well i found a django package
Abhi
Django-social-share
Abhi
By tbe way what do you guys use for html to pdf generation ?
Anonymous
i dont understand why ppl use python package for frontend (css/js) like django-bootstrap3. i cant see the benefits 🤔
That's nonsense pal, I've seen ppp using brython (JavaScript alternative through python syntax), it's not well documented stuff, no libraries, no plugins, no everything
Davo
There's also Skulpt: http://www.skulpt.org/
Anonymous
So, was that a compliment or criticism?
Obviously the word nonsense goes to using those stuff, compliment
Davo
It actually looks really cool. I didn't know something like this even existed :)
Davo
The goal's the same as brython
Davo
I don't actually know anything about it; just came up when searching for client-side python
Anonymous
The goal's the same as brython
Oh no, don't use these stuff plz, it just complicate things which is already complicated
Davo
I'm not, I just want to check it out :)
Val
is there a easier way to put a template in my django and customize it?
inchidi
yes
what customisation?
Val
i just want the front view to look better
inchidi
remove or add table, navbar, buttons. something like that?
Val
add all that
Val
and also remove and replace with ur?
inchidi
maybe WYSIWYG html editor is what you looking for
Anonymous
guys is templating in django hard to understand in the first time or i'm just dumb ?
Anonymous
You're dumb
Anonymous
make sense
Anonymous
Well actually it's just that
Anonymous
Probably you don't know HTML and Stuff
Val
Probably you don't know HTML and Stuff
man that was harsh 😞😞
Anonymous
no no i understand everythings in it, but the difference between inludes and templating
Anonymous
just focus on include exclude
Better don't use inheritance
Anonymous
For now
Anonymous
Just go with forms and stuff
Anonymous
Start with small steps
Anonymous
{% extends 'personal/header.html' %} {% block content%} <p> Hi I'm programmer </p> {% include 'personal/includes/htmlsnippet.html' %} {% endblock%} i just don't inderstand the purpose of "include"
Anonymous
It includes stuff from other HTML file
Anonymous
To it
Anonymous
I'll still suggest to better leave it
Anonymous
inserting another template file to that part
i know but why ? why don't we just add all tags here
Anonymous
And go with the convention
Anonymous
Who told you? you can't
Anonymous
And go with the convention
thanks, maybe in the next sections in the course, this gonna be explained
Anonymous
So that's the problem
Anonymous
Who told you? you can't
nvm, i'm just dumb
inchidi
i know but why ? why don't we just add all tags here
so you will write twice all the html scripts? of course you can, but with include you dont need write all twice
Anonymous
The problems with course is
Anonymous
Teachers are sometimes asshole
Anonymous
They complicate things trying to make it simple
Anonymous
hehhehehe
inchidi
i got u, just to simplfy things
but as @Sin_atra said, you can just put all in one template file for start
inchidi
soon you will need include exclude
Anonymous
soon you will need include exclude
hopefully it's gonna be easier
inchidi
hopefully it's gonna be easier
when you already need it, yes
Anonymous
thank u for help guys, see u soon
inchidi
ur welcome