по теории так. а работает ли? может body вместо html?
nginx:
...
volumes:
- ./some/local/path/with/app:/path/in/container
apps:
...
volumes:
- ./some/local/path/with/app:/path/in/container
server {
...
location ~ ^/(static|media) {
root /path/in/container/path/to/static;
access_log off;
...
}
...
}
import calendar
calendar.monthrange(year, month)
>>> calendar.monthrange(2019, 2)[1]
28
>>> calendar.monthrange(2019, 1)[1]
31