What makes your videos great is that you first explain the top-down view of the whole thing and then get to details. To be able to easily understand something, I first need to understand what it is and why am I doing it. How something works before details and procedures. You're doing this very well, thanks for your videos, you made my learning day a lot easier! ;)
I'm enrolled in an academy for software development, they have web development with django course and I also watch a lot of youtube and udemy videos. I've been learning django for a few weeks and I have to say your videos are far superior to everything I've seen so far.
I was just about to type the same. Everything I found on the courses seemed almost impersonal and just "this is what you do", rather than why. These videos are 100x better and I'm so glad they're here
Thank you very much. The diagram was the super star which helped the word in my mind to find peace with the concept. Now, you have cut my work down to where I can continue from.
When you said "ok makes sense" it triggered something in my brain that made me pay attention x10. I even answered outloud, yes sir it makes sense thank you. I followed shortly after. Great video
Hi man, greetings from Russia. Just wanted to tell you explained all this stuff much better than any Russian textbook that is always written in soviet-thus-impossible-to-understand style even though it's 21st century already. THANK YOU for your django tutorials!
Amazing tutorial! especially thanks to covering every little step as explain the "from . import views" which explain that "." means a reference to the working directory. Also the names' convention is beautifully done. Thank you!
DUUUUUUUUDE i literally understand and follow everything you are teaching...I've watched a few other Django tutorials but was never able to make a simple page...today I MADE FREAKIN 20 pages
Last night I read official django page and stackoverflow for 3 hours and I couldnt solve my problems. I took 2 minute and 27 second of this video was enough. Thanks.
This is great stuff. Any chance you'll be updating the tutorial to version 2 of Django? I think the new version uses path() instead of url(), at least according to the documentation tutorial.
even though i understand function views, however that was the best explanation every from all the other videos on youtube. I hope you have a video with generic views.
this demo is about django 1.x, the most recent django version is 2.1.7 as of today, I think people uses something like "urlpatterns = [ path('', views.index, name='index'), ]" for django 2.x
i am getting this error in cmd. How to solve this sir AttributeError: module 'myweb.views' has no attribute 'homepage'
4 года назад
Thank you net ninja for the explanation however 9:00 how is the function been fired when you are only referencing the object function name and not calling it when you do view.about instead or view.about( ) which would require one parameter and also is it just a must to put a request object in the function eg about got a request. or what is the magic going on that i dont get
Ninja I love your tuto, but this one is kind of outdated now with Django 2, and the path vs url, are you planning to update it? Thanks for the good work
Now being on home I can access the login path... but after being on the login path I can't access the home path... It says 127.0.0.1:8000/login/home doesn't exist. How I can leave the login ?
The regex portion for the URLs didn't work for me. To fix the issue use re_path instead of path. First, put this up top "from django.urls import re_path" Then, use "re_path" instead of "path"
in django 2.0.7 when I use regular expressions to setup URLs that ends up with django responding with an Error instead of the specified response in the views.py file, so we don't use regex any more?
Page not found (404) Request Method: GET Request URL: bnyrj.pythonanywhere.com/ Using the URLconf defined in mysite. urls, Django tried these URL patterns, in this order: polls/ admin/ The empty path didn't match any of these. You're seeing this error because you have DEBUG = True in your Django settings file. i m getting this error pls give me solution
Hello Ninja master, will this wagon receive rewriting (as react wagon) to reflect django version 2.x, as few things have changed.. If not we'll have jump on the docs, I guess Just asking,
Hey, yeah, at some point I'll be doing a re-run of the whole series using Django 2.x - whatever is current at the time. I've got a few other playlists to do first though!
Please the creating the project am not able to get the; from django.conf.urls import urls, but rather from django.urls import path. So am not able to follow you on this tutorial. Please help me and i will be grateful. Thanks
Hey, it's version 1.11, the one directly before 2 was released. Everything in this series should still work with Django 2. But Django 2 has added a couple of nice features such as using paths instead of urls - meaning we don't need those nasty RegEx anymore :)
Hey why are we using "from . import views" instead of just "import views". I tried it and it doesn't work but why? Aren't they in the same directory? Nice video BTW :)
url(r'^$',views.homepage), url(r'^$',views.about), When I run the above,the content of view.homepage gets displayed. Why doesn't the content of views.about gets displayed instead?Since that line of code got executed in the end?
I should add this video is out of date and using Django 1.11. Django is currently in version 3.0 3.0 doesn't use regex so simply path("", ,views.homepage) is the way to do it
What makes your videos great is that you first explain the top-down view of the whole thing and then get to details. To be able to easily understand something, I first need to understand what it is and why am I doing it. How something works before details and procedures. You're doing this very well, thanks for your videos, you made my learning day a lot easier! ;)
That’s the best way to teach
I'm enrolled in an academy for software development, they have web development with django course and I also watch a lot of youtube and udemy videos. I've been learning django for a few weeks and I have to say your videos are far superior to everything I've seen so far.
I was just about to type the same. Everything I found on the courses seemed almost impersonal and just "this is what you do", rather than why. These videos are 100x better and I'm so glad they're here
Same here brother
Thank you very much. The diagram was the super star which helped the word in my mind to find peace with the concept. Now, you have cut my work down to where I can continue from.
Excellent teaching style, not too fast and not dumbed-down either
Thanks so much :). Glad you like.
@@NetNinja ohh yeahh i likeyy
teaching style is best best best...................................
This course was recommended to me by someone and I couldn't be happier, definitely going to finish the entire tutorial. Thanks, you're great!
you're literally saving somebody's day by doing this. Kudos...I wish everybody should have taught me like this.
Will definitely recommend this to anyone who doesn't understand Django!!! This playlist is a gem
When you said "ok makes sense" it triggered something in my brain that made me pay attention x10. I even answered outloud, yes sir it makes sense thank you.
I followed shortly after. Great video
This has been the best, most clear tutorial on django I've seen yet. Thanks a ton!
Thanks :)
You are the best tutor I have seen so far
The way you breakdown everything to basis is amazing. Much Love
I appreciate that! Thanks jerry :)
Hi man, greetings from Russia. Just wanted to tell you explained all this stuff much better than any Russian textbook that is always written in soviet-thus-impossible-to-understand style even though it's 21st century already. THANK YOU for your django tutorials!
wow. you make it so much easy to understand. you're completely different from all RUclipsr i know. what a great teacher!
Thanks so much 😊
Amazing tutorial! especially thanks to covering every little step as explain the "from . import views" which explain that "." means a reference to the working directory. Also the names' convention is beautifully done. Thank you!
You really know how to walk people through by the hand.
Thank you for prepering this course.
DUUUUUUUUDE i literally understand and follow everything you are teaching...I've watched a few other Django tutorials but was never able to make a simple page...today I MADE FREAKIN 20 pages
Thanks so much and that's awesome! 😃
Well explained. Thank you ! It was great the way you explained WHY you are doing something. Not just HOW to do something.
Love the diagram you showed at the beginning, I'm going to use this too tomorrow in my class!
This is one of the best tutorials on django
Hey man you are giving such valuable material for free 🙂.
You dropped your 👑
Sir you are brilliant by watching your videos I built confidence and now I am capable enough that I can clear out my interview.
This made me understand what I've been trying to understand for ages. Hero.
Best series ever. I thought django is difficult. I'm excited to learn more. Thank you very much man keep up the good job
Last night I read official django page and stackoverflow for 3 hours and I couldnt solve my problems. I took 2 minute and 27 second of this video was enough. Thanks.
Bro you have explained this in such a good manner.Subscribed😁
Thanks man, glad you liked :)
Am greatful, you made me understand this views and urls syntax in just minutes.👏
This is great stuff. Any chance you'll be updating the tutorial to version 2 of Django? I think the new version uses path() instead of url(), at least according to the documentation tutorial.
thanks so much for explaining what you are doing while you are doing it, nothing was making sense until I found this tutorial :)
This process i hv been trying to learn for last 1 week.. Finally thanks tobu bro.. I got thr zest of it now.... Superb
к сожалению я английским языком не владею, но просто глядя на схемы, я понял принцип работы Django. Большое спасибо.
Thank you very much for this wonderful tutorial, i was so lost now everything makes perfect sense thank you so much
Nice tutorials dude. No bs directly to point 👍
Excellent explaination..so much simplified
The most clear explanation ,thanks a lot.
You rock !!!!!! Excellent job my friend!!!
May science bless you.
Thanks so much. Very well explained.
Awesome teaching style
You are awesome Shawn love form India.
I have learned a lot and feel cool, you are good mate!
Incredible tutorials, friend. Subscribed mate
This was very clearly explained. Thank you
Hey man, it was a big help, can't thank you enough
amazing video, one of the best video on this planet
even though i understand function views, however that was the best explanation every from all the other videos on youtube. I hope you have a video with generic views.
this demo is about django 1.x, the most recent django version is 2.1.7 as of today, I think people uses something like "urlpatterns = [
path('', views.index, name='index'),
]" for django 2.x
Although this video dates back, thanks a bunch!!!👍🏽
Abi, I'm wondering what version of Django is that?
You help me a lot. Thank you for share your knowledge
Excellent, keep up the good work
Great tutorial m8, you helped me a lot! Thank you :D
are you going to make Flask tutorials ? :V
Thanks for video! What kind of font you use in Atom?
In newer version of Django, in views.py, instead of:
return HttpResponse('about')
use:
return render(request,'about.html')
thank you, Vadim!
You also need to include
frome django.shortcuts import render
Amazing. Thank you very much! :)
Thank you..it's help me to my project ..once again thank you
My understanding is that in about a week or two regex will no longer need to be used -with the new release dropping in December
You're absolutely correct :). In django 2 url params will be much easier to use.
can you redirect me to understand the url params? which is path. quite confusing now
Best series, ngl
This is really good! thanks.
i am getting this error in cmd. How to solve this sir
AttributeError: module 'myweb.views' has no attribute 'homepage'
Thank you net ninja for the explanation however 9:00 how is the function been fired when you are only referencing the object function name and not calling it when you do view.about instead or view.about( ) which would require one parameter and also is it just a must to put a request object in the function eg about got a request. or what is the magic going on that i dont get
Thanks for the help
Ninja I love your tuto, but this one is kind of outdated now with Django 2, and the path vs url, are you planning to update it?
Thanks for the good work
9:30 "request" is not accessed by pylance Why & it's not updating the page after running python manage.py runserver in cmd
Help me :(
excellent explanations, thank you. Is there any intention of updating this series to Django 3? Would happily pay for that. Thanks again
its
urlpatterns = [
path('admin/', admin.site.urls),
]
for me
whats the difference?
Hey, path is the Django 2 version. The only difference using path instead of URL is that you don't need RegEx for the url structure :)
thanks
:)
Why is request not a required paramater n Http Response method . For example it is a parameter in render method for templates.
I just love how the British pronounce the letter "H". Epic.
path(r'^$',home) does not work on my pycharm? it works without using r'^$' symbol... why is it so?
Thanks you! Take your like! 👍🏼
Damn this video made me wish to get up from the bed and get back to vs code
Now being on home I can access the login path... but after being on the login path I can't access the home path... It says 127.0.0.1:8000/login/home doesn't exist. How I can leave the login ?
Error I am getting is, when in cmd I type "python manage.py runserver", It does not start the server.
make sure you cd in the src of the Dev folder and type source bin/activate and then type the runserver again
@@oblivion1111 yep, it's true
You should try install python properly by using Windows Store, and add django scripts into PATH
Thank you so much!!
The regex portion for the URLs didn't work for me.
To fix the issue use re_path instead of path.
First, put this up top "from django.urls import re_path"
Then, use "re_path" instead of "path"
Thanks for posting this, I was confused
url instead will also work. He changed it between the videos.
love you
some parts have updated in django you might consider updating your videos least about Urls.py
Thanks so much
such a great work !!
Isn't the 'r' to show its a regular expression, what's a raw string?
you are a real G
THANK YOU OMGGGGGG THQNK YOU SOOO MUCHHH
what version of django are you using? can i follow the tutorial with django 2.0.7 installed?
There's something weird...
If the "about" function requires a "request" parameter, how come it does not error out as you call it WITHOUT passing one?
Why do we need request parameter for the functions in the views.py ?
What do settings.py and manage.py do?
Can I get the full code of those files?
Thank you very much, what kind of accent is this, is it British ?
in django 2.0.7 when I use regular expressions to setup URLs that ends up with django responding with an Error instead of the specified response in the views.py file, so we don't use regex any more?
Is this for windows 10 ?
Page not found (404) Request Method: GET Request URL: bnyrj.pythonanywhere.com/ Using the URLconf defined in mysite. urls, Django tried these URL patterns, in this order: polls/ admin/ The empty path didn't match any of these. You're seeing this error because you have DEBUG = True in your Django settings file.
i m getting this error pls give me solution
what about venv ?? virtual environment is not necessary in Django?
Hello Ninja master, will this wagon receive rewriting (as react wagon) to reflect django version 2.x, as few things have changed..
If not we'll have jump on the docs, I guess
Just asking,
Hey, yeah, at some point I'll be doing a re-run of the whole series using Django 2.x - whatever is current at the time. I've got a few other playlists to do first though!
@@NetNinja, I can live with it.
Please the creating the project am not able to get the;
from django.conf.urls import urls, but rather
from django.urls import path. So am not able to follow you on this tutorial.
Please help me and i will be grateful. Thanks
Does any changes for 2020 version? Or it wil work
wow, thenkz bro.
what version are you using django in this playlist?
Hey, it's version 1.11, the one directly before 2 was released. Everything in this series should still work with Django 2. But Django 2 has added a couple of nice features such as using paths instead of urls - meaning we don't need those nasty RegEx anymore :)
thank you for create awsome django tutorial. I understand with the difference URLs.
Hello, what the different between HttpResponse and render function? Thank you
render is a wrapper function that uses HttpResponse to render a view
it's 2024 and I think things have changed a lil bit. I dont recognize the syntax. am I right?
Correct! new Django crash course coming very soon :)
Django Version 3.1.1 in urls.py:
from django.contrib import admin
from django.urls import path
from . import views
urlpatterns = [
path('admin/', admin.site.urls),
path('about/', views.about),
path(' ', views.homepage),
]
without using regx, is url('admin/', admin.site.urls) working?
the runserver gives NameError: name 'path' is not defined along with 100 other lines of errors waht to do please help
..../?
Hey why are we using "from . import views" instead of just "import views". I tried it and it doesn't work but why? Aren't they in the same directory? Nice video BTW :)
Strange "import views" works for me but "from . import view" doesn't.
Moon Pig maybe you are missing an 's' in the 'views' in the "from . import views"
url(r'^$',views.homepage),
url(r'^$',views.about),
When I run the above,the content of view.homepage gets displayed. Why doesn't the content of views.about gets displayed instead?Since that line of code got executed in the end?
I know this is old but with Django it will display the first view it finds that matches the URL
I should add this video is out of date and using Django 1.11. Django is currently in version 3.0 3.0 doesn't use regex so simply path("", ,views.homepage) is the way to do it