Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Generated by Django 4.2.28 on 2026-03-17 09:25

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("additional_data", "0013_alter_orginfocache_org_type"),
]

operations = [
migrations.AlterField(
model_name="orginfocache",
name="org_type",
field=models.CharField(
choices=[
("casc", "Community Amateur Sports Clubs regulated by HMRC"),
("ccew", "Registered charities in England and Wales"),
("ccni", "Registered charities in Northern Ireland"),
("oscr", "Registered charities in Scotland"),
(
"companies",
"Companies registered with Companies House (the scraper only imports non-profit company types)",
),
(
"mutuals",
"Mutual societies registered with the Financial Conduct Authority",
),
("gor", "A register of government organisations"),
(
"ror",
"Research Organisation Registry (formerly GRID) - only those that are based in the UK and are not a registered company are included.",
),
("coe", "Church of England"),
("officeforstudents", "Office for Students"),
(
"hesa",
"Organisations covered by the Higher Education Statistics Agency.",
),
("lae", "Register of local authorities in England"),
("lani", "Register of local authorities in Northern Ireland"),
("las", "Register of local authorities in Scotland"),
("pla", "Register of principal local authorities in Wales"),
("nhsods-epraccur", "NHS organisations"),
("nhsods-etr", "NHS organisations"),
("nhsods-ensa", "NHS organisations"),
("nhsods-eccg", "NHS organisations"),
("nhsods-ecsu", "NHS organisations"),
("nhsods-espha", "NHS organisations"),
("nhsods-wlhb", "NHS organisations"),
("nhsods-ect", "NHS organisations"),
("rsl", "Registered social landlords"),
("schools_gias", "Schools in England (also includes Universities)"),
("schools_ni", "Schools in Northern Ireland"),
("schools_scotland", "Schools in Scotland"),
("schools_wales", "Schools in Wales"),
],
max_length=20,
),
),
]
4 changes: 4 additions & 0 deletions datastore/additional_data/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ class OrgInfoCache(models.Model):
LANI = "lani"
LAS = "las"
PLA = "pla"
COE = "coe"
OFFICEFORSTUDENTS = "officeforstudents"
NHSODS_EPRACCUR = "nhsods-epraccur"
NHSODS_ETR = "nhsods-etr"
NHSODS_ENSA = "nhsods-ensa"
Expand Down Expand Up @@ -52,6 +54,8 @@ class OrgInfoCache(models.Model):
ROR,
"Research Organisation Registry (formerly GRID) - only those that are based in the UK and are not a registered company are included.",
),
(COE, "Church of England"),
(OFFICEFORSTUDENTS, "Office for Students"),
(HESA, "Organisations covered by the Higher Education Statistics Agency."),
(LAE, "Register of local authorities in England"),
(LANI, "Register of local authorities in Northern Ireland"),
Expand Down
5 changes: 5 additions & 0 deletions datastore/additional_data/sources/find_that_charity.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
("https://findthatcharity.uk/orgid/source/lani.csv", OrgInfoCache.LANI),
("https://findthatcharity.uk/orgid/source/las.csv", OrgInfoCache.LAS),
("https://findthatcharity.uk/orgid/source/pla.csv", OrgInfoCache.PLA),
("https://findthatcharity.uk/orgid/source/coe.csv", OrgInfoCache.COE),
(
"https://findthatcharity.uk/orgid/source/officeforstudents.csv",
OrgInfoCache.OFFICEFORSTUDENTS,
),
(
"https://findthatcharity.uk/orgid/source/nhsods-epraccur.csv",
OrgInfoCache.NHSODS_EPRACCUR,
Expand Down
Loading