mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
This commit is contained in:
@@ -26,7 +26,7 @@ class Foo(models.Model):
|
||||
|
||||
|
||||
def get_foo():
|
||||
return Foo.objects.get(id=1)
|
||||
return Foo.objects.get(id=1).pk
|
||||
|
||||
|
||||
class Bar(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user