HELP ME OUT

45 views
Skip to first unread message

Planet X

unread,
Oct 20, 2021, 9:15:02 AM10/20/21
to Django users
I can not connect to my static files here i am sending my screen shoot of the setting and others links to the my base.html whats my fault please do help

Capture3.JPG
Capture.JPG
Capture1.JPG

Lakshyaraj Dash X-D 25

unread,
Oct 20, 2021, 10:00:39 AM10/20/21
to django...@googlegroups.com
Change the assets to static

On Wed, 20 Oct, 2021, 2:45 pm Planet X, <plane...@gmail.com> wrote:
I can not connect to my static files here i am sending my screen shoot of the setting and others links to the my base.html whats my fault please do help

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/7ffc995e-f0fa-4624-8138-1e22b7413e5an%40googlegroups.com.

Lakshyaraj Dash X-D 25

unread,
Oct 20, 2021, 10:03:42 AM10/20/21
to django...@googlegroups.com
Do one thing... In the templates inside {% static 'css/style.css' %} make it {% static 'prsquare/css/style.css' %}

On Wed, 20 Oct, 2021, 2:45 pm Planet X, <plane...@gmail.com> wrote:
I can not connect to my static files here i am sending my screen shoot of the setting and others links to the my base.html whats my fault please do help

Uzzal Hossain

unread,
Oct 20, 2021, 1:17:00 PM10/20/21
to django...@googlegroups.com
Change folder name to templates
There is typo mistake.
And let me if it's fixed.

On Wed, Oct 20, 2021, 3:15 PM Planet X <plane...@gmail.com> wrote:
I can not connect to my static files here i am sending my screen shoot of the setting and others links to the my base.html whats my fault please do help

Jamal El khdadi

unread,
Oct 20, 2021, 1:17:00 PM10/20/21
to django...@googlegroups.com
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = '/static/'
STATICFILES_DIRS = [
   os.path.join(BASE_DIR, 'assets')
]

Reply all
Reply to author
Forward
0 new messages