Skip to content

Commit

Permalink
Merge pull request #231 from opensafely-core/adr-django
Browse files Browse the repository at this point in the history
add adr for django
  • Loading branch information
bloodearnest authored Aug 22, 2023
2 parents 839c6a9 + 2a412aa commit 3deaa3c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/adr/0005-django-framework.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# 5. Uee django framework for python backend

Date: 2023-08-11

## Status

Accepted

## Context

We need to provide a python http server to deliver the UI and handle the files.

## Decision

We will use the Django framework for two reasons

- the team is very familiar with it
- there's a high likelihood of needing a db for this project in future, and
django has good support for migrations.

## Consequences


### Pros

- familiarity
- strong db support

### Cons

- larger dependency than needed for the initial scope
- currenly uses in-memory db, which logs some spurious migration errors on startup

0 comments on commit 3deaa3c

Please sign in to comment.