Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@thenav56
Copy link
Member

@thenav56 thenav56 force-pushed the feature/fix-project-delete-issue branch from ebdf351 to 05ae18c Compare February 28, 2023 06:15
@thenav56 thenav56 marked this pull request as ready for review February 28, 2023 06:30
Copy link
Member

@laurentS laurentS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok to me. I'm baffled by the fact that django doesn't support on delete constraints!

SENTRY_DSN: ${DJANGO_SENTRY_DSN}
SENTRY_SAMPLE_RATE: ${DJANGO_SENTRY_SAMPLE_RATE:-0.2}
MAPSWIPE_ENVIRONMENT: ${MAPSWIPE_ENVIRONMENT:-dev}
MAPSWIPE_ENVIRONMENT: ${MAPSWIPE_ENVIRONMENT:-prod}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the change to prod here? I would have thought that keeping things to dev by default would make it easier to start a dev env for newcomers, and also avoid any accidental actions on prod for users who happen to have prod info available.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently docker-compose.yaml is not development friendly as we need to build for each change and also the nginx configs require some custom work. That is why we created docker-compose.tc.yaml to fit our development need which is also WIP.
So, as we are using docker-compose.yaml in the production run, I used the environment to be prod by default. We should define this accordingly in staging/production. But also we are using separate sentry projects in staging/production, this is not really used.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm baffled by the fact that django doesn't support on delete constraints!

Same here.

@frozenhelium frozenhelium changed the base branch from master to dev April 10, 2023 15:13
@danbjoseph danbjoseph merged commit ec51bfa into dev Apr 10, 2023
@danbjoseph danbjoseph deleted the feature/fix-project-delete-issue branch April 10, 2023 15:14
@udaynwa udaynwa mentioned this pull request May 16, 2023
Merged
thenav56 added a commit that referenced this pull request May 18, 2023
Dev

Managers Dashboard
- Use a different GeoJSON validator #662
- Add a namespace for file name in storage #668
- Fix delete projects not working #657
Community Dashboard
- Fix the heatmap not moving when the user pans through world copies #655
- Fix time-series aggregation issue #669
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants