PageRenderTime 49ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/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
Possible License(s): BSD-3-Clause
  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