Help
Organizers

Importing companies

Staff can load companies from a spreadsheet in the Django admin (Admin in the menu under your name). Nothing is created until you have seen a preview and pressed Apply this import. Companies are staff-only for now, so an import never shows anything to the public.

Import a file

  1. In the admin open Companies > Companies and press Import companies (or Import batches, same button).
  2. Pick the profile that matches your file (today: Techr review sheet) and choose a .xlsx or .csv file, up to 5 MB. A file with the wrong columns is refused with the names of the missing ones.
  3. Read the report. The tiles count what would be created, updated, unchanged, sent to review, ignored or errors. The table shows every row: what would change, which company it matched, and why a row needs a person.
  4. Press Apply this import, or Discard to throw the preview away. Discarding changes nothing.

The same file can be imported again. Rows are recognised by website and name, so a second import updates the same companies and reports the rest as unchanged instead of creating duplicates.

What the import will and won't touch

  • Fields you edited in the admin are never overwritten. Change a description on a company and later imports leave it alone (the report says "kept (edited by staff)").
  • Owner-claimed companies are never changed. The import records its changes as a suggestion in the review queue ("owner-claimed: suggestion") for you to apply by hand.
  • A row is matched to an existing company by website domain and a similar name. Two companies on the same domain with different names (a university and one of its hubs) stay separate.
  • A missing address does not hold a row back. The company is listed without a map pin.
  • Addresses become sites, so companies in one building share a place. Addresses from a third party or that disagree with a licence are flagged confirm address on the location.
  • Include in the sheet: Yes lists the company, Review creates it as a draft and adds it to the queue, No keeps the row but creates nothing, As a Site creates a site (with its operator) and no company. Links in the sheet (member of, part of, site operated by) are added after all the companies exist.

The review queue

Open Companies > Source records (it opens on Needs review; use the filter on the right to see other statuses or all rows). Each row shows why it is waiting: a possible duplicate, an unknown type or industry, a link to a company that isn't there yet, an owner-claimed suggestion, or the sheet's own "why review" note. Open a row to see the proposed changes and the original spreadsheet row.

Select rows in the list and choose an action:

Action What it does
Create / list company from this row Applies the row's data, creating the company (or updating the matched one) and listing it. Later imports leave its status alone
Apply to matched company For a row you opened and linked to an existing company in Matched company: applies the row's data to that company
Ignore this row This row is not a company we want; it leaves the queue

A possible duplicate row creates nothing until you act. If it is the same company, open the row, choose the existing company in Matched company, save, then run Apply to matched company. If it is a different company, run Create / list company from this row.

Reviewing what an import created

Open Import batches for every upload with its status, counts, who ran it and a link to its report. Staff can check the results on the company pages at Companies in the menu under your name (/companies/): each company's type, locations, links and hub members, with drafts and address flags shown. Fix any company, location or site in its own admin page as usual; those edits are protected from later imports.