Fixed pytest-django requirement pinning
Allow db access for some tests