Skip to content

Commit f48dc4a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 64a9ba4 commit f48dc4a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/rideshare/views.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ class RideCreate(LoginRequiredMixin, CampViewMixin, CreateView):
7373
"seats",
7474
"description",
7575
)
76+
7677
def get_initial(self):
7778
"""Default 'author' to users public_credit_name where relevant"""
7879
return {"author": self.request.user.profile.get_public_credit_name}

src/tickets/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ def is_paid(self, obj):
8080
"name",
8181
"email",
8282
)
83+
8384
def get_queryset(self, request):
8485
return (
8586
super()

0 commit comments

Comments
 (0)