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

Support project specific project and gazetteer structure #105

Open
davidorme opened this issue Jan 18, 2024 · 0 comments
Open

Support project specific project and gazetteer structure #105

davidorme opened this issue Jan 18, 2024 · 0 comments

Comments

@davidorme
Copy link
Collaborator

At the moment, the gazetteer and project resources have a fixed structure because of the need to populate a table in safedata_server. The table definition in the web application has a fixed list of fields.

This can either be fixed by dynamically building the table definition over on the server or by coming up with a simple configuration option here that provides the table structure. That last one seems preferable because you don't really want the structure of those tables to change - it should be defined once and then future resource updates can add rows but not change fields.

It might be easiest simply to describe how to edit the safedata_server resources.py model. At least initially - some kind of tool would be good but this is such a low frequency event - make this part of the guide in #104 .

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

No branches or pull requests

1 participant