Django tutorial 2020 | Build a Social Network project in Django (PART 1)

  Рет қаралды 58,206

Pyplane

Pyplane

Күн бұрын

Пікірлер: 118
@Pyplane
@Pyplane 4 жыл бұрын
Hi again. if you like this series please also check out how to follow users in django; kzbin.info/www/bejne/Z6W9mGiPgdh2hZY
@muhammadmiraj1203
@muhammadmiraj1203 4 жыл бұрын
hello dear sir, I want notifications and message handling for this social network project
@okeyshourovroy2769
@okeyshourovroy2769 4 жыл бұрын
Hi, really awesome. But please create this same project using Django rest framework and reactjs with notifications. 🥰🥰🥰 lots of love. God bless you.🙏❤️
@Pyplane
@Pyplane 4 жыл бұрын
Hi Guys . If you like this video make sure to check out my FREE data science course on youtube. Link: kzbin.info/www/bejne/mH3MlYpqnqesp9E
@chowadagod
@chowadagod 4 жыл бұрын
Man you officially my fav KZbin channel just the fact you use django for everything
@Pyplane
@Pyplane 4 жыл бұрын
Thank you ! :)))
@mrescape100
@mrescape100 4 жыл бұрын
just a note: in newest version, DIRS in TEMPLATES list should be 'DIRS': [BASE_DIR / 'templates']. Thanks for the tutorial!!
@akuma0009
@akuma0009 4 жыл бұрын
omg bro THANK YOU 🙏 you have no idea I was looking for such a thing building simple social network with django and ive found your channel can’t wait till have a day off from work to start this tutorial 🧡
@Pyplane
@Pyplane 4 жыл бұрын
Thank you Stev. It's so nice to read such comments :) Cheers!
@khushalimal5186
@khushalimal5186 3 жыл бұрын
I was looking out for Django tutorials since past many days. Got an ad for this one, starting it right away !!! I shall update my experience once I'm done 😃💯
@Pyplane
@Pyplane 3 жыл бұрын
Hope you’ll enjoy this series :) Cheers!
@khushalimal5186
@khushalimal5186 3 жыл бұрын
@@Pyplane I'm crying, this is such a beautifully structured course! I feel so knowledgeable after completing this ! Can't wait for this channel to finally get the appreciation it deserves !! Thanks a ton💥💯
@tarassavchenko2317
@tarassavchenko2317 4 жыл бұрын
I've been learning django for 4 months and only now youtube gives me this channel,it's strange
@AshutoshKumar-wm5oo
@AshutoshKumar-wm5oo 4 жыл бұрын
Same here, almost all the doubts I had is already solved here....
@timthegreatone
@timthegreatone 3 жыл бұрын
After 3 weeks and 2 day. I finally finished this. Thanks man you opened my eyes. Next is react js
@Pyplane
@Pyplane 3 жыл бұрын
Good luck! I’m really busy now, but I will provide a Django rest framework and react js course here on the channel. Cheers
@ShubhamYadav-yw4iy
@ShubhamYadav-yw4iy 4 жыл бұрын
A big THANK YOU brother..! You're a hero...
@shashankpandey1966
@shashankpandey1966 3 жыл бұрын
This channel is a blessing to me.
@Pyplane
@Pyplane 3 жыл бұрын
Thanks! :)
@shashankpandey1966
@shashankpandey1966 3 жыл бұрын
@@Pyplane welcome mentor.
@chunchunmaruplays6187
@chunchunmaruplays6187 4 жыл бұрын
i Saw the ad and came ,best decision
@Pyplane
@Pyplane 4 жыл бұрын
Thank you! :)
@edelciojunior3917
@edelciojunior3917 4 жыл бұрын
Amazing! I'm in python paradise lol.
@Pyplane
@Pyplane 4 жыл бұрын
Hi Edelcio. Happy to have you here on the channel. Hope you'll enjoy the content. Cheers!
@AshutoshKumar-wm5oo
@AshutoshKumar-wm5oo 4 жыл бұрын
You're a legend, Feeling lucky to find you..
@Pyplane
@Pyplane 4 жыл бұрын
Thanks! :)
@keshav2136
@keshav2136 4 жыл бұрын
Your cheat sheet is amazing! Got started with Django in just a few hours. Thanks 😊
@Pyplane
@Pyplane 4 жыл бұрын
Cool. Happy I could help! Good luck on learning! :)
@KratinMourya
@KratinMourya Жыл бұрын
Hey, can you give me the e-book, the link provided in description is no longer working, please!
@dota2-plays-shorts
@dota2-plays-shorts 4 жыл бұрын
amazing course and channel , i think this channel will be seen more in the future
@Pyplane
@Pyplane 4 жыл бұрын
Thank you Eslam!
@tarassavchenko2317
@tarassavchenko2317 4 жыл бұрын
Really interesting projects.looking forwards to follow along
@jorditrigo9569
@jorditrigo9569 3 жыл бұрын
Another great tutorial. You're awesome thank you very much!!!
@lofistudio9652
@lofistudio9652 4 жыл бұрын
Thanks for this project Now i will add this too to my resume 😁😁
@ZZ-vz9in
@ZZ-vz9in 3 жыл бұрын
Can you make ,tutorial to develop an application to manage and share the video similar to 'KZbin ' using django framework please...???
@vitojacobo
@vitojacobo 4 жыл бұрын
Muy buenos tus tutoriales, todos en general muchas gracias
@erkink9988
@erkink9988 3 жыл бұрын
Very usefull video, thanks a lot
@jas1up347
@jas1up347 3 жыл бұрын
@Pyplane I tried running the source code directly and it shows only helloworld ,anonymous user and login(doesnt work when clicked) what could be the problem?
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
Part 11 was again a great step from you to us, Thank you very much Lucas. On your tutorial at "23:51 and 34:34" you said that there will be a PART12 i think there will be more PARTS (13-14-15) please say when??
@Pyplane
@Pyplane 4 жыл бұрын
Hi Yuksel :) I think each part will be published every week. Part 13,14,15 will be needed for sure.. Have a great day! Luke
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
@@Pyplane 1 week each part is a good time to learn. May i ask you only one question please? Will you explain how we can list the posts from all our friends in one page like F...Book??
@Pyplane
@Pyplane 4 жыл бұрын
@@yukselbastan4687 One week sometimes can not be enough, but just let's count 7-10 days :) ok, I'll add this to the tutorial :)
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
@@Pyplane i know it, i always say it you are a hero ;)
@Pyplane
@Pyplane 4 жыл бұрын
@@yukselbastan4687 for you mate: kzbin.info/www/bejne/Z6W9mGiPgdh2hZY
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
i watched soooooo much tutorials abouth django, but your explainig is REALY great. Thank you so much. I have just one wish from you or it will be just a question. Why didnt you add "add to friend remove from friend list to the template" you just explaned it from the admin panel. I hope you will add this to your tutorial. Thank You Thank You.
@Pyplane
@Pyplane 4 жыл бұрын
Hi Yuksel. Thank you for the kind words :) adding / removing friends functionality will be added in later parts (as well as sending invatations, changing statuses like i.e. waiting for approval etc.). First parts of this tutorial will be pretty easy. It will get just a little bit interesting while working on relations between different users
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
@@Pyplane woow be hurry please we cant wait anymore, thanx. I tried many times with different scerarios but i couldnt get the randome code for slug working :S first error was the unique problem, after deleting unique=True i could add user but the slug field is still empty :S . AND MANY THANX FOR YOUR REPLY YOU ARE A HERO.
@Pyplane
@Pyplane 4 жыл бұрын
@@yukselbastan4687 Hard for me to say anything without seeing the code :/ If you exactly follow what I've written down you should get the same results :)
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
@@Pyplane hi Lukas, we are still waiting impatiently. I will bother you everyday until you have finished it :D
@marckhycs319
@marckhycs319 4 жыл бұрын
new to your channel☺️ and your videos are very helpful.
@Pyplane
@Pyplane 4 жыл бұрын
thank you :))
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
hi Lucas, thanks for your great work. Will pe there a PART 11(eleven)??
@Pyplane
@Pyplane 4 жыл бұрын
Hi Yuksel. Nice hearing from you again. Yes there is, but next week. In the meantime I will upload 2 other videos on the channel :) Regards, Luke
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
@@Pyplane hi Lucas, yes you are right. i couldnt write because after several times watching you tuts i have seen that i had made some mistakes in my project, it took a while to correct it. couldnt correct it totally but im still a beginner, learner, delete it write again shit not worked, delete it write it again shit not worked again, again again again and again :S its very hard to be a beginner.
@Pyplane
@Pyplane 4 жыл бұрын
@@yukselbastan4687 Hang in there! What you are doing right now soon will become easy for you, just don't give up:)
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
@@Pyplane sometimes i cannot find a way to make it work, then i lose all my concentration and will to go further, then i give up for 1 or 2 day. BUT after a little pause the desire to make it work is greater. a voice in me says always like you say; don't give up, don't give up, don't give up.
@xxxgroup3030
@xxxgroup3030 4 жыл бұрын
ありがとうございます。 That means thankyou! in Japan.
@Pyplane
@Pyplane 4 жыл бұрын
Hi. Thanks for watching! What city are you from? I've been couple of years ago to Japan. Awesome experience :)
@zoljargalenkhtaivan9661
@zoljargalenkhtaivan9661 3 жыл бұрын
I use windows. So, can I follow this tutorial? Is there any difference between windows and mac?
@patrick594
@patrick594 4 жыл бұрын
Thanks bro great series, just one query, what does static_cdn (specifically the CDN part) mean?
@Pyplane
@Pyplane 4 жыл бұрын
Hi. Static_cdn is just a name (we made up) of a place where we store directories for the STATIC_ROOT and MEDIA_ROOT. The STATIC_ROOT is a directory where after running collectstatic command will be copied all the static files (including the ones for the django admin) with the purpose to serve all the static files from a single location. MEDIA_ROOT is a place where all the files from users uploads will go. On the other hand we have STATICFILES_DIRS which tells Django where to look for static files used by your templates. We defined it as 'static_project' folder inside of our src directory. While development phase the focus should be on STATICFILES_DIRS, if you want to go live then STATIC_ROOT will become more important. Hope this helps
@abrahamngetich1415
@abrahamngetich1415 4 жыл бұрын
@@Pyplane your ability to explain Django concepts is outstanding. I fancy your projects!
@Pyplane
@Pyplane 4 жыл бұрын
@@abrahamngetich1415 Thank you so much ! :)
@patrick594
@patrick594 4 жыл бұрын
@@Pyplane I can not express how grateful I am for the response. You should set a Patreon up
@irusuhome
@irusuhome 3 жыл бұрын
Can I make my own project based on this tutorial and upload it to github for my portfolio?
@kaizen404_
@kaizen404_ 4 жыл бұрын
Thanks brother
@Pyplane
@Pyplane 4 жыл бұрын
Thanks for watching!
@official.letsfeellove
@official.letsfeellove 3 жыл бұрын
Thanks sir
@Pyplane
@Pyplane 3 жыл бұрын
Thanks for watching! :)
@official.letsfeellove
@official.letsfeellove 3 жыл бұрын
@@Pyplane you are welcome sir. i love your videos
@shashankpandey1966
@shashankpandey1966 3 жыл бұрын
can i take this course before jumped into social media version 2.0 ?
@Pyplane
@Pyplane 3 жыл бұрын
Yes, its even recommended to do so, besides version 2 isnt complete yet
@ZainAli-me4qk
@ZainAli-me4qk 4 жыл бұрын
Is there is chat system in it?
@deeptigupta1091
@deeptigupta1091 4 жыл бұрын
what do you mean by basics of django?
@Pyplane
@Pyplane 4 жыл бұрын
general understanding of MVT and how django works. Would be nic if you've done a simple project before (i.e. a tdo app), but it's not mandatory
@deeptigupta1091
@deeptigupta1091 4 жыл бұрын
@@Pyplane how will we understand it if it is not mandatory?
@Pyplane
@Pyplane 4 жыл бұрын
@@deeptigupta1091 I stared learning django i parallel to python. If I didn't understand something I stopped and did my research. The more I didn't understand the more motivated I became to learn. You can do this too, but during this tutorial there will be a few confusing moments for absolute beginners where you'll need to maybe open up the documentation, or find additional info online. It's all up to you, however if you never done even a small project in django - this tutorial might be a little bit too difficult
@deeptigupta1091
@deeptigupta1091 4 жыл бұрын
@@Pyplane I know python basics and i somewhat know some basics of django also. But i did not understood the system setup you did.
@deeptigupta1091
@deeptigupta1091 4 жыл бұрын
@@Pyplane I think you should put a intro video in the starting because you started straight away that,s why many people did not understood which application to download and many other things so you should juz put a 2 min itro in which you introduce yourself and tell which IDE to dowload and some line like dont worry i will hold your hand till the end of the course then you will get more views and likes.
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
hi Lucas, hi everyone, i hope its a beautiful Monday for all of us. Lucas its almost 5 days, 5 BIG DAYS since you write "PART 11 - Yes there is, but next week". We are waiting bro. how long more???
@Pyplane
@Pyplane 4 жыл бұрын
hi Yuksel, please give me 2 more days :)
@gustavvilaca
@gustavvilaca 4 жыл бұрын
When I ran collectstatic, aside from the 'admin' folder being created, another '/bffboof/' db.sqlite3 and manage.py files appeared inside '/static_cdn/'
@Pyplane
@Pyplane 4 жыл бұрын
are you using django 3.0.5 and did the same configuration I did? You can always check the source code and compare. Cheers
@alihusham1560
@alihusham1560 4 жыл бұрын
when i go to ...accounts/login it go to accounts/profile?!
@deeptigupta1091
@deeptigupta1091 4 жыл бұрын
We can learn python basic from anywhere can you just make a video o django basics??
@Pyplane
@Pyplane 4 жыл бұрын
Yes! I'm going to do this, but it will appear at the end of September/ beginning of October
@premchandgupta4255
@premchandgupta4255 3 жыл бұрын
@@Pyplane can you please provide the link now?
@Pyplane
@Pyplane 3 жыл бұрын
@@premchandgupta4255 Hi. Here is a playlist of 3 parts: kzbin.info/www/bejne/o6fRdn55n96XnZI However this not from the basics. It's more like intermediate level. More videos coming up to this playlist soon. Cheers
@shyrtle736
@shyrtle736 4 жыл бұрын
Is there a reason why comments are disabled on all of the other videos in this series? It would be easier to reach out for help on the individual video where they are having problems.
@Pyplane
@Pyplane 4 жыл бұрын
Hi Joshua. No particular reason, it stayed this way because when I was starting this series I didn't know a damn thin on how yt works and I continued posting with the initial settings. Some time agoI just changed the first part so the comments are enabled. Good suggestion. Thank you. I will unlock comments from ale the parts in this series this week when I will upload the next part. Cheers
@shyrtle736
@shyrtle736 4 жыл бұрын
@@Pyplane Awesome. Thank you. The reason I am asking is because in video 2, in the utils.py, you use uuid.uuid5() for the get_random_code function. This was giving me problems in lesson 5 when we called form.save(). It was saying that uuid5 needed two arguments, name and namespace. I fixed this by using uuid4 instead, and it seems to work now. I am wondering though, is there a reason you used uuid5 instead? And how would I fix my problem if I should be using uuid5?
@Pyplane
@Pyplane 4 жыл бұрын
@@shyrtle736 If I remember correctly I finally also used uuid4 :) sorry you encountered problems because of that. I'm 99.9% sure that I also used uuid4 at the end
@shyrtle736
@shyrtle736 4 жыл бұрын
@@Pyplane Ah ok. That makes sense. Also, quick note: in video 5 you clear your history multiple times to get some CSS or JS to work. You can instead do a hard refresh of the browser. In windows this is done with ctrl+shift+R (command+shift+R on mac), this will reset the page and in most cases makes the CSS or JS work properly.
@Pyplane
@Pyplane 4 жыл бұрын
@@shyrtle736 awesome, thx :)
@patelbrijeshkumar5653
@patelbrijeshkumar5653 4 жыл бұрын
Sir , you will give me starting video , like Django set up , installation . Could you send me
@Pyplane
@Pyplane 4 жыл бұрын
Hi Patel. This what we are doing in this vide - installing Django, starting up the project, doing configuration in the settings ...
@syncin1113
@syncin1113 4 жыл бұрын
Getting error in profile . DoesNotExist at /profiles/profile/ Profile matching query does not exist. """ def Profile_view(request): profile = Profile.objects.get(user=request.user) … form = ProfileModelForm(request.POST or None, request.FILES or None, instance=profile) confirm = False if request.method == 'POST': if form.is_valid(): form.save()"""
@vonputtkamer1673
@vonputtkamer1673 4 жыл бұрын
pls add the link to github to this project am really having issues figuring out every thing
@Pyplane
@Pyplane 4 жыл бұрын
did you check the description? the link is there
@vonputtkamer1673
@vonputtkamer1673 4 жыл бұрын
@@Pyplane sir i found the link to your blog, (blog.pyplane.com/blog/social-network-project-in-django/) but it did not contain the source code of the whole project, i'm having issues with the logic of the views.py file (thanks sir)
@Pyplane
@Pyplane 4 жыл бұрын
@@vonputtkamer1673 the link to github is in the description of this video, but for you I'll also paste it below: github.com/hellopyplane
@vonputtkamer1673
@vonputtkamer1673 4 жыл бұрын
@@Pyplane thanks a lot sir for the link, i got it (am still a junior developer, your channel is helping me a lot improving my skills am grateful
@Luffy-hi6xw
@Luffy-hi6xw 4 жыл бұрын
Please add nested comments Without using any library
@mohitrathore8808
@mohitrathore8808 4 жыл бұрын
Bro i want to be like you in django
@Pyplane
@Pyplane 4 жыл бұрын
Hi there! Hahah... I hope this is a compliment :) Thanks ! :)
@mohitrathore8808
@mohitrathore8808 4 жыл бұрын
@@Pyplane ya there's no doubt
@mohitrathore8808
@mohitrathore8808 4 жыл бұрын
@@Pyplane let me take screenshot of your replay 😁😄
@leo5946
@leo5946 3 жыл бұрын
whoever following this tutorial, make sure u note down the passwords for the user u create, else have same password,
@theWrongInsights
@theWrongInsights 3 жыл бұрын
I suggestion...please dont complicate simple things.
@ZainAli-me4qk
@ZainAli-me4qk 4 жыл бұрын
please add private chat box
@yukselbastan4687
@yukselbastan4687 4 жыл бұрын
hi Lucas, we are still waiting. Please dont let us spend our time with other unfinished, bad explained, ununderstandable tuts. We are waiting for YOUR tutorial.
@Pyplane
@Pyplane 4 жыл бұрын
Hi Yuksel. Next part will be uploaded on Saturday / Sunday. Today I'll uploaded something pretty cool too!
@attentionmode5361
@attentionmode5361 2 жыл бұрын
*John 3:16* *King James Version* 16 For God so loved the world, that he gave his only begotten Son, that whosoever believeth in him should not perish, but have everlasting life.
Learn Django | Social Network project in Django (PART 2)
30:53
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,9 МЛН
7 Design Patterns EVERY Developer Should Know
23:09
ForrestKnight
Рет қаралды 179 М.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,7 МЛН
5 Unique Python Projects (beginner to intermediate)
16:54
Tina Huang
Рет қаралды 610 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 222 М.
Django REST Framework - Build an API from Scratch
40:39
Caleb Curry
Рет қаралды 229 М.
Django za Početnike - 1 -  Uvod u Django
12:39
Programiranje Tutorijali
Рет қаралды 4,6 М.
But what is a neural network? | Deep learning chapter 1
18:40
3Blue1Brown
Рет қаралды 18 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН