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

Css does not seem to be applying. Anyone any idea why? #23

Open
Estherndungu opened this issue Mar 20, 2021 · 3 comments
Open

Css does not seem to be applying. Anyone any idea why? #23

Estherndungu opened this issue Mar 20, 2021 · 3 comments

Comments

@Estherndungu
Copy link

No description provided.

@pete-hub
Copy link

hey am not a pro but try running via normal terminal rather than VScode

@ShamcyBens
Copy link

Checked whether the Static files are correctly defined and placed in the template?

Lemme have a look

@zinmyoswe
Copy link
Owner

hi @pete-hub
please edit the template route path in Django-Ecommerce/demo/settings.py file of line no 65

from

STATIC_URL = '/static/'
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static_in_env')]
STATIC_ROOT = os.path.join(BASE_DIR, 'static_root')
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media_root')

TO

STATIC_URL = '/static/'
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static_in_env')]
STATIC_ROOT = os.path.join(BASE_DIR, 'static_in_env')
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media_root')

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

4 participants