-
Notifications
You must be signed in to change notification settings - Fork 9
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
User portal copyright with images #813
Conversation
if community: | ||
event.community = community | ||
else: | ||
event.community = None |
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.
I think this should give an error. Specified a community_id but ommunity didn't exist. Existing bug...
|
||
goal["organic_attained_carbon_footprint_reduction"] = carbon_footprint_reduction | ||
|
||
# calculate values for community impact to be displayed on front-end sites | ||
impact_page_settings: ImpactPageSettings = ImpactPageSettings.objects.filter(community__id=self.pk).first() | ||
impact_page_settings: ImpactPageSettings = ImpactPageSettings.objects.filter( |
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.
half the time when one of you guys does a reformatting like this, the other one changes it back. Maybe depends on your mood?
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.
LGTM
Works with Frontend PR : massenergize/frontend-portal#1269