Skip to content

Commit

Permalink
chore: override django stripe verbose name (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
vncsna authored Oct 11, 2023
1 parent 50df33d commit 0bb7806
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 3 additions & 4 deletions basedosdados_api/payments/apps.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-
from django.apps import AppConfig
from djstripe.apps import DjstripeAppConfig


class PaymentsConfig(AppConfig):
name = "basedosdados_api.payments"
app_label = "payments"
class PaymentsConfig(DjstripeAppConfig):
verbose_name = "Stripe"
5 changes: 2 additions & 3 deletions basedosdados_api/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,18 +44,17 @@
"health_check",
"health_check.db",
#
"djstripe",
"corsheaders",
"ordered_model",
"haystack",
"graphene_django",
"ordered_model",
"huey.contrib.djhuey",
# Apps
"basedosdados_api.account",
"basedosdados_api.core",
"basedosdados_api.api.v1",
"basedosdados_api.schemas",
"basedosdados_api.payments",
"basedosdados_api.payments.apps.PaymentsConfig",
]

MIDDLEWARE = [
Expand Down

0 comments on commit 0bb7806

Please sign in to comment.