Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is order of EventAgendaItem a character and not an int? #128

Open
fgregg opened this issue Oct 31, 2019 · 1 comment
Open

Why is order of EventAgendaItem a character and not an int? #128

fgregg opened this issue Oct 31, 2019 · 1 comment
Labels
legislative Relating to the legislative app

Comments

@fgregg
Copy link
Contributor

fgregg commented Oct 31, 2019

The agenda item model has an order field, which is very useful.

It's a CharField. It would be much more convenient for me if it was an Integer field. Is there any reason why it needs to be a CharField?

class EventAgendaItem(RelatedBase):
description = models.TextField()
classification = ArrayField(base_field=models.TextField(), blank=True, default=list)
order = models.CharField(max_length=100, blank=True)

@jamesturk
Copy link
Member

this does seem wrong, a fix would def. be welcome (FWIW we don't use events anymore, so feel free to do whatever you want w/ them)

@jpmckinney jpmckinney changed the title Why is order of eventagenda a character and not an int? Why is order of EventAgendaItem a character and not an int? May 15, 2024
@jpmckinney jpmckinney added the legislative Relating to the legislative app label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legislative Relating to the legislative app
Development

No branches or pull requests

3 participants