dci-python-backend-assignments / tdd-class-social

6 stars 4 forks source link

As a student I want to search and find an institution to attend #1

Open hilabit opened 2 years ago

hilabit commented 2 years ago

As a student I want to be able to search and find institutions by location (address), name of institution, research / educational field.

hilabit commented 2 years ago

.

mathiasbrito-dci commented 2 years ago

We need to define the model for Institution, I think it can be done in the context of this story, what is your suggestion? id and name are my contribution for the fields  😄

HugoLMFbd commented 2 years ago

Can I suggest to create a model institution that inheritance the attributes from the base model organisation(BaseModel). list_ of_active_students, list_of_active_teachers attribute ?

mathiasbrito-dci commented 2 years ago

I think it is fare Hugo, I'll update the models task so that it contains the institution model.

hilabit commented 2 years ago

What I've accomplished so far:

What I plan to accomplish today: Making the test run and adding a negative test as well as 2 more other tests What's blocking me:

  1. I get an error "import User" but I can't trace to where it's missing an import. We were working in a group of three and no one was able to point it out. I contacted @mathiasbrito-dci on Thursday for assistance on it so hopefully today we'd be able to go over it together
  2. Need approval for making change in class Institution
mathiasbrito-dci commented 2 years ago

Yes, You do have permission to change the institution class. I will check the error with you later.

hilabit commented 2 years ago

What I've accomplished so far:

What's blocking me: knowledge but I'm working on it :)

mathiasbrito-dci commented 2 years ago

Nice Hila! what knowledge exactly, let us know :)