This website requires JavaScript.
Explore
Help
Sign In
p31829507
/
django
mirror of
https://github.com/django/django.git
Watch
1
Star
0
Fork
You've already forked django
0
Code
Issues
Projects
Releases
Wiki
Activity
3d7afd5d2b
django
/
tests
/
regressiontests
/
test_utils
/
models.py
6 lines
103 B
Python
Raw
Normal View
History
Unescape
Escape
Fixed #5416 -- Added TestCase.assertNumQueries, which tests that a given function executes the correct number of queries. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-12 11:33:19 +08:00
from
django
.
db
import
models
class
Person
(
models
.
Model
)
:
name
=
models
.
CharField
(
max_length
=
100
)