Commit ce033ec2 authored by and's avatar and
Browse files

Formatted files

parent 74bf2bd2
Pipeline #128889 passed with stage
in 1 minute and 18 seconds
......@@ -84,6 +84,7 @@ def create_workout(user):
)
workoutSerializer.create(valid_data)
def create_comment(**kwargs):
comment_serializer = CommentSerializer()
data = {
......@@ -98,5 +99,3 @@ def create_comment(**kwargs):
data[key] = val
comment_serializer.create(data)
......@@ -11,9 +11,7 @@ urlpatterns = [
path("users/<str:username>/", views.UserDetail.as_view(), name="user-detail"),
path("offers/", views.OfferList.as_view(), name="offer-list"),
path("offers/<int:pk>/", views.OfferDetail.as_view(), name="offer-detail"),
path(
"athlete-files/", views.AthleteFileList.as_view(), name="athlete-file-list"
),
path("athlete-files/", views.AthleteFileList.as_view(), name="athlete-file-list"),
path(
"athlete-files/<int:pk>/",
views.AthleteFileDetail.as_view(),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment