1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Stopped conditional discovery of gis_tests apps

Refs #23879.
This commit is contained in:
Claude Paroz
2015-04-04 18:09:46 +02:00
parent 8097e54832
commit 6b6d13bf6e
15 changed files with 83 additions and 21 deletions

View File

@@ -1,6 +1,7 @@
from django.contrib.gis.db import models
from django.utils.encoding import python_2_unicode_compatible
from ..models import models
class SimpleModel(models.Model):
@@ -8,6 +9,7 @@ class SimpleModel(models.Model):
class Meta:
abstract = True
required_db_features = ['gis_enabled']
@python_2_unicode_compatible