pycontw / pycon.tw

PyCon TW Proposal System & Backend Server
https://tw.pycon.org/prs
MIT License
95 stars 107 forks source link

updete TalkDetailView #1008

Closed Maliaotw closed 3 years ago

Maliaotw commented 3 years ago

Types of changes

Description

  1. add TalkDetail Response to API。
  2. update 'api' in path not use flat_page method.

Steps to reproduce the behavior:

Go to 'http://127.0.0.1:8000/api/talk/<int:pk>'
codecov-commenter commented 3 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@e818332). Click here to learn what that means. The diff coverage is 92.59%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1008   +/-   ##
=========================================
  Coverage          ?   70.32%           
=========================================
  Files             ?       83           
  Lines             ?     3147           
  Branches          ?        0           
=========================================
  Hits              ?     2213           
  Misses            ?      934           
  Partials          ?        0           
Impacted Files Coverage Δ
src/events/urls.py 0.00% <0.00%> (ø)
src/pycontw2016/urls.py 85.71% <ø> (ø)
src/events/api/serializers.py 93.75% <93.75%> (ø)
src/events/api/urls.py 100.00% <100.00%> (ø)
src/events/api/views.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update e818332...cf45e6d. Read the comment docs.