lookit / lookit/lookit-api

Avoid hard-coding links and email addresses

Open
#670 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Cleanup Developer
Dominant language
Python
Stars
12
Forks
21
Avg merge
5d 19h
Merged PRs (30d)
5

Description

**TL;DR**: Avoid hard-coding links and email addresses

**Narrative**
As a developer, I want links to help text, etc. to be stored separately from the code. This makes it more straightforward to have multiple instances and for other people to maintain their own versions.

**Acceptance Criteria**

- [ ] All external links in lookit-api are defined outside the templates/views
- [ ] All email addresses in lookit-api are defined outside the templates/views

**Implementation Notes**
Probably set as environment variables. I could see putting links in the database as being even easier to adjust (then we just add an initial migration to set values) but would go with whatever the standard approach is here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by searching lookit-api templates and views for external links and email addresses, then review how configuration is currently handled. Compare environment variables with the database approach described in the implementation notes. Done means all such values are defined outside templates and views, with the chosen configuration approach applied consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.