mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 08:14:16 +03:00
removed empty row
This commit is contained in:
parent
9aa3726009
commit
bcfb46eedc
|
@ -36,7 +36,6 @@ So far, so good. It looks pretty similar to the previous case, but we've got be
|
||||||
"""
|
"""
|
||||||
Retrieve, update or delete a snippet instance.
|
Retrieve, update or delete a snippet instance.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def get_object(self, pk):
|
def get_object(self, pk):
|
||||||
try:
|
try:
|
||||||
return Snippet.objects.get(pk=pk)
|
return Snippet.objects.get(pk=pk)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user