-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPythonDjango.txt
More file actions
38 lines (21 loc) · 1.29 KB
/
PythonDjango.txt
File metadata and controls
38 lines (21 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Python Engineer Challenge
=================================================
The purpose of this challenge is to understand how you use Python and Django.
Python Script
------------------
Jenkins (http://jenkins-ci.org/) is a open source continuous integration server.
Create a script, in Python, that uses Jenkins' API to get a list of jobs and their status from a given jenkins instance.
The status for each job should be stored in an sqlite database along with the time for when it was checked.
Django App
---------------
Make an application which stores names and email addresses in a database (SQLite is fine).
a) Has welcome page in http://localhost/
- this page has links to list and create functions
b) Lists all stored names / email address in http://localhost/list
c) Adds a name / email address to the database in http://localhost/add
- should validate input and show errors
This is a django based application so please make sure you use correctly all of django infrastructure (form, template inheritance, ORM).
Also make sure the app does not have major security problems: CSRF, XSS, SQL Injection.
Make reasonable assumptions, state your assumptions, and proceed.
Once you have completed the challenge let us know and share your thoughts on the problems/solutions.
Good luck!