blob: 02890554990a22e14d35f9698fee1de437015830 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from unittest import mock
from django.db import migrations
try:
from django.contrib.postgres.operations import CryptoExtension
except ImportError:
CryptoExtension = mock.Mock()
class Migration(migrations.Migration):
# Required for the SHA database functions.
operations = [CryptoExtension()]
|