Django Tutorial Web Development with Python Part 1: Installing Django

preview_player
Показать описание
Link to the full playlist:

Python is one of the most popular and growing languages, and was somewhat lacking in the web development arena for a while. Eventually, multiple web frame works began to appear, and Django became the most popular. There are many others, such as Flask, web2py, and bottle. Each framework has its own characteristics and should be considered depending on your project.

Django, Flask, and web2py are all great options. Django is the largest and most supported, so if you happen to learn by example, this might be the best choice. Django also just seems to have more documentation. Flask and web2py are both slightly more basic at their core. web2py doesn't require much at all, which is why many prefer it. Django forces you into having a semi-complex website, where web2py does not. Flask is somewhere in the middle. That said, you can make very simple websites with Django, and very complex websites with web2py.

If you intend to have a content-management-driven website with a significant database, then Django should definitely be considered. If you want to go with Django, then this tutorial series might just be for you. In this series, we create a simple blog-like website, do some basic HTML5 design, and show how to add python code in the back ground and display the return of any script. In our case, the return is the outputted Matplotlib graph that our backend script creates. Below is a picture of the finished product.

Launching the website and the admin.

Рекомендации по теме
Комментарии
Автор

Welcome to Django and py web dev. Thanks for the kind words, I hope you enjoy your stay and find what you're looking to learn!

sentdex
Автор

Just Starting out of Django after many many years of PHP, WordPress and YII...Hope to learn everything from your channel. I love the way you throw in one or two comments in between the tutorial of totally different things...Make the tutorial interesting

PhilemonSamoei
Автор

Hema Darshini Selvaraju It's really easy to just claim something is or isn't something. Try defining framework in a way where php does not fit within that definition. There are frameworks for php, but php itself is very much a framework, by definition.

sentdex
Автор

+Dawid Ciosek It means you do not have setuptools. Download that.

sentdex
Автор

install complete with no screaming, thanks man!

e.wilson
Автор

Can you make a new series? This one is old, a few things have changed in Django 1.8, I think it deserves a fresh new start. You can make a blog app, using Bootstrap, you can also make a Register/Login system so people can post on the blog, maybe show the viewers how to connect with facebook, gmail etc. (the big social networks), you can take it even further with designing a chat system. Just a few ideas. Anyway keep it up. Good Content.

filipmarkoski
Автор

Glad I can help! I usually poke around the channels of my subscribers when they sub. I am enjoying this Capital Cities music... never heard of them before. Even though you didn't mean to, thanks for sharing :)

sentdex
Автор

Thank God I found your channel in this sea of videos.

rhythmandacoustics
Автор

I have this error:

Traceback (most recent call last):
  File "setup.py", line 4, in <module>
    from setuptools import setup, find_packages
ImportError: No module named setuptools

What is wrong?

programista
Автор

hey when i try the command you said on cdm, it says 'python' not recognized as internal or external command, operable program or batch file   even though i have python27  installed ! 
please help @sentdex 

thasween
Автор

Many thanks for taking the time to make these...really good tutorials!

koitaki
Автор

hey thanx to provide such a great tutorial. but i still have some confusion. im the begginer to learn this. in 2nd tutorial how \mysite comes in cmd.exe it doent give me the output. plz reply . thank u..

chiragarya
Автор

Another way to launch without adding python to your path: whereever you have downloaded python just do this in command prompt:

setup.py install. That'll run python on that setup.py file and install it.

anujgoalie
Автор

when I enter the last line in the cmd a very very long error message occurs.

romanformicola
Автор

thanks, really helpfull ! i did not have the variable set up...

imriiik
Автор

Thanks for the video.. It is really helpful .

AnilChahal
Автор

What is the editor you are using for your .py files? it looks cool.

jamesvargas
Автор

Is there a reason why you chose windows instead linux to use django!?

leleportella
Автор

php is scripting language, there are framework made out of php but then php is NOT a framework by itself

HemaDarshiniSelvaraju
Автор

Why most people still use Django or Ruby on Rails eventhough they know HTML to develop websites???

RookieN