dev-python/django-picklefield: tests/settings.py edit fix
This commit is contained in:
parent
360c6c2300
commit
9bfda8ca95
|
@ -20,7 +20,7 @@ distutils_enable_tests unittest
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
# Fix for >=django-3.2
|
# Fix for >=django-3.2
|
||||||
echo "DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'" >> tests/settings.py || die
|
use test && (echo "DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'" >> tests/settings.py || die)
|
||||||
distutils-r1_src_prepare
|
distutils-r1_src_prepare
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue