Closed Bug 1089650 Opened 8 years ago Closed 8 years ago

add a contribute.json file


(Input :: General, defect)

Not set


(Not tracked)



(Reporter: willkg, Assigned: bhargav.kowshik, Mentored)


We should add a contribute.json file to Input. Details on the contribute.json file are here:

This bug covers:

1. figuring out what should go in that

2. writing up a view to send that data and make sure it's not affected by locale-redirection

3. write up a test to make sure it's being served correctly
This requires some knowledge of Python, Django and the JSON format.

To implement this, you'll need to:

1. read through the contribute.json site

2. figure out what data Input should have in its contribute.json data

3. write up a new view in fjord/base/ that sends the contribute.json data

4. add a new url route to fjord/base/ tying the "/contribute.json" url path to the new view

5. add "contribute.json" to SUPPORTED_NONLOCALES list in fjord/settings/

6. write a test in fjord/base/tests/ that tests to make sure the view works correctly

There are a lot of steps here, but it should be pretty straight-forward.

Marking this as a mentored bug. If you're interested in working on it, please read through our "Join this project" guide [1], complete the list of things you need to do before contributing and then add a comment to this bug asking to have it assigned to you.

If you have any questions, please ask on the mailing list or in the #input channel on

Mentor: willkg
I would like to work on this.
My development environment setup and I have gone through the documentation.
I have sent a pull request.

Please let me know if there is anything.
Assigning this to Bhargav!
Assignee: nobody → bhargav.kowshik
Should I close this bug now?
My bad--I meant to do the bug bookkeeping earlier, but then forgot.

This landed in master:

I pushed it to production about 5 hours ago.

Marking this as FIXED.

Thank you!
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.