-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflow/Configuration for purge #103
Comments
Hi @chriswedgwood hope you are well. Love your work on Django snippets. Umm.. so... There's a purge option? 🕵️ I'm really happy to investigate but I've not come across this, I'm still learning lots about Django! Maybe it is not possible but is there a small test project you could share that shows this issue? Take care. |
My initial thought is that maybe we could generate a |
Yes I did think about adding to the safelist. It wouldnt be that hard to generate it but it may make the config quite bloated. Let me play around some more and I'll come back here with my findings/example. |
Can we get the output from the search from tailwind/purge I wonder? |
Okay this worked for me:
In production my site-packages is under ../envs/. The safelist is still required for class definitions defined in form Layouts e.g.
Perhaps there is something we can do there to generate the safelist for those cases? What would be required dor this, a management command? I'll add a documentation PR for this 👍 |
I have added a documentation PR to talk about this problem, I think it might be better than Could you please check it? Thx. |
Hi thanks for the project
I have an issue where I am using the purge option for my templates
The css for the templates is not being applied when I deploy to prod
If I am using the crispy template pack fields do I just need to add a path to my content that will be for the path to the templates in site packages?
The text was updated successfully, but these errors were encountered: