SaturnFromTitan
2 questions
1
votes
1
answer
23
views
Python boto3: receive versionId after uploading a file to S3
I want to upload a file to a version-enabled S3 bucket and need its version number. Ideally, without a separate API call to avoid any possibility of a race condition. I'm using the following code snippet for upload (which is working fine):
s3 = boto3.client("s3")
s3.upload_fileobj(file_handle, bucke...
0
votes
0
answer
6
views
Django admin without css even though nginx is serving static files
I know there are tons of similar questions like this, but I couldn't find any that fits my case:
I'm using django (2.1.7) with gunicorn and nginx in a single docker container (requirement for the infrastructure we use at work), but have trouble with the admin menu. When executing locally and visitin...