Explore >> Select a destination


You are here

www.django-rest-framework.org
| | sam.hooke.me
1.8 parsecs away

Travel
| | The home page of Sam Hooke.
| | www.valentinog.com
4.5 parsecs away

Travel
| | A cheat sheet of common testing recipes for Django applications.
| | stribny.name
3.0 parsecs away

Travel
| | How to combine request and response serializers into one for use in ModelViewSets.
| | www.paepper.com
20.7 parsecs away

Travel
| Unit testing your models in Django As a good developer, you write unit tests, of course. You will probably even write your tests before implementing your logic in a test-driven approach! However, when developing complex models which have interactions and foreign keys, writing tests can get messy and complicated. Say you want to test a model which has many dependencies to other models via foreign keys. To create an instance of your model, you first need to create all the other model instances which your m...