https://github.com/soon/webtechit-python-test
https://github.com/soon/webtechit-python-test
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/soon/webtechit-python-test
- Owner: soon
- Created: 2019-05-13T12:14:24.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-13T12:15:32.000Z (about 6 years ago)
- Last Synced: 2025-01-12T23:08:28.167Z (5 months ago)
- Language: HTML
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebIT Django assessment
## Purpose
To check that your knowledge/research ability to use the Django framework meets what's required of a python role with WebIT.
### Assessments
1. Given the code in this repository, create a model to store a "Client", a client contains:
* a client name
* their address (as street name, suburb, postcode and state)
* a contact name
* an email address
* a phone number
Notes: the most commonly queried fields are suburb, client name and email address. There should be no duplicate client names.2. Write a view to create a new Client via a basic HTML form. Required fields for a client include:
* client name
* email address
* phone number3. Using the view from 2. as a basis. Add another view that can update a given Client record.
4. Create a view to list all Client records, including a search form. The view must include the following:
* a search by client name
* a search by email address
* a search by phone number
* a search by client suburb
* the ability to order by name, email address, phone number and suburb
* each record should link to the update view from 3.