I've been looking for months for a comprehensive tutorial like this one. Thank you very very much!
@Colstonewall10 жыл бұрын
If you think this one is good (and comprehensive), you should check out Mike Hibbert's ch and django series. Far and away better and more comprehensive than this one.
@jamesmccafferty88697 жыл бұрын
Everything I needed to know for an upcoming project. Thanks so much! I'm especially glad you went over the set up on the server too. A lot of other tutorials neglect this part.
@pepe666610 жыл бұрын
this is a great post. its cleared up a lot of the mystery around web apps. all thats left is to figure out how to get apache to talk to django
@ArdaIskender4 жыл бұрын
This is a solid documentary, I must say. Well prepared and helped me a lot, thank you for sharing.
@dlsber7 жыл бұрын
Great tutorial! :) It is good to watch a tutorial that is not beginning from the very basics like "what is programming?". I also like that the process is shown from start to finish without an overwhelming amount of info, while still explaining the gist (not just "copy and paste these, and you will have a website"). I think you managed to highlight the main points: -what pieces one needs to create a website, what are their roles -how the pieces fit/ work together Thank you!
@AbdulMannan-rv5yx10 жыл бұрын
It is great!! I do not have any experience on python. I am PHP developer with symphony experience. It gave me some good idea what is django and how to start with you. Thank you very much for uploading such a nice video. It is very helpful for beginner
@Rajagopk11 жыл бұрын
Fantastic tutorial. This is super presenttaion of a complete Django project. Since I already installed python and django and played with couple of projects/apps, I could appreciate this presenttaion more, This presentation has firmed me up for taking new work on Django. Thanks
@needmorebrain9 жыл бұрын
Wow, great tutorial. Why would someone ever give you a thumb down for it? I find your instructions very useful!
@FnooneXnoname11 жыл бұрын
i must tell you "you are very helpful man" really help me. thanks
@shamabbas9 жыл бұрын
Bunch of thanks! this series really helped me to understand basic python and django structure.
@eveakospokua9 жыл бұрын
thank you so much for your videos. And if anyone is having problems getting this tutorial running in the python 2.7 and django latest version 1.8.2, check this out - 1. When setting up you url pattern you need to put in 'blog.views.home' not 'FirstBlog.blog.views.home' 2. When you change the settings.py file to point django to the app you have installed you need to put in 'blog' not 'FirstBlog.blog'."
@eveakospokua9 жыл бұрын
proglearner got this off a post on stackoverflow
@eveakospokua9 жыл бұрын
***** sent you details in your inbox.
@rajvardhandeshmukh32579 жыл бұрын
+proglearner I am using Python 2.7.6 and django 1.9, I am on the very last step to get it to work. Can you brief a little bit more on installed app entry in settings.py please. Your help will be greatly appreciated.
@rajvardhandeshmukh32579 жыл бұрын
+proglearner i'm getting an error" cannot import blog"-' no model blog to import from' even after following ur step 1, please elaborate about step 2
@何奇-m5v6 жыл бұрын
Hi, thanks for your great video. I have a question about the doc command you used at 7:30. #nankis-MacBook-Air:~ heqi$ doc -bash: doc: command not found. The computer told me the doc does not exist. What is a 'doc'? Is it used for open the Documents file? I am using python 3.7 and Django 2.1.
@nischitasadanand51808 жыл бұрын
hey...Thanks for the such s great video...I have a question,what are the changes that i have to make so that i can view the webpage even on my phone or through any other devices??
@renegaed12 жыл бұрын
I agree this tutorial is a little difficult for beginners but eventually as u get more familiar with development u will gravitate towards using a package manager such as homebrew over installation packages. they are far superior and give you much more flexibility.
@sntshkmr609 жыл бұрын
You didn't put links in the description. :/
@karmadlaswinmlsk89977 жыл бұрын
k
@evan.59674 жыл бұрын
@@karmadlaswinmlsk8997 No.
@TheEndritv11 жыл бұрын
Yeah. It looks like it but if you notice the top of the editor, you can see the file location bar. I don't know it that option is available in Sublime Text 2.
@meryemm913711 жыл бұрын
Can you plz answer the problem on 32:57. I am the 3rd one asking :). I am using Mac. "Hello i have a problem at 32:57 It says import error at no module named blog Im using win7. thanks for help"
@ev.c69 жыл бұрын
Thanks for the video. Python looks like a great language once you get used to it, the problem is the setup, creating the application, starting it, etc, it is really frustrating. Many errors happen and things change a lot from version to version. I am using version 2.7.6 and things are a bit different from yours, for example syntaxes that are no longer used. It should be more simple to develop in this, like it is with Java using Eclipse or Netbeans. JDK + IDE and it's all working. No need to run commands on terminals or whatsoever. If it was as that I think more people would be interested. Anyway, I believe Python will get there one day and for now we just keep practicing and dealing with the frustration. :)
@ThePyrocorp13 жыл бұрын
Don't get what you saying. I'm a beginner and I understood perfectly. Also that's the best Django video tutorial around. WORKED FOR ME!!!
@Flackon11 жыл бұрын
Didn't you say not to run the django dev server in a production environment? How would we activate a production ready server?
@marcingaska96696 жыл бұрын
It's good to know Symfony, Yaml and SQL because i don't need to watch previous episodes to understand that :) Everything these is so similar to each selves, espacially to Symfony.
@dashbyictfd12 жыл бұрын
Great tutorials, 1 question I have is can you use xampp for the MySql and if so how? Thanks
@dashbyictfd12 жыл бұрын
Is your manage.py in the first FirstBlog file then inside there is another FirstBlog file that has 4 files?
@erickli528210 жыл бұрын
Very useful and powerful video for python beginners. Thanks very much for posting this!
@JacobMoen13 жыл бұрын
This is the best Django tutorial I've seen. :)
@OfficialJakeCross10 жыл бұрын
Hey, thanks so much for this video. It taught me pretty much everything, aside from a few mishaps due to me using updated versions of things. But all in all, it was great. Thanks again.
@shubha07m8 жыл бұрын
This is just a magic ! Thank you very much! Great for a beginner like me!
@joesaad68649 жыл бұрын
Excellent video, very well presented and ideas are made clear.. Thanks!
@siddharrth219410 жыл бұрын
is it possible to make the backend structure of the website on java, and the user interface of the website on python and then implement the java code on python with the front end?
@abdulshafy11 жыл бұрын
Great tutorial man! Simple and clear.
@andrecardoso895010 жыл бұрын
I'm coding for 3 years now... I can do alot stuff on java, c++, php so on... but only I start get some interest on Python. This video made love the language. Thank you so much, I'm ready to do some real fucking shit :D Edit: ... made me love the language AND learning it vey well!
@cordyceps91806 жыл бұрын
also using mysql v8 like i do can cause some issues with sh2 encryption. The plugin doesnt get called properly, which means the connector needs te be rewritten. Since i dont want to do that its best if you disable sh2 from the mysql workbench or choose the conventional security option while installing mysql. I think a new connector that is sha2 compatible will be here shortly. Untill then just use the md5 hash encryption that's standard.
@Rajagopk11 жыл бұрын
Hello Giles: Fantastic tutorial. One observation though. The url works only if I have it as url(r'^$', 'blog.views.home', name='home') without the FirstBlog.blog.... Same is the case with the INSTALLED_APPS. In your tutorial you use FirstBlog.blog and it works. Any reason? Thanks
@tylermeyer4247 жыл бұрын
Any chance we could get this tutorial but that is more recent since python3 is in the now?
@StocksDoc11 жыл бұрын
THANKS! . . . awesome presentations . . thanks for all of that hard work.
@savingapollomusic11 жыл бұрын
wget isn't working for me it's saying htt-p (KZbin wouldn't allow it as one word) is a syntax error? I've tried doing this in both PyShell, Python Command Line, and Windows' Command Prompt?
@G.e.o.r.g.e11 жыл бұрын
Can you post a link for to download the folders? And congratulations for your work, thanks a lot
@Ohhimark1009 жыл бұрын
Thank you so much, I can't thank you enough. Had little issues cause I was using Django 1.9 But no biggie.... Thanks a lot.
@mparvaiz1007 жыл бұрын
Super cool - Excellent tutorial
@qwe1237277 жыл бұрын
Django runs using WSGI server. You did not show the WSGI server installation & configuration. Did I miss something?
@elmastermaestr9 жыл бұрын
Hello, can we pass some parameters without writing them in the URL, like a POST from PHP? Like a form?
@eritert9 жыл бұрын
Hello, thank you for the tutorial. Since it's a bit outdated, I made this tut work for me by finding a vagrant python3 django1.7 box on github. Took a bit to connect the dots but I think I learned a lot of extra info in the process.
@bijayakarki48006 жыл бұрын
hey man where can i get your earlier python tutorials .
@MarkWeiman11 жыл бұрын
You need to install the WGET package, Cygwin is a bare POSIX terminal and doesn't include anything. I'd recommend you use a VM with debian or Ubuntu in it, or just dual boot (trust me, setting up a linux system is good for you).
@samismx11 жыл бұрын
Wow. Definitely a lot of information in this video.
@viveknimmagadda3566 жыл бұрын
My database is preset to sqlite3. So how can I change it to mysql, the database in settings is as follows "DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } }" So how can i change it to mysql?
@roberthillier8010 жыл бұрын
That was a very good tutorial - thanks Giles.
@sebastian1998j11 жыл бұрын
is it possible to make the webdesign in django or does it only work with css
@sadnessinmylife11 жыл бұрын
Yes, I installed Ubuntu about a week ago along with my windows. In fact I am using it right now. The only trouble I am having is when I download ubuntu using the wget command, i don't know where it stores the tar.gz file, i can try again by downloading it from the django website link manually and putting it into the Downloads folder and then trying to tar -xzvf it.
@daadaadaa412 жыл бұрын
All worked great following your tutorial until I tried opening the 'hello world' page in my browser. I get an error: Exception Type: ImportError, Exception Value: No module named blog, Exception Location: filepath/importlib.py in import_module line 35. I can't figure out what the problem is here. Help?
@ZantoshGaming11 жыл бұрын
I had the same problem. After reading, I found that Django 1.5.1 has some directory changes. Earlier, the convention was to use ProjectName.AppName.views.home in the urls.py. Change that to just AppName.views.home. In your case, it would be just blog.views.home instead of FirstBlog.blog.views.home.
@bsphil12 жыл бұрын
I had the same problem. In Django 1.4.2, it created a "firstblog" folder inside the original "firstblog" folder. So your base "firstblog" directory probably looks like this: blog/ firstblog/ manage.py Move "blog" inside "firstblog". But that doesn't quite fix it. Edit "views.py" in the "blog" folder and remove 'blog.' from the "from" statement. That line should now read as: from models import posts This now works for me.
@mats85211 жыл бұрын
Thank you for this quick tutorials, it helped a lot !
@ZantoshGaming11 жыл бұрын
Thank you, Thank you, Thank you! Excellent Tutorial, one of the finest on the internet :)
@ChristofferEricsater7 жыл бұрын
If you learn command line, Github and Python, is that enough to work professionally or do you need to learn HTML, CSS and Javascript as well? I am a bit confused... I like Python but it seems like one need to learn so much more to be able to work professionally, but perhaps I am wrong? Please clear things up for me :)
@jingxingshi92909 жыл бұрын
Hi, I think the django (my version 1.9.2)changed a lot when you start a new project. The hierarchy of the folder and files are different. As a consequence when going though your tutorial, I got problem of table not existing during the using the blog_posts to pass the data. And also I need to modify the setting file as well. I check the mysql database, there is only one django_migrations show up, because the django_migrations is in the blog folder. by the way there seems no syncdb at current version. How can I fix it.
@Floyd14829 жыл бұрын
A link to a playlist would be amazing, Great job tho :)
@gbo2k6913 жыл бұрын
My 10.7.2 OS X Lion doesn't have wget by default. I tried to use curl, but it wasn't working, so I just downloaded the tarball in the browser.
@TheEndritv11 жыл бұрын
What Editor / IDE are you using?
@AdrenalineXT900111 жыл бұрын
Hi, I've been following your tutorial and everything was working smoothly untilI I ran python2.6 manage.py runserver. It gave me this error message: File "manage.py", line 8, in module from django.core.management import execute_from_command_line ImportError: No module named django.core.management I've been searching for hours how to fix and with no luck. Any advice? It works when I just run python manage.py runserver (without the 2.6)
@MyStuff77411 жыл бұрын
Excellent video mate
@anirudhkumar49188 жыл бұрын
What's that you said to use for Windows command
@solmithras75276 жыл бұрын
I don't get why my server is slow as hell, taking a minute to load an empty page with a few text. I'm doing only the things in this basic video, while the server rendering is quite fast here. I've searched for a solution for a while and it seems nothing works, making it impossible for me to learn rails.
@jemanthi12 жыл бұрын
I tried with Django 1.4.2 version. The sample code works for me. But i did small changes on url.py and settings.py (i think)file. Removed project name from codes .. example code in urls.py url(r^'$','blog.views.home',name='home'),.
@cooool4912 жыл бұрын
i just installed MYSQL server and MySQLdb and everything is ok thank you again :)
@savagenoble2699 жыл бұрын
What the advantage of using Django's abstracted database interface methods? Is there some additional security built in?
@ashtonwest0076 жыл бұрын
I successfully seemed to have created a project however the "ls" function won't call the files, help?
@jav102412 жыл бұрын
i did everything right and I got the server running and all but I can't see my site or app on any browser.... Any help?
@MexicanLunchTable13 жыл бұрын
What text editor is that?
@MomoShow912 жыл бұрын
I like the ready administration back end I hope there is php framework like this
@wonjaehwang76708 жыл бұрын
What keyboard do you use
@Juanbaez_7 жыл бұрын
can you use this on ubuntu? You are using mac, can I use this commands on ubuntu?
@TuxGnome12 жыл бұрын
But even you installed it on your remote server, its still in development mode (testind mode) please show us how you connect this to apache for example
@padmaksharoy78839 жыл бұрын
hi, i have python and django installed on a linux server.Please tell me how to launch my webpage from there.If its through apache, kindly guide me how to do it.Thanks.
@SreejithSR11 жыл бұрын
Great Tutorial. Really good for beginners.
@AmirSibat9 жыл бұрын
***** im using mongodb instead of sql , how should i do it?
@FREEBASS12 жыл бұрын
Has anyone ever told you, You sound like an older Stewie Griffin? :D awesome tutorial BTW i learned alot...
@TYEGaming7 жыл бұрын
Just on a mac or windows too?
@maa84027 жыл бұрын
people in the comment section 90% of them seems like are really at very beginner point hh good job
@jacksoncn6 жыл бұрын
has it been updated to work with 3 since?
@JuakoVergara11 жыл бұрын
Thanks for this great video! i've learn a lot with it! you are awesome!
@jamesshaw898 жыл бұрын
Fantastic tutorial, thanks!
@rramyr111 жыл бұрын
I am trying to run the manage.py. I am not able to use python2.6 manage.py runserver command. please help. I also tried python manage.py runserver and get error.
@duckducknoo7 жыл бұрын
having trouble with easy-install and mysql-python. any links please
@MaK3iTCraZy11 жыл бұрын
Hello i have a problem at 32:57 It says import error at no module named blog Im using win7. thanks for help
@Ather1787 жыл бұрын
Thanks a lot for sharing this! Much appreciated! :)
@Romanticoneable6 жыл бұрын
Hey man are you still teaching? I have been trying to find you but not even your site exists
@djsully236911 жыл бұрын
good vid. im stuck at the syncdb stage. I do not receive errors but the tables created in models.py are not created (checked in phpmyadmin). Any ideas lads and laddettes :)
@apfi11 жыл бұрын
Same problem here. (Great tutorial by the way!)
@fdmg11 жыл бұрын
you most likely need to edit your settings.py file: Add the tables under the INSTALLED_APPS section.. then re-run syncdb.
@AniMorbus10 жыл бұрын
Awesome tutorial!
@SuperNaveed10111 жыл бұрын
Awesome tutorial!!
@adamwylde825511 жыл бұрын
Could someone please tell me what the previous four lessons are?
@fdmg11 жыл бұрын
you can find the others over at blip dot tv. google "Python from scratch".
@kyle179811 жыл бұрын
Thank you for your time. Very helpful!
@sadnessinmylife11 жыл бұрын
wget is a command for linux machines, i don't have a linux machine either and i downloaded cygwin terminal but it still does not work.
@winnersacademybest10 жыл бұрын
stuck with "no module named blog" (32:32)
@BrewerFR10 жыл бұрын
ditto. no module name blog error when opening up the index page
@BrewerFR10 жыл бұрын
yo. In urls.py, change 'FirstBlog.blog.views.home' to 'blog.views'home'. That should clear up the error.
@BrewerFR10 жыл бұрын
if you get an error about render_to_response, make sure when you try to import render, you're typing 'from django.shortcuts import render_to_response'
@sayedahmadnaweed19 жыл бұрын
Honestly It was extremely helpful. now, I got what does MVC or by your definition MTC mean.
@Ehehcho11 жыл бұрын
Excellent video, thank you!
@utkarshasthana38538 жыл бұрын
What is the web framework that works with python 3.5
@utkarshasthana38538 жыл бұрын
+Benjamin Zimmermann Got it thanks!
@cooool4912 жыл бұрын
how can i install MYSQL on windows and using it with django ?
@mhxxd412 жыл бұрын
My mushroom tip has been bustin all kinds of nuts in php groupies all day!!!
@kingclasher15137 жыл бұрын
Dude... i want to create web site and make it people play my game on it my game is on python how to make it?