Skip to content

Commit 7a3f2ee

Browse files
committed
Update readme
1 parent c8d2bf4 commit 7a3f2ee

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

python-django/readme.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ relationship with the Feature and Environment, as well as a boolean value to des
99
disabled in a given environment. The API endpoint should return the enabled / disabled state of the feature and the name
1010
(+ metadata) for the feature. You need not return any information about the environment.
1111

12-
We have created the django application and some boilerplate code for you. You should complete the `flags` app in the
13-
`apps` directory.
12+
We have created the django application, `flags`, in the `apps` directory and added some boilerplate code for you,
13+
including a stub of the function based view we expect you to complete. If you would rather use a class-based view, you
14+
may, but you should justify in your response why you chose to do so.
1415

1516
Some notes / clarifications:
1617

17-
- To determine the environment, you may use either a query parameter or an authentication class. It must not be
18-
possible, however, to request flags without an environment.
18+
- To determine the environment, you may use a header or a query parameter. You may use an authentication class, but are
19+
not required to. It must not be possible, however, to request flags without an environment.
1920
- You need not worry about API endpoints to manage these objects, you can use the django admin as necessary.
2021
- You may use the default sqlite database.
2122
- You should not implement any pagination on the list flags endpoint.

0 commit comments

Comments
 (0)