git clone http://github.com/3jackdaws/django-ws-starter
- Scrap pretty much everything in there
- Create new blog app
- Create Post model
- Create Post Form
- Realize I want to use AJAX
- Struggle to choose between using a ModelForm, manually defining everything in a normal Form, or defining a form just in HTML
- Decide on using rest_framework's render_form tag and delete PostForm
- Create Post serializer
- Create Post ViewSet
- Create a bunch of routes
- Write UI
- Add AJAX stuff to UI
- Write tests
- Run tests
- Realize PUT method doesn't behave correctly
- Fix PUT method
- Add some padding and max-width to containers
- Change timezone
- Change database to SQLite instead of postgres so that Docker and standard deployments are the same
docker-compose up
- Install python 3.6 or so
pip install -r requirements.txt
./manage.py makemigrations
./manage.py migrate
./manage.py runserver
Very briefly covers creating and editing a Post. Obviously should test with more strings. It would also be nice to get some actual UI tests in there with selenium.