Skip to content

Commit

Permalink
add docstring to TCPD Election model
Browse files Browse the repository at this point in the history
  • Loading branch information
vaeyias committed Mar 6, 2024
1 parent 6b07fea commit 45ed547
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@


class TCPDElection(models.Model):
"""
Represents each assembly and general election from 1951-1962
"""
# https://docs.djangoproject.com/en/5.0/ref/models/fields/#enumeration-types
class ElectionType(models.TextChoices):
AE = "AE"
Expand Down

0 comments on commit 45ed547

Please sign in to comment.