Hi Sunday,
On 01/06/2020 15.48, Sunday Iyanu Ajayi wrote:
>
> Please What am I doing wrong? Or are there better ways of serving
> angular build files on django?
>
You haven't described how you are currently serving static files with
Django. I suggest you start by reading this:
https://docs.djangoproject.com/en/3.0/howto/static-files/deployment/
You definitely shouldn't use DEBUG in production and you definitely
should serve static files with your web server of choice.
Kind regards,
Kasper Laudrup
--
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/12912d74-160c-547a-5cb5-0275432e751d%40stacktrace.dk.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment