Skip to content
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

Integrating d-s-p with pip package containing django templates and sass_tags #65

Closed
AaronForce1 opened this issue Jun 20, 2017 · 2 comments

Comments

@AaronForce1
Copy link

Hello!

Huge fan of your work here - as a full stack dev specializing in front end, I'm quite pleased to see the latest and greatest technologies being leveraged throughout more and more platforms.

I have a django project containing several apps, one of which is a design app meant to house all the jinja2 templates, styles, javascript libraries - etc. We're planning to use this design app in several separate django projects within the same platform (base styles/shared templates/all that). I've managed to split out the design app into a self-sustained pip package but was having some issues with how {% load sass_tags %} works. Unfortunately it can't seem to parse the pip package template folder hierarchy correctly. Is there a setup I should be aware of? Any suggestions? I'd be happy to provide what I can in terms of source code for clarification.

Thanks so much!

@jrief
Copy link
Owner

jrief commented Jun 29, 2017

Just follow the documentation.

@jrief jrief closed this as completed Jun 29, 2017
@AaronForce1
Copy link
Author

I did follow the documentation and it worked correctly until I moved the SASS files into a pip package. Now sass_src doesn't resolve paths within the design pip app. Can you provide more clarity and assistance?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants