Opened 5 years ago
Closed 5 years ago
#31772 closed New feature (wontfix)
Support for field with Roman Numeral
| Reported by: | Aman Sharma | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | 3.0 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
A Django model field which would have an inbuilt validation to check if the value entered is a valid Roman Numeral. It could be something like this:
from django.db import models
class Book(models.Model):
volume = models.RomanNumeralField()
I wanted to know if this is a good idea or not. If it gets approved, I would definitely like to work on it.
Note:
See TracTickets
for help on using tickets.
Thanks for this ticket, however it's quite niche I don't think there's a strong reason to create a new model field class. It sounds like a third-party package is the best way to proceed.