File Storage with AWS S3 Buckets Upload | Django (3.0) Crash Course Tutorials (pt 22)

preview_player
Показать описание

In this video I will go over Hosting dajngo static files with amazon web services (AWS) S3 buckets. We will first set up our S3 bucket and then configure our django app to pull and upload these files to our bucket.

Рекомендации по теме
Комментарии
Автор

For those who can't write the CORS configuration in xml:

[
{
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"POST",
"GET",
"PUT"
],
"AllowedOrigins": [
"*"
]
}
]

karudish
Автор

Ох красавчик! Спасибо огромное) буду ждать видео о деплое на амазон с безлимитным масштабированием и лоад бэлэнсером) спасибо и удачи!

MrYoklmn
Автор

Amazing. I can believe I just upload my static files to Aws. It was incredible simple with your help. Thx so much.

felipeekeziarosa
Автор

Thanks I was having a problem with this and the videos helped out a lot

Kayioki
Автор

Great Video !!! Really helpful series !!

thesage
Автор

Awesome tutorials. Instead of copying over the files from local 'static' folder, it's better to run 'python manage.py collectstatic' after configuring AWS settings. This command auto uploads all the local static files including 'admin' files.

sanjeevpanicker
Автор

You're awesome Dennis, thanks a lot

ryan_
Автор

Awesome video thank you so much! This really helped me :)

timminshall
Автор

thank you man!! I'm from Brazil !

greensinais_bots
Автор

just the thing i was looking for <3

seng.a.
Автор

I've completed 14 videos thank u very much 🙏

mrutyunjayashiremath
Автор

For everyone getting problems logging in, all of your previous customers, tags, products, are all deleted. They all got deleted in the previous video. What you need to do is to create a super user. if your are NOT able to create a superuser: Go to signals.py, and change "group = to "group, created = Once you create superuser with "python manage.py createsuperuser", log in to the admin panel (/admin). Go to the group section, create two groups with one being called (capitalisation does matter for both), "customer" and "admin". I would give all permissions to the admin group just because.
Lastly, go to part 6 in the tutorial at 10:09-11:36 and 12:16-end of video. I spent four days trying to figure this out but after nothing else working, so I hope my frustration doesn't go to y'all.

DarkStarRules
Автор

Okay dude I have been putting off the aws stuff in my current project for like 3 months because I wasn't sure why I couldn't get it to work the first time. I was missing the boto3 package and trying to do it without. 🙃 Now I know, thanks man.

millhoused
Автор

Damn man thank you SO much. Is people like you that go to heaven

pauzc
Автор

if you are beginner to AWS like technology a single error can give you head attack.

O.nitin
Автор

Hello Dennis,
Thank you very much for sharing your knowledge and helping us, I am following your Django course (on 14th video currently) and learning much, enjoying much and evolving much from your course. What you are doing and how you are doing is really wonderful.
very_grateful = True

davidsulaberidze
Автор

I'm getting a 'net::ERR_ABORTED 400 (Bad Request) 'in console for every file in the s3 bucket and the static files are not loading in my project. can you help me out with this.

sandeepsinghnegi
Автор

Hey man, thanks for the new upload. Video 13 seems to be missing though

kaamh
Автор

Those who are not able to load static files:
add these following lines in settings.py
AWS_S3_REGION_NAME = 'ap-south-1'

change region code according to your account settings.

ShaviSuri
Автор

Nice tutorial! My portfolio is already running in Heroku server. Thanks for this tutorial Dennis!

iosefespiritu