Author: Adrian Jelonek | E-mail: ajelonek(at)gmail.com
Run server and type:
- localhost:port/greetings/
- localhost:port/greetings/name
Run server and type:
- localhost:port/maths/add/1/1
- You can try another operations like: div, sub, mul.
Run server and type:
- localhost:port/sessions/set and then localhost:port/sessions/get (in the same tab)
Check the database tables:
- posts_author - stores authors of the posts
- posts_post - stores posts with the relationship with posts_author table using author_id Foreign Key
Run server and type:
- localhost:port/posts/ - to be able to see posts and add more
- localhost:port/posts/authors - to be able to see posts' authors and add more of them
Run console (venv) and type:
- python manage.py test greetings
- python manage.py test maths
- python manage.py test posts