Django Sass verwenden

18 views
Skip to first unread message

Jonas Niedermair

unread,
May 1, 2017, 4:48:23 PM5/1/17
to Django users
Ich habe vor einiger Zeit begonnen Django zu lernen. Bisher habe ich immer direkt CSS verwendet. Ich möchte jedoch Sass verwenden, weiß jedoch nicht wo ich die Sass Dateien in meinem Django Projekt speichern soll und wie ich die Sass Datein am besten in CSS konvertieren kann.

Ich habe bereits versucht mit Pipeline die Sass Dateien in CSS zu konvertieren. Das hat auch funktioniert, aber wie schaffe ich es dass die CSS Dateien nicht nur im static Ordner des Projektordners sondern im static Ordner der jeweiligen App gespeichert werden ?

Ich hoffe ihr könnt mir weiterhelfen

Andréas Kühne

unread,
May 2, 2017, 3:38:27 AM5/2/17
to django...@googlegroups.com
Hi,

Sorry my german is very rusty - but it looks like you need something to compile your sass files to css. Checkout this project for an example: https://github.com/andreyfedoseev/django-static-precompiler

I use PyCharm as my IDE and it includes automatic conversion from scss files to css - so I haven't tried it.

Regards,

Andréas

--
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 post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/933a2ef5-2a30-493f-be56-12e77a90a073%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages