Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Avoid using a column named "date" in tests

Oracle can have problems with such columns. Fixed #17932 again.
Thanks to Vinay Sajip for the report.
  • Loading branch information...
commit 34340517fc2ac324114791d784502de2a4780757 1 parent bf9d5ef
@akaariai akaariai authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  tests/regressiontests/admin_changelist/models.py
View
3  tests/regressiontests/admin_changelist/models.py
@@ -1,7 +1,8 @@
from django.db import models
class Event(models.Model):
- date = models.DateField()
+ # Oracle can have problems with a column named "date"
+ date = models.DateField(db_column="event_date")
class Parent(models.Model):
name = models.CharField(max_length=128)
Please sign in to comment.
Something went wrong with that request. Please try again.