Skip to content

Commit

Permalink
Merge pull request #400 from openedx/ammar/add-subsidy_access_policy_…
Browse files Browse the repository at this point in the history
…display_name

feat: Add `subsidy_access_policy_display_name` field in `EnterpriseSubsidyBudget` model
  • Loading branch information
muhammad-ammar committed Sep 15, 2023
2 parents a614002 + abd7712 commit 8f3796e
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ Unreleased
----------

=========================
[5.4.0] - 2023-09-14
---------------------
* Add `subsidy_access_policy_display_name` field in `EnterpriseSubsidyBudget` model

[5.3.1] - 2023-09-07
---------------------
* Exclude hashed `id` field from `EnterpriseSubsidyBudgetSerializer`
Expand Down
2 changes: 1 addition & 1 deletion enterprise_data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Enterprise data api application. This Django app exposes API endpoints used by enterprises.
"""

__version__ = "5.3.1"
__version__ = "5.4.0"

default_app_config = "enterprise_data.apps.EnterpriseDataAppConfig" # pylint: disable=invalid-name
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.20 on 2023-09-14 09:55

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('enterprise_data', '0035_auto_20230907_1154'),
]

operations = [
migrations.AddField(
model_name='enterprisesubsidybudget',
name='subsidy_access_policy_display_name',
field=models.CharField(max_length=512, null=True),
),
]
1 change: 1 addition & 0 deletions enterprise_data/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ class Meta:
enterprise_customer_uuid = models.UUIDField()
enterprise_customer_name = models.CharField(max_length=255, null=True)
subsidy_access_policy_description = models.CharField(max_length=500, null=True)
subsidy_access_policy_display_name = models.CharField(max_length=512, null=True)
subsidy_title = models.CharField(max_length=255, null=True)
catalog_name = models.CharField(max_length=255, null=True)
subsidy_access_policy_type = models.CharField(max_length=255, null=True)
Expand Down

0 comments on commit 8f3796e

Please sign in to comment.