-
Notifications
You must be signed in to change notification settings - Fork 61
Jarbas must accept federal senate suspicions #216
Comments
I can help 😬 |
Following this roadmap,
These questions sound dumb, but its good be sure about it hahaha |
Hi @giovanisleite,
I don't think so… we still have stuff unrelated to any application (e.g.
That woks pretty well I guess. This way later might add, for example, we could have amendments. So I would fo for:
Does that make sense? |
Oh, sure.
Yes, it seems pretty good. I don't know the federal_senate structure yet, but I will look into it to do something/ask about his model. |
That'd be awesome but TBH I don't think worrying about it is helpful anyhow to this PR. If we isolate Chamber of Deputies reimbursements logic to dedicated apps, Jarbas would be flexible enough to embrace any structure of data Federal Senate might have ; ) |
The api will keep accessing company data (core models). So, the api structure for company, activity and future or keep it on jarbas (the way that it is today) -> jarbas urls maps from root to api/ and api handles with it (company etc) or maps for the right app, chamber or federal etc. I'm not sure about the best option. Maybe, there is a third one. Maintain api where it is and create the others inside it. So, jarbas maps from root to api and api maps to api/chamber_of_deputies, etc.. (This structure is more like the urls). |
Hi @giovanisleite, I'm really not sure but I'd try something like:
Although this do not have to reflect the app and modules structure. What do you think? |
I agree on these urls.
If the second, jarbas.api handles I agree on "api doesn't have to reflect struture", but the structure I didn't find much content about it, but applying this strategy, the struture can be: |
I'd go for each app ( |
For a while now Rosie is capable of generating suspicions for the Federal Senate. But that suspicions are not reflected on Jarbas.
Talking with @cuducos we agree that the following might be a roadmap for the update:
chamber_of_deputies
jarbas.core.models
tojarbas.chamber_of_deputies.models
api
to the newchamber_of_deputies
appjarbas.core.management.commands
tojarbas.chamber_of_deputies.management.commands
federal_senate
ReimbursementModelAdmin
in thedashboard/admin.py
With Federal Senate models to show it on the dashboardTLDR move everything from
core
andapi
to a new app and create a new app for the Federal Senate and add it to the admin ; )The text was updated successfully, but these errors were encountered: