-
Notifications
You must be signed in to change notification settings - Fork 1
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
Integrated party seat shares in Lok Sabha dataset #2
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great! I made some minor comments to draw attention to areas we should remember to change if new models or commands are added, although I'll update them and merge this branch into main.
|
||
|
||
class SeatShare(models.Model): | ||
# https://docs.djangoproject.com/en/5.0/ref/models/fields/#enumeration-types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be removed
|
||
class Command(BaseCommand): | ||
""" | ||
Custom django-admin command used to run an analysis from the app/analysis folder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be replaced with the actual function of the command
@@ -0,0 +1,42 @@ | |||
""" | |||
Django management command load_dataset |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change to load_seatshare
Changes made:
Adjustments to be made: