This website requires JavaScript.
Explore
Help
Register
Sign In
mirrors
/
django
Watch
1
Star
0
Fork
0
You've already forked django
mirror of
https://github.com/django/django.git
synced
2024-12-29 12:36:08 +00:00
Code
Issues
30
Releases
Wiki
Activity
02b837d38a
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
)
Reference in New Issue
Copy Permalink