Model Tests4:16 with Kenneth Love
Data is usually one of the most heavily used parts of an application so making sure your models work correctly is super important.
assertLess(a, b) checks that
a is less than
django.utils.timezone is Django's timezone utility that takes the
TIME_ZONE setting into account.
python manage.py test runs all of the tests for your apps.
You need to sign up for Treehouse in order to download course files.Sign up