Code

Ticket #17932: 17932.patch

File 17932.patch, 956 bytes (added by nate_b, 2 years ago)
  • tests/regressiontests/admin_changelist/models.py

    From a0af644ce45bbe5328d795c18890d9a505c9ffe5 Mon Sep 17 00:00:00 2001
    From: Nate Bragg <jonathan.bragg@alum.rpi.edu>
    Date: Mon, 19 Mar 2012 07:31:17 -0400
    Subject: [PATCH] Oracle can't handle columns named 'number'.
    
    ---
     tests/regressiontests/admin_changelist/models.py |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/tests/regressiontests/admin_changelist/models.py b/tests/regressiontests/admin_changelist/models.py
    index 6b443bf..95e69fc 100644
    a b class OrderedObject(models.Model): 
    7878    """ 
    7979    name = models.CharField(max_length=255) 
    8080    bool = models.BooleanField(default=True) 
    81     number = models.IntegerField(default=0) 
     81    number = models.IntegerField(default=0,db_column='number_val') 
    8282 
    8383    objects = OrderedObjectManager() 
     84 No newline at end of file