Published on November 9, 2016 by Derek Banas

Code & Transcript : goo.gl/aK5MZg
Best Django Book : amzn.to/2dXucXn
Install Django : youtu.be/Ky59C5geOtg

Support me on Patreon : www.patreon.com/derekbanas

In this part of my Django tutorial series we’ll focus on Generic Views and Automated Testing. Through testing we can quickly check how are site is operating after each change. You can also simulate how the site will interact with a user depending upon an unlimited number of randomized inputs. With a little work up front you will save yourself from numerous future headaches.

If you missed any of the previous Python videos, the series starts here : www.youtube.com/playlist?list=PLGLfVvz_LVvTn3cK5e6LjhgGiSeVlIRwt

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

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

Leave a Reply

69 Comments on "Django Tutorial 4 : Django Testing"

Notify of
avatar

Masoud Rousta
Guest
Masoud Rousta
12 days 11 hours ago

Great Tutorial

Derek Banas
Guest
Derek Banas
12 days 8 hours ago

Thank you 🙂

Leonardo Rezende (LRezende)
Guest
Leonardo Rezende (LRezende)
15 days 12 hours ago

Didn't understand how you could use "create_question" function from one class in another. The "def create_question" is indented inside the first test class, isn't it?Another thing a would say(but it's not very important) is that you should use 'string {}'.format() instead % format string. Again, this is not very important but it's python and it's elegant.Nice tutorial Derek, thanks a lot.

wilroth2403
Guest
wilroth2403
17 days 23 hours ago

Who did u vote for?

Derek Banas
Guest
Derek Banas
17 days 17 hours ago

Jill Stein

Oliver Benson
Guest
Oliver Benson
18 days 16 hours ago

Hi Derek. When is your next video coming out and are you making a "… in one video" video anytime soon? Thanks.

Oliver Benson
Guest
Oliver Benson
18 days 16 hours ago

+Derek Banas That's ok Derek. Hope you feel better soon and thanks for letting me know. Looking forward to the tutorial and VB 🙂

Derek Banas
Guest
Derek Banas
18 days 16 hours ago

Sorry about Saturday. I have a terrible cold. I'll try to record the next part today, but my throat is all messed up. Yes VB in one video is coming in the next week and a half

Oliver Benson
Guest
Oliver Benson
18 days 16 hours ago

I was expecting a new Django tutorial on Saturday, so I'm just wondering about it?

Kyle Gwyn Davies
Guest
Kyle Gwyn Davies
19 days 5 hours ago

Hello Derek, I was wondering if you could make a tutorial on LaTex Typesetting system?

Derek Banas
Guest
Derek Banas
18 days 16 hours ago

Hello, Yes I'm working on it

xmark2
Guest
xmark2
19 days 9 hours ago

Hi Derek,I am fun of Python and MongoDB as well (I saw your tutorials about these as well), and now I thought Django would be a great webframe where I can use both.I'd like to ask can you show us a video how Django can use Mongodb? CRUD template would be greatSorry for the question but I couldn't find a detailed tutorial where django connected to mongodb :(Thanks,Mark

Derek Banas
Guest
Derek Banas
19 days 6 hours ago

I'm glad you like it 🙂 Yes I'll use Django with MongoDB

arunkumar kokkula
Guest
arunkumar kokkula
19 days 14 hours ago

hey derek, could you show us examples other than the ones in the documentation.. when it would would be more productive for learners

arunkumar kokkula
Guest
arunkumar kokkula
19 days 10 hours ago

Thank you Derek, I am very delighted that you care so much the quality of the content you present.

Derek Banas
Guest
Derek Banas
19 days 10 hours ago

Yes I plan on doing that. The documentation was so good though which is the reason I focused on it.

mitro
Guest
mitro
20 days 4 hours ago

Hi Derek, How can a deploy the local django project to a production server and can join many different apps like poll into one site? Thanks for your videos, they are very helpful.

Malik Evans
Guest
Malik Evans
20 days 11 hours ago

Hey Derek do you have plans to cover Angular 2?

Malik Evans
Guest
Malik Evans
20 days 10 hours ago

Thank you, one of your biggest fans will be tuned in

Derek Banas
Guest
Derek Banas
20 days 10 hours ago

Yes it is on the list. Sorry for the wait

Learn Physics
Guest
Learn Physics
20 days 20 hours ago

Derek is president 🌹

Derek Banas
Guest
Derek Banas
20 days 18 hours ago

Please no 🙂

1 2 3
wpDiscuz