Ticket #13322: 13322-test.diff

File 13322-test.diff, 527 bytes (added by Claude Paroz, 13 years ago)

Tentative test (worksforme)

  • tests/regressiontests/inspectdb/models.py

    diff --git a/tests/regressiontests/inspectdb/models.py b/tests/regressiontests/inspectdb/models.py
    index fc2548b..11556c2 100644
    a b  
     1# -*- encoding: utf-8 -*-
    12from django.db import models
    23
    34
    class People(models.Model):  
    67
    78class Message(models.Model):
    89    from_field = models.ForeignKey(People, db_column='from_id')
     10
     11class Calendar(models.Model):
     12    day  = models.IntegerField(db_column=u'día')
Back to Top