Production - Display errors and enable DEBUG = False
Currently :
- Debug = false generates errors because we dont use
collectstaticas we should be in prod - We display debug error pages, which are just very dirty
To fix :
-
Update nginx /staticlocation, instead of calling/static/in path, call/staticfiles/ -
Use collectstatic in production env -
Update dev doc
-> Include collectstatic
-> Launch server with --insecure flag to enable loading static in insecure environment
- Display Error
-
Create template for 500 errors -
Create template for the int 10 error (below), that is recurring; Seems like somewhere its strips the links and just keeps http://agir.risefor.org/actions/action-group-detail/@and generatesinvalid literal for int() with base 10: 'action-group-detail'error
V1 of error page for this
v1 of 404 page
v1 for 500 page



