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

Page Rendering Issue #8

Open
gilbertk422 opened this issue Apr 27, 2021 · 1 comment
Open

Page Rendering Issue #8

gilbertk422 opened this issue Apr 27, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@gilbertk422
Copy link

I cloned project and followed all steps to run locally and it works well except template engine codes on index.html and didn't render correctly.

image

As you can see here, I see {% load static %} and missing resources which is loaded in template engine.

@marcelovicentegc could you figure this out? Thanks

@marcelovicentegc marcelovicentegc self-assigned this Apr 27, 2021
@marcelovicentegc marcelovicentegc added the enhancement New feature or request label Apr 27, 2021
@marcelovicentegc
Copy link
Owner

Hi, @cesarrdz116! I'll take a look into that. Just FYI, once you run this in production the {% load static %} tag goes away because that template will be rendered by Django's template engine. You see this tag now because on dev mode React renders the page, and it doesn't know what to do with Django's template tags.

I have a solution on the back of my head and will work on that 😉 . Thanks, @cesarrdz116!

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

No branches or pull requests

2 participants