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

Feature/csckan-290 - change region/layer model to be independent models from AEMeta - and related changes #288

Merged
merged 20 commits into from
Jul 18, 2024

Conversation

D-GopalKrishna
Copy link
Contributor

@D-GopalKrishna D-GopalKrishna commented Jul 9, 2024

Jira link - SCKAN-290

Task description

  1. Update the models
  2. do the migrations + data migrations -> migrations are divided into three steps along with useful comments - steps taken for each step.
  3. admin changes with the new models
  4. signal modifications to accommodate the new models.
  5. Ingestion script updated
  6. validator logic updated

@D-GopalKrishna D-GopalKrishna marked this pull request as draft July 9, 2024 17:01
@D-GopalKrishna D-GopalKrishna marked this pull request as ready for review July 9, 2024 18:38
@D-GopalKrishna
Copy link
Contributor Author

How to create a layer -

2024-07-10.00-42-24.mp4

@D-GopalKrishna
Copy link
Contributor Author

We don't have on_save to create other entities from the intersection table or layer/table because - each has its UI in the admin interface and saves it when saved from the admin UI.

Here is a video demo

2024-07-10.03-27-20.mp4

Copy link
Member

@afonsobspinto afonsobspinto left a comment

Choose a reason for hiding this comment

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

Overall looks good to me I just left some small change requests.
As agreed internally I did not test this PR as I believe @ddelpiano will be doing that shortly.

backend/composer/models.py Outdated Show resolved Hide resolved
backend/composer/models.py Outdated Show resolved Hide resolved
backend/composer/models.py Outdated Show resolved Hide resolved
backend/composer/models.py Show resolved Hide resolved
afonsobspinto
afonsobspinto previously approved these changes Jul 10, 2024
afonsobspinto
afonsobspinto previously approved these changes Jul 11, 2024
ddelpiano
ddelpiano previously approved these changes Jul 18, 2024
@ddelpiano ddelpiano merged commit 82c22ad into develop Jul 18, 2024
1 check passed
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.

3 participants