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