Skip to content

Commit

Permalink
Minor text changes
Browse files Browse the repository at this point in the history
  • Loading branch information
matijakolaric committed Dec 11, 2024
1 parent aa3839b commit d3bfba7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dmp_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import dj_database_url
from decimal import Decimal

SOFTWARE = "DMP.MATIJAKOLARIC.COM"
SOFTWARE = "DJANGO MUSIC PUBLISHER"
SOFTWARE_VERSION = "24.12 HOLIDAY SPECIAL"

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
Expand Down
7 changes: 4 additions & 3 deletions music_publisher/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1447,8 +1447,9 @@ class Meta:
("NW2", "CWR 2.2: New work registrations"),
("RE2", "CWR 2.2: Revisions of registered works"),
("WRK", "CWR 3.0: Work registration"),
("ISR", "CWR 3.0: ISWC request (EDI)"),
("WR1", "CWR 3.1 DRAFT: Work registration"),
("ISR", "CWR 3.0: ISWC request"),
("WR1", "CWR 3.1: Work registration"),
("IS1", "CWR 3.1: ISWC request"),
),
)
cwr = models.TextField(blank=True, editable=False)
Expand All @@ -1470,7 +1471,7 @@ def version(self):
"""Return CWR version."""
if self.nwr_rev in ["WRK", "ISR"]:
return "30"
elif self.nwr_rev == "WR1":
elif self.nwr_rev == ["WR1", "IS1"]:
return "31"
elif self.nwr_rev in ["NW2", "RE2"]:
return "22"
Expand Down

0 comments on commit d3bfba7

Please sign in to comment.