Blah blah blah
.. testsetup::
# This prepare the django environment to run all the "testcode" in this file
# This is not visible in the rendered README
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings'
import django
django.setup()
from django.db import connection
connection.creation.create_test_db(verbosity=0) # I use sqlite3 inmemory
print("this python code won't be tested because in `code-block`").. testcode::
print('this python code will be tested because in `testcode`")