~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to tests/regressiontests/initial_sql_regress/models.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-15 19:15:33 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081115191533-xbt1ut2xf4fvwtvc
Tags: 1.0.1-0ubuntu1
* New upstream release:
  - Bug fixes.

* The tests/ sub-directory appaers to have been dropped upstream, so pull
  our patch to workaround the tests and modify the rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
"""
2
 
Regression tests for initial SQL insertion.
3
 
"""
4
 
 
5
 
from django.db import models
6
 
 
7
 
class Simple(models.Model):
8
 
    name = models.CharField(max_length = 50)
9
 
 
10
 
__test__ = {'API_TESTS':""}
11
 
 
12
 
# NOTE: The format of the included SQL file for this test suite is important.
13
 
# It must end with a trailing newline in order to test the fix for #2161.