Page MenuHomeSoftware Heritage

django: Use proper way to return JSON responses
ClosedPublic

Authored by anlambert on Sep 15 2020, 6:08 PM.

Details

Summary

Let's save some lines of code by using django.http.JsonResponse class.

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Reinstate docstring removed by mistake.

Build is green

Patch application report for D3956 (id=13932)

Rebasing onto 37cd0a8bce...

Current branch diff-target is up to date.
Changes applied before test
commit 1141e0a88e22469ac542dcf86c5aa87a1d9a381f
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Sep 15 18:08:24 2020 +0200

    django: Use proper way to return JSON responses
    
    Let's save some lines of code by using django.http.JsonResponse class.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/367/ for more details.

Build is green

Patch application report for D3956 (id=13933)

Rebasing onto 37cd0a8bce...

Current branch diff-target is up to date.
Changes applied before test
commit 7b0c907b0ee3258ccfedbe97278f6557b496e97e
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Sep 15 18:08:24 2020 +0200

    django: Use proper way to return JSON responses
    
    Let's save some lines of code by using django.http.JsonResponse class.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/368/ for more details.

Build is green

Patch application report for D3956 (id=13934)

Rebasing onto 37cd0a8bce...

Current branch diff-target is up to date.
Changes applied before test
commit 9a376c04b182571acc9899d0127910ed9e660a6b
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Sep 15 18:08:24 2020 +0200

    django: Use proper way to return JSON responses
    
    Let's save some lines of code by using django.http.JsonResponse class.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/369/ for more details.

This revision is now accepted and ready to land.Sep 16 2020, 9:23 AM

Build is green

Patch application report for D3956 (id=13945)

Rebasing onto 185c2d3a4a...

Current branch diff-target is up to date.
Changes applied before test
commit 9055cd261f01d9cec12e4ebea04faa24b6b60d50
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Tue Sep 15 18:08:24 2020 +0200

    django: Use proper way to return JSON responses
    
    Let's save some lines of code by using django.http.JsonResponse class.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/371/ for more details.