Hi guys,
I am working on a project which is made up of an angular and a django part.
- The frontend dev develops the frontend, makes a build and forwards to me
- I get the build and serve it using python manage.py collectstatic
But my challenge is that
1. It only works when debug is set to True
2. If debug is set to True, I am unable to set or customize my error pages ( it shows django error messages with some vital information that makes my site vulnerable.
Please What am I doing wrong? Or are there better ways of serving angular build files on django?
Thank you.
Regards,
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKYSAw02G2jzy%3D8gv%2B__GZOCBwQHoNskWEzzptZvEpMz6AuRow%40mail.gmail.com.
No comments:
Post a Comment