This website requires JavaScript.
Explore
Help
Sign In
test0908
/
django
Watch
1
Star
0
Fork
You've already forked django
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
5c143cb340
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
)