diff --git a/tests/generic_relations_regress/tests.py b/tests/generic_relations_regress/tests.py
index b6782fe..87c164b 100644
|
a
|
b
|
class GenericRelationTests(TestCase):
|
| 50 | 50 | TextLink.objects.create(content_object=oddrel) |
| 51 | 51 | oddrel.delete() |
| 52 | 52 | |
| | 53 | def test_textlink_join(self): |
| | 54 | list(OddRelation2.objects.filter(tlinks__id=None)) |
| | 55 | |
| 53 | 56 | def test_q_object_or(self): |
| 54 | 57 | """ |
| 55 | 58 | Tests that SQL query parameters for generic relations are properly |
diff --git a/tests/test_postgre.py b/tests/test_postgre.py
new file mode 100644
index 0000000..101c2e9
|
-
|
+
|
|
| | 1 | DATABASES = { |
| | 2 | 'default': { |
| | 3 | 'ENGINE': 'django.db.backends.postgresql_psycopg2', |
| | 4 | 'HOST': __import__('os').environ.get('PGHOST') |
| | 5 | } |
| | 6 | } |
| | 7 | |
| | 8 | SECRET_KEY = "django_tests_secret_key" |