[Answer]-Store css data in django db

1👍

✅

There is absolutely no problem with storing CSS in DB. Just create a TextField in your model and put it there.

Then in your view’s template output it in a <style type="text/css"> tag and that’s all.

Leave a comment