|
You are here |
sobolevn.me | ||
| | | | |
zhd.dev
|
|
| | | | | ||
| | | | |
www.paepper.com
|
|
| | | | | 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... | |
| | | | |
www.argpar.se
|
|
| | | | | Get some handy tips for testing the django admin. | |
| | | | |
quakkels.com
|
|
| | | Django is a Python framework that I've written about before. I've compared Django to ASP.NET MVC. But, I didn't go into much detail about how to actually use Django to create a data driven website. That's what I'll cover now. | ||