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
5649c0af9d
django
/
tests
/
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-20 20:42:07 +00: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-13 18:04:12 +00: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-20 20:42:07 +00:00
class
Person
(
models
.
Model
)
:
name
=
models
.
CharField
(
max_length
=
30
)