Friday, August 30, 2019

Re: Is it a good practice to store all static data dynamically in database rather?

Hello there!

The images you mentioned you can store in the static folder of your Django project. This is the "default" location.Things such logo image, icons, JS and CSS files are placed in this folder, you can separete them by types. 






Em Sex, 30 de ago de 2019 17:35, Sapna Tomar <medreams6@gmail.com> escreveu:
Hey! I'm making a static website (showcasing a hobby club of my college) using Django. I have used database for storing most of the content like photos, or events since they have multiple instances. Will it also be okay to save all the rest of the content which does not necessarily have more than one instance, like 'contact info' at the end of the page, or an 'About' of the page?

--
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/1b86e8d4-6d37-4c85-b3d4-fb7283565fed%40googlegroups.com.

--
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/CAAwGMa0gqpcL6TXeCkcffZ4nYgaRk52owYrG%2Bi_QiP2Pv%3DMz7g%40mail.gmail.com.

No comments:

Post a Comment