Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions codecov_auth/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,7 @@ class PlansInline(admin.TabularInline):
"monthly_uploads_limit",
"paid_plan",
"is_active",
"stripe_id",
]
formfield_overrides = {
Plan._meta.get_field("benefits"): {"widget": Textarea(attrs={"rows": 3})},
Expand Down Expand Up @@ -791,12 +792,13 @@ class PlanAdmin(admin.ModelAdmin):
list_display = (
"name",
"marketing_name",
"base_unit_price",
"is_active",
"tier",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added tier and reordered the "billing" parts of the plan to be next to each other for slightly easier readability

"paid_plan",
"billing_rate",
"base_unit_price",
"max_seats",
"monthly_uploads_limit",
"billing_rate",
)
list_filter = ("is_active", "paid_plan", "billing_rate", "tier")
search_fields = ("name__iregex", "marketing_name__iregex")
Expand All @@ -811,6 +813,7 @@ class PlanAdmin(admin.ModelAdmin):
"max_seats",
"monthly_uploads_limit",
"paid_plan",
"stripe_id",
]
formfield_overrides = {
Plan._meta.get_field("benefits"): {"widget": Textarea(attrs={"rows": 3})},
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ freezegun
google-cloud-pubsub
gunicorn>=22.0.0
https://github.com/codecov/opentelem-python/archive/refs/tags/v0.0.4a1.tar.gz#egg=codecovopentelem
https://github.com/codecov/shared/archive/b38e7f3813d4fc795d0e7cf852eced4660daa4ac.tar.gz#egg=shared
https://github.com/codecov/shared/archive/fe16480b3646a616ff412d5c0a28cafd2c7104c1.tar.gz#egg=shared
https://github.com/photocrowd/django-cursor-pagination/archive/f560902696b0c8509e4d95c10ba0d62700181d84.tar.gz
idna>=3.7
minio
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.13
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
#
# pip-compile requirements.in
Expand Down Expand Up @@ -416,7 +416,7 @@ sentry-sdk[celery]==2.13.0
# shared
setproctitle==1.1.10
# via -r requirements.in
shared @ https://github.com/codecov/shared/archive/b38e7f3813d4fc795d0e7cf852eced4660daa4ac.tar.gz
shared @ https://github.com/codecov/shared/archive/fe16480b3646a616ff412d5c0a28cafd2c7104c1.tar.gz
# via -r requirements.in
simplejson==3.17.2
# via -r requirements.in
Expand Down
Loading