Kaydet (Commit) 34340517 authored tarafından Anssi Kääriäinen's avatar Anssi Kääriäinen

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.
üst bf9d5eff
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment