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

Not able to see .svg files #11

Open
arshpreetsingh opened this issue Aug 23, 2015 · 3 comments
Open

Not able to see .svg files #11

arshpreetsingh opened this issue Aug 23, 2015 · 3 comments

Comments

@arshpreetsingh
Copy link

It returns all SVG code but not SVG static file, How that can be achieved?

@summerisgone
Copy link
Member

@arshpreetsingh this project was created only for educational purposes. You see SVG code instead of image because of it's hard coded though. See https://github.com/vmi356/filemanager/blob/master/manager.py#L29

@arshpreetsingh
Copy link
Author

Thanks summerisgone for This even Educational Project. It really taught me that how to create filesystem from Python. My problem got solved using {{text|safe}} in file_view.html instead of just {{text}}. The reason was SVG being escaped.

@summerisgone
Copy link
Member

@arshpreetsingh welcome!

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