1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed E305 flake8 warnings.

This commit is contained in:
Ramin Farajpour Cami
2016-11-12 20:41:23 +03:30
committed by Tim Graham
parent 6072de727f
commit 967be82443
114 changed files with 360 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ class IndexTogetherSingleList(models.Model):
class Meta:
index_together = ["headline", "pub_date"]
# Indexing a TextField on Oracle or MySQL results in index creation error.
if connection.vendor == 'postgresql':
class IndexedArticle(models.Model):