This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
django
mirror of
https://github.com/django/django.git
Watch
1
Star
0
Fork
You've already forked django
0
Code
Issues
24
Releases
Wiki
Activity
b7c41c1fbb
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 03:33:19 +00:00
from
django
.
db
import
models
class
Person
(
models
.
Model
)
:
name
=
models
.
CharField
(
max_length
=
100
)