This test is for a simple Django CRUD views to add, edit and display Houses.
UI mockup is in house/templates/list.html.
Just implement as much functionality as you can in a time-box of 2 hours focusing fist on quality rather than quantity.
There're a lot of requirements so you're not expected to complete all of them, implement what you can and do it well, And don't leave half implemented code and functionality, remove anything that's not completely finished in the final result.
At least the fist function (Add House) has to be implemented perfectly from every perspective (function, logic, code quality, tests, UX).
It should be with tags as inline formset where tags can be added/removed in the list.
Fields:
- Community
- Required
- Room Count
- Required
- Widget: horizontal radio buttons
- Phone number
- Length: 11
- Only numbers allowed
- Tags
- Required: at least one tag should be added
- Widget: Inline formset
- Price
- Only numbers allowed, from 0 to 99999
- Date
- Required
- Widget: Datepicker
- Professional
- Required
- Widget: horizontal radio buttons
See Operation, same as add
See Operation
- Install dependencies:
pip install -r requirements.txt
- Run django server:
./manage.py runserver
- Open http://localhost:8000/ in a browser