Generated: Sat 2012-06-09 22:07 SGT
Source file: /Users/martin/Projects/pycon-apac-2012/tdd-with-django/reusable-app/myapp2/models.py
Stats: 2 executed, 0 missed, 1 excluded, 12 ignored
"""
Models for the ``myapp2`` application.
Before implementing anything in this file, you would create
``tests/factories.py`` and ``tests/models_tests.py``. You would use the factory
to test the creation of your model, which will fail, because the model does not
exist, then you would implement your model here.
"""
from django.db import models
class Example(models.Model):
"""Example model class."""
text = models.TextField(blank=True, null=True)