Top Stories published by Django Musings in April of 2016

Integration Testing on Django

Django’s testing doc is here.

Django provides out-of-the-box many tools to do automated testing. You can build unit-tests, run them with “python manage.py tests” (even though I would ask why don’t you use an IDE like PyCharm) and Django will do…


Django’s Hooks and Signals

Django doc here.

Sometimes you want to do something in your webapp as a response to an event that occurred elsewhere.

For instance. You might want that each time a model is saved to execute an action or update a different model.


The Multiple Settings Files Pattern

I read this first in Two Scoops of Django a while back.

When we start working with Django we learn fast that we’ll need to use some settings values to run the app in development mode, and some other setting values for when we deploy the app…


Starting with django-rest-framework

Django-Rest-Framework doc here.

Let’s say that you want to create a REST API and you want to use rest_framework, here is what you need to know to start using it right away (BTW you can also read their official tutorial, here).

About
Django Musings
My personal notes and thoughts on Django Web Development
More information
Tags
Editors