So I'm comfortable programming in Python, I love the minimalist nature of the language. However, I haven't been exposed to any Django yet.I do know html, css etc for web design but when making websites is it essentially doing either1) The usual route: HTML, CSS,or2) Using DjangoMy understanding is that both the above can also be integrated with PHP, MySql, Javascript technologies.Looking at www.reddit.com, I notice when I click view page source it doesn't seem to have the usual html (I know that reddit is made using Django)Looking at another website eg www.cake.com, it seems to have the usual html.Looking at both the above made me arrive at the conclusion that a website uses either Django or HTML/CSS only (not both at the same time).This is my thought process.
Am i looking at HTML / Django the wrong way?
web development;python;django
Django is a framework for building web applications with Python.As it sounds like you might not know what these concepts are and are thus confused, I'll try to give a quick overview over what this means:A framework gives you additional tools (libraries) to work with a programming language. It basically makes working with the language in certain contexts easier from the start as you don't have to build every tool you want to use from scratch. For example, connecting a website with a database might be made easier by using shortcuts (provided by the framework) for interacting with the database.A web application is a website that reacts to user interaction. It doesn't only serve static content (the HTML and CSS you see in your browser) but dynamically serves content. Based on user input, your web application might e.g. retrieve information from a database and display it, or it might provide a way for the user to authenticate with the website (by checking credentials).Django is one such web application framework, and Python is the programming language it is built on. There are other frameworks out there that make creating web applications easier, which are based on other languages (e.g. Ruby on Rails, often shortened to just Rails, which is based on the Ruby programming language). There are also other Python-based web application frameworks, which you could use instead of Django, e.g. Flask. As different frameworks provide different functionality and some might be better-suited for some tasks than others, it would make sense to look for online comparisons before picking one.I have never worked with pure Python combined with HTML + CSS (like you'd combine HTML/CSS and PHP code in one document) and don't know if that is even possible and how one would go about it.If you want to give Django a try, I'd recommend checking out the Django Girls tutorial, which is a very beginner-friendly tutorial available in several languages.