These are chat archives for django/django

31st
Dec 2016
Gourav Chawla
@Gouravchawla
Dec 31 2016 06:36
Anyone here who has worked with Django model forms? How do you write the html to render it? Do you use html code without the auto generated code from template tags or mix of both?
John
@flyboy1565
Dec 31 2016 13:38
It depends really on the methods you are using. I my own hand written html template code.
Pami Ketolainen
@keto
Dec 31 2016 16:31
last time I had to do forms I used the crispyforms package. it seems to create quite nice forms with bootstrap
Gourav Chawla
@Gouravchawla
Dec 31 2016 16:54
@keto I think I'll give it a try. But I wanted to do it on my own to understand Django forms better.
I'm thinking of writing html manually with template tags like in the documentation.
Paul Aranguren
@Van_Guren_twitter
Dec 31 2016 20:19
Hey guys
Pami Ketolainen
@keto
Dec 31 2016 20:22
I guess there isn't anything special if you have just simple django forms. so doing it manually is ok... using the generated html just makes it easier to handle the choices in select fields etc.
Paul Aranguren
@Van_Guren_twitter
Dec 31 2016 20:22
How many languages do you need to know for back end development? General purpose (python), server (apache) and database (mySQL) right?
around 3 correct?
Pami Ketolainen
@keto
Dec 31 2016 20:31
@Van_Guren_twitter: basically yes, but it helps to know more technologies to choose correct tools for the task at hand
in addition to application language/framework, web server and database, you possibly need some caching solution, maybe some asyncronous messagin/background job processing, and so on
depending on what kind of system one is building
Paul Aranguren
@Van_Guren_twitter
Dec 31 2016 21:20
@keto Thanks, I just needed a specific answer like this
Sometimes tutorials, are too broad in order to get the main idea, but specifics are often lost, so you helped me out there
Gourav Chawla
@Gouravchawla
Dec 31 2016 23:38
@keto I was mainly concerned about the styling aspect. I can use generated html but how would I do styling then.