mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 18:39:21 +02:00
Merge branch 'main' into issue-updateminaie
This commit is contained in:
commit
dc0056072a
4 changed files with 51 additions and 5 deletions
6
.github/ISSUE_TEMPLATE/bug.yml
vendored
6
.github/ISSUE_TEMPLATE/bug.yml
vendored
|
@ -43,7 +43,7 @@ body:
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: environment
|
id: environment
|
||||||
attributes:
|
attributes:
|
||||||
label: Environment (optional)
|
label: Environment
|
||||||
description: |
|
description: |
|
||||||
Where is this issue occurring? If related to development environment, list the relevant tool versions.
|
Where is this issue occurring? If related to development environment, list the relevant tool versions.
|
||||||
|
|
||||||
|
@ -54,12 +54,12 @@ body:
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: additional-context
|
id: additional-context
|
||||||
attributes:
|
attributes:
|
||||||
label: Additional Context (optional)
|
label: Additional Context
|
||||||
description: "Please include additional references (screenshots, design links, documentation, etc.) that are relevant"
|
description: "Please include additional references (screenshots, design links, documentation, etc.) that are relevant"
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: issue-links
|
id: issue-links
|
||||||
attributes:
|
attributes:
|
||||||
label: Issue Links (optional)
|
label: Issue Links
|
||||||
description: |
|
description: |
|
||||||
What other issues does this story relate to and how?
|
What other issues does this story relate to and how?
|
||||||
|
|
||||||
|
|
4
.github/ISSUE_TEMPLATE/story.yml
vendored
4
.github/ISSUE_TEMPLATE/story.yml
vendored
|
@ -47,12 +47,12 @@ body:
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: additional-context
|
id: additional-context
|
||||||
attributes:
|
attributes:
|
||||||
label: Additional Context (optional)
|
label: Additional Context
|
||||||
description: "Please include additional references (screenshots, design links, documentation, etc.) that are relevant"
|
description: "Please include additional references (screenshots, design links, documentation, etc.) that are relevant"
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: issue-links
|
id: issue-links
|
||||||
attributes:
|
attributes:
|
||||||
label: Issue Links (optional)
|
label: Issue Links
|
||||||
description: |
|
description: |
|
||||||
What other issues does this story relate to and how?
|
What other issues does this story relate to and how?
|
||||||
|
|
||||||
|
|
41
docs/architecture/decisions/0021-django-admin.md
Normal file
41
docs/architecture/decisions/0021-django-admin.md
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
# 21. Use Django Admin for Application Management
|
||||||
|
|
||||||
|
Date: 2023-06-22
|
||||||
|
|
||||||
|
## Status
|
||||||
|
|
||||||
|
Accepted
|
||||||
|
|
||||||
|
## Context
|
||||||
|
|
||||||
|
CISA needs a way to perform administrative actions to manage the new get.gov application as well as the .gov domain
|
||||||
|
application requests submitted. Analysts need to be able to view, review, and approve domain applications. Other
|
||||||
|
dashboard views, reports, searches (with filters and sorting) are also highly desired.
|
||||||
|
|
||||||
|
## Decision
|
||||||
|
|
||||||
|
Use Django's [Admin](https://docs.djangoproject.com/en/4.2/ref/contrib/admin/) site for administrative actions. Django
|
||||||
|
Admin gives administrators all the powers we anticipate needing (and more), with relatively little overhead on the
|
||||||
|
development team.
|
||||||
|
|
||||||
|
## Consequences
|
||||||
|
|
||||||
|
Django admin provides the team with a _huge_ head start on the creation of an administrator portal.
|
||||||
|
|
||||||
|
While Django Admin is highly customizable, design and development will be constrained by what is possible within Django
|
||||||
|
Admin.
|
||||||
|
|
||||||
|
We anticipate that this will, overall, speed up the time to MVP compared to building a completely custom solution.
|
||||||
|
|
||||||
|
Django Admin offers omnipotence for administrators out of the box, with direct access to database objects. This includes
|
||||||
|
the ability to put the application and its data in an erroneous state, based on otherwise normal business rules/logic.
|
||||||
|
|
||||||
|
In contrast to building an admin interface from scratch where development activities would predominantly
|
||||||
|
involve _building up_, leveraging Django Admin will require carefully _pairing back_ the functionalities available to
|
||||||
|
users such as analysts.
|
||||||
|
|
||||||
|
While we anticipate that Django Admin will meet (or even exceed) the user needs that we are aware of today, it is still
|
||||||
|
an open question whether Django Admin will be the long-term administrator tool of choice. A pivot away from Django Admin
|
||||||
|
in the future would of course mean starting from scratch at a later date, and potentially juggling two separate admin
|
||||||
|
portals for a period of time while a custom solution is incrementally developed. This would result in an overall
|
||||||
|
_increase_ to the total amount of time invested in building an administrator portal.
|
|
@ -49,6 +49,11 @@ class UserFixture:
|
||||||
"first_name": "Cameron",
|
"first_name": "Cameron",
|
||||||
"last_name": "Dixon",
|
"last_name": "Dixon",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"username": "0353607a-cbba-47d2-98d7-e83dcd5b90ea",
|
||||||
|
"first_name": "Ryan",
|
||||||
|
"last_name": "Brooks",
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue