Django Tutorial

[ad_1]
Step-by-Step Directions Here :
Best Django Book :

Support me on Patreon :

My most requested tutorial starts today. In this part of my Django tutorial I’ll show you how to install Django on both Windows and MacOS. I tested this series of steps on multiple machines to hopefully guarantee that nobody has any trouble installing Django.

If you missed any of the previous Python videos, the series starts here :

Thank you to Patreon supports like the following for helping me make this video

facebook.com/cottageindustriesbuild/
bugreplay.com
@kyleaisho
@thetwistedhat
vjFaLk


Posted

in

by

Tags:

Comments

36 responses to “Django Tutorial”

  1. Samuel Green Avatar

    What's your opinion comparing Django and Rails? I want to learn one but really can't decide

  2. John Galew Avatar

    Will you do a tutorial like this on NodeJs?

  3. NavMiguel Avatar

    Django set-up for Mac is at 08:00

  4. Jamal Mahmoud Avatar

    Hey Derek, will you consider doing a Cordova tutorial?

  5. Harsh Khajuria Avatar

    When I type pip — version the terminal shows:-

    pip 9.0.1 from /Library/Python/2.7/site-packages/pip-9.0.1-py2.7.egg (python 2.7)

    How do I get Python/3.5?

  6. Abhishek Agrawal Avatar

    From 8:00 it has for mac…

  7. aman kumar Avatar

    sir when i type django.get_version() then find out NameError :name 'django' is not defined

  8. Mountain Liu Avatar

    So with macos we dont have to do stuff with virtualenv?

  9. MauricioMartinez0707 Avatar

    Pro tip: watch sentdex's first 4 or 5 videos on django first, then come and watch all of derek banas. Trust me

  10. Sandy Avatar

    i was getting an error while installing Django on Mac. It was somehow pointing to version 2.7 rather than 3.5 though i had both the version installed. Following this I found the following fix in stackoverflow
    The Django docs recommend that you create a virtual environment for the version of Python you wish to use, then install Django using pip.
    On OS X, pyvenv is installed along with Python 3.
    ———————-————-type the following in terminal———————
    pyvenv djangodev # create the virtual env.
    source djangodev/bin/activate # activate it
    pip install django
    ——————————————————————————————————–
    I don't know how but, now it works fine for me.
    >>> django.get_version()
    '1.10.5'

  11. Jack Wilkins Avatar

    Thanks Derek, big help.

  12. Nzibuk Arnold Avatar

    Hello Derek, just started on your tuts which are clear and good but there is no installation for linux users???

  13. Revaz Eristavi Avatar

    You are simply the best teacher. Thanks so much for that…
    I got my coke & popcorn, installed all the Django stuff. It's time to learn..

  14. Oğuzhan Olguncu Avatar

    When i try to execute virtualenv "foldername" it says —- ImportError: No module named 'pkgutil' —-

  15. pankaj patra Avatar

    Thank you a Derek for this tutorial. Its so easy for me to install DJango now both in Windows and mac.

  16. Sebastian Farias Avatar

    For those of you having issues with the Django installation on Mac make sure you are pointing to "pip3" and not just "pip"…. as you can see on the documentation pip refers to your 2.x (the one that comes pre-installed) python, so you will have to make it point to your downloaded version 3.5.x or whatever, the commands should be something like: pip3 –version or whatever you are trying to do !! I hope this saves you the 30 mins it took me to fix!! Thanks Derek !

  17. Felix Iaccarino Avatar

    i was using linux,…. and did all the virtualenv …. dude you shopuld said that at start… i spend 4 hours trying to gfuess every step from your windows… to linux u.u also now i dont know if i should use the virtual env or not.. if is safer or if it is wrong to use djnaog in a virtual env…
    u.u

  18. Thiru Kumaran Avatar

    Your videos are amazing and a godsend, thank you! 🙂

  19. Jason Cameron Avatar

    I have a question.. how would i install pip on the python3 dir.. cause i followed and it only installed it on python 2.7 dir

  20. Ben Kruiger Koren Avatar

    Dear brilliant Derek
    im trying to download django the way you said to the macbook and i had a problem after typing "import django" an error popped up said "Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    ImportError: No module named 'django'"
    do you know what might be the problem?

  21. Fabian Rivera Avatar

    thank you so much for this 🙂

  22. Luis Herrera Avatar

    Hello Derek,
    What would be the main differences between django and Ruby on Rails? What have you seen work best in your experiences?

  23. chad a Avatar

    Kind of unrelated, but do you do tutorials like this on any Math topics? Also, thanks for this series.

  24. Avi Thour Avatar

    In the step where we create a virtualenv for our site, when a user is using Admin mode in CMD, it gives out errors. So just try to run CMD without admin. Nice tutorial, following all of them 🙂

  25. Udani Vindya Avatar

    in activation of script… i got a problem. In my env_site1 only include these dir and files. what should i do?
    bin include lib local pip-selfcheck.json

    thank you for uploading these tutorials

  26. Mickey P Avatar

    Dont u think installing anaconda is better than installing python by itself?

  27. Vasilis K. Avatar

    Great tutorials but django is too advanced for me. Do you have any tutorials on how to run and configure simple python scripts on a website ? Like with cgi or something…

  28. sm Mangat Avatar

    derek can you please make any video tutorial how to read construction drawing thx

  29. joshua gollaher Avatar

    Can you do a Panda3D tutorial?

  30. OUTlawww Avatar

    Hello Derek can i write with visual studio enterprise 2015 – Django Web Project?

  31. Dota 2 Fun Avatar

    django is good for ecommerce?

  32. xtremeHackerzPro Avatar

    Can you make Flask Tut

  33. Andrew Muller Avatar

    Hi there Derek, thanks for making these videos! Just a little bit of feedback, it would be nice if you explained in a bit more detail what you are doing during this setup process.
    I know that I can do this without knowing why I have to do it, but ultimately I feel like its gonna make things less confusing and lead to more holistic teaching if you can teach us WHY we have to do certain things and write certain commands. Like what are those commands specifically doing?
    Once again thank you for putting so much effort into your work here on youtube 🙂

  34. Clever Techie Avatar

    You speak so well Derek, I have a long way to go lol.

Leave a Reply

Your email address will not be published. Required fields are marked *