/tests/modeltests/empty/models.py

https://code.google.com/p/mango-py/ · Python · 12 lines · 3 code · 3 blank · 6 comment · 0 complexity · 70056955011f6bad466ed21b7d7f9a02 MD5 · raw file

  1. """
  2. 40. Empty model tests
  3. These test that things behave sensibly for the rare corner-case of a model with
  4. no fields.
  5. """
  6. from django.db import models
  7. class Empty(models.Model):
  8. pass