mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Merged regressiontests and modeltests into the test root.
This commit is contained in:
12
tests/empty/models.py
Normal file
12
tests/empty/models.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""
|
||||
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
|
||||
Reference in New Issue
Block a user