chicommons / maps

MIT License
5 stars 18 forks source link

Backend: Add "scope" field into Coop model #185

Open laredotornado opened 2 years ago

laredotornado commented 2 years ago

Be sure you are on the authentication branch

git checkout authentication

Visit the page for adding a new coop (http://localhost:3000/directory-additions-updates without Docker and http://localhost:3001/directory-additions-updates with Docker), when we submit a form

Screen Shot 2022-04-09 at 7 27 40 PM

there is a field "Scope of Service", which we do not currently have a field in the database for. You will want to add a string field to the Coop model (in the web/models.py file) and then create a migration to add this to the database.

We will want to add support for later updating our serializers (how our model is returned to the frontend) to include scope, but that will be a separate ticket.

domdelorenzo commented 4 months ago

Included in 3.1-model-refactor

maxgraziano commented 4 months ago

@SteveEdiger what are the acceptable values for this?

maxgraziano commented 1 month ago

Per ChiHackNight meeting 8/13/2024: Scope should be an enum with the following values: Hyperlocal, local, regional, state, national, international, virtual