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

72 Comments on "Django Tutorial 4 : Django Testing"

Notify of
avatar

Aleksandar Ivanov
Guest
Aleksandar Ivanov
1 month 8 days ago

Hi Derek,

Can you tell me which IDE you are usally using for codding for which language and recomend free download.

Aleksandar Ivanov
Guest
Aleksandar Ivanov
1 month 8 days ago

It will be much youseful if you can tell which IDE you are using for which tutorial.

Derek Banas
Guest
Derek Banas
1 month 8 days ago

Hi Aleksandar, I'm using the free version of PyCham www.jetbrains.com/pycharm/

Masoud Rousta
Guest
Masoud Rousta
4 months 4 days ago

Great Tutorial

Derek Banas
Guest
Derek Banas
4 months 4 days ago

Thank you 🙂

Leonardo Rezende
Guest
Leonardo Rezende
4 months 7 days 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
4 months 10 days ago

Who did u vote for?

Derek Banas
Guest
Derek Banas
4 months 9 days ago

Jill Stein

Oliver Benson
Guest
Oliver Benson
4 months 10 days 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
4 months 10 days 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
4 months 10 days 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
4 months 10 days ago

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

Kyle Davies
Guest
Kyle Davies
4 months 11 days ago

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

Derek Banas
Guest
Derek Banas
4 months 10 days ago

Hello, Yes I'm working on it

xmark2
Guest
xmark2
4 months 11 days 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
4 months 11 days ago

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

arunkumar kokkula
Guest
arunkumar kokkula
4 months 11 days 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
4 months 11 days 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
4 months 11 days ago

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

mitro
Guest
mitro
4 months 12 days 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
4 months 12 days ago

Hey Derek do you have plans to cover Angular 2?

Malik Evans
Guest
Malik Evans
4 months 12 days ago

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

Derek Banas
Guest
Derek Banas
4 months 12 days ago

Yes it is on the list. Sorry for the wait

1 2 3
wpDiscuz