/tests/modeltests/empty/models.py
Python | 12 lines | 3 code | 3 blank | 6 comment | 0 complexity | 70056955011f6bad466ed21b7d7f9a02 MD5 | raw file
Possible License(s): BSD-3-Clause
- """
- 40. Empty model tests
- These test that things behave sensibly for the rare corner-case of a model with
- no fields.
- """
- from django.db import models
- class Empty(models.Model):
- pass