Base File And Load Static Folder Setup | Python Django Project | Python Django Tutorial | In Bangla

Published: 19 January 2024
on channel: Next Level
23
0

🚀 Welcome to our comprehensive Django Bangla Tutorial! 🚀

Django, a highly favored Python web framework, empowers you to craft any genre of dynamic websites with ease. If you're keen on effortlessly mastering Django in Bangla, this tailor-made course awaits you!

🔥 What to Expect?
From basics to advanced, this Python Django Tutorial is the perfect learning curve for beginners and professionals alike. Follow our step-by-step guide, and we assure you, emerging as a Django expert is 100% guaranteed. Post this tutorial, crafting any website will be a breeze for you.

✨ What is Django?
Django, an elite Python web framework, promotes swift, clean, and pragmatic web development. Devised by seasoned developers, it simplifies the web development ordeal, allowing you to concentrate solely on your application minus the redundancy. Its popularity and comprehensive features make Django the go-to for quick web app creation.

🔑 Why Opt for Django?when i run this project than show this error in
🌟 Unparalleled Speed: Develop websites at an extraordinary pace. Plus, with Django's robust community, future support is a given.
🔒 Supreme Security: With its serious stance on security, Django shields developers from numerous prevalent security blunders.
📈 Exceptional Scalability: Witness Django's quick and flexible scaling prowess, a trusted choice for the web's busiest sites.
💼 Industry Giants’ Choice: Major players like YouTube, Instagram, Spotify, and more rely on Django for their websites.
🌍 Freelancer’s Dream: Django's current marketplace buzz makes it ideal for aspiring freelance web developers.
Embark on this learning journey, and harness the power of Django to your advantage!

#python_django_bangla_tutorial
#django_tutorial_Bangla
#Django_full_course_bangla


settings.py code:

import os

Static files (CSS, JavaScript, Images)
https://docs.djangoproject.com/en/4.1...

STATIC_URL = 'static/'
STATIC_ROOT = '/static'
STATICFILES_DIRS = [
os.path.join(BASE_DIR,'static')
]

Default primary key field type
https://docs.djangoproject.com/en/4.1...

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'


urls.py code:

from django.conf import settings
from django.conf.urls.static import static
from django.contrib.staticfiles.urls import static, staticfiles_urlpatterns

urlpatterns = [
path('admin/', admin.site.urls),
path('', include ('myapp.urls') ),
]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)


On this page of the site you can watch the video online Base File And Load Static Folder Setup | Python Django Project | Python Django Tutorial | In Bangla with a duration of hours minute second in good quality, which was uploaded by the user Next Level 19 January 2024, share the link with friends and acquaintances, this video has already been watched 23 times on youtube and it was liked by 0 viewers. Enjoy your viewing!