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
413e37481d
django
/
tests
/
modeltests
/
select_for_update
/
models.py
6 lines
102 B
Python
Raw
Normal View
History
Unescape
Escape
Fixed #2705: added a `select_for_update()` clause to querysets. A number of people worked on this patch over the years -- Hawkeye, Colin Grady, KBS, sakyamuni, anih, jdemoor, and Issak Kelly. Thanks to them all, and apologies if I missed anyone. Special thanks to Dan Fairs for picking it up again at the end and seeing this through to commit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-21 04:42:07 +08:00
from
django
.
db
import
models
Convert all modeltests to use absolute imports, rather than relative ones. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16975 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-14 02:04:12 +08:00
Fixed #2705: added a `select_for_update()` clause to querysets. A number of people worked on this patch over the years -- Hawkeye, Colin Grady, KBS, sakyamuni, anih, jdemoor, and Issak Kelly. Thanks to them all, and apologies if I missed anyone. Special thanks to Dan Fairs for picking it up again at the end and seeing this through to commit. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16058 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-21 04:42:07 +08:00
class
Person
(
models
.
Model
)
:
name
=
models
.
CharField
(
max_length
=
30
)