Skip to main content
Filter by
Sorted by
Tagged with
1 vote
2 answers
113 views

I am using django's admin site and in that css is not loadung so site is looking totally broken.In last 3-4 days i almost tried everything which is available around the web to fix it but its not ...
Raj Jivani's user avatar
0 votes
0 answers
41 views

First of all: I have a R2 bucket on cloudflare that is public, allows any origins and any headers, and works completely fine. I'm using django-storages to storage and retrieve static files from that ...
Douglas Florindo's user avatar
1 vote
0 answers
50 views

I have a django application that works perfectly fine with storing media locally. I have decided to change the default storage to be able to store files on a remote cloud system (s3), I set the ...
Jai Izadi's user avatar
0 votes
2 answers
552 views

I'm trying to setup a django project in such a way that static files are kept in the filesystem and media files are uploaded to an amazon s3 bucket. The django storages library had an update for ...
Alejandro Veintimilla's user avatar
1 vote
1 answer
90 views

Background I just started using Digital Oceans Spaces for storing my static files for my Django web app (connected using django-storages library). Previously, I used link elements in the head of my ...
DevinG's user avatar
  • 361
2 votes
1 answer
198 views

Issue I recently connected my Django app to Digital Ocean Spaces using the django-storages library, and suffice it to say I have a lot of static files (currently 2545 files, most of which are small-...
DevinG's user avatar
  • 361
1 vote
0 answers
150 views

I am following this tutorial here from Michael Herman, trying to setup s3 storage for my django project and I am facing some issues right from the start of the tutorial. First, when I tried running ...
Tejaswin's user avatar
-1 votes
1 answer
67 views

I created a virtual environment than I installed Django successfully but when I try to create a project with Django-admin start-project project-name Django create an empty folder? I'm expecting a ...
Yusuf Bature's user avatar
2 votes
0 answers
798 views

EDIT 25.04.2024: malloc_trim(0) seems to work. I need to test how the server memory consumption looks like in the long run, though. This is modified asgi.py which starts deamon thread which invokes ...
fifdee's user avatar
  • 21
1 vote
1 answer
491 views

For a file upload feature, I'm trying to set a FileField in Django using a presigned url but when the field is saved it seems that the aws bucket name is being added into the url so when I try to ...
RHSmith159's user avatar
  • 1,590
0 votes
1 answer
329 views

I am facing issues with storing files in S3 from django's celery task. I am doing following things Get data from DB Create the XLSX file with BytesIO Storing that file with file.save method of Django ...
deep adeshra's user avatar
0 votes
0 answers
215 views

I'm creating a django application that uploads multimedia to Google Cloud Storage using django-storages. My application is running on Google App Engine; I'm using the admin interface for admins to ...
nathan lachenmyer's user avatar
2 votes
0 answers
266 views

I have created a social media app using Django and Vue. My frontend is hosted on Vercel (which is working just fine) and my backend is hosted on DigitalOcean's App Platform (I am NOT using a droplet) ...
tinytown's user avatar
1 vote
1 answer
1k views

I no idea why this error kept occur in my terminal my current django version, 4.2.3 python version, 3.10.6 and my virtual environment is on, and I did downloaded these pip pip install boto3 pip ...
Chai Yon Xing's user avatar
0 votes
1 answer
221 views

You got the following error while using your digital ocean spaces for static files: <Error> <Code>SignatureDoesNotMatch</Code> <RequestId>xxxxx-716fe6ea-xxxx</RequestId> &...
Koops's user avatar
  • 563
0 votes
1 answer
72 views

venv\Scripts\activate.bat : The module 'venv' could not be loaded. For more information, run 'Import-Module venv'. At line:1 char:1 venv\Scripts\activate.bat + CategoryInfo : ...
Uchechi Nwaihim's user avatar
0 votes
1 answer
211 views

I'm trying to send a query through Django python I also try to block any sql injection exploits Can someone explain to me how messaging is done LIKE Query for example "SELECT * FROM admin WHERE ...
Ghost Ghaith's user avatar
0 votes
1 answer
56 views

I have multiple apps and each app has different cachecontrol requirement. get_object_parameters provides us. But it will be big change for codebase. Instead is it possible to pass cachecontrol to ...
Awais Qureshi's user avatar
8 votes
2 answers
8k views

This error occurs when running Django 4.2.The Default: django.contrib.staticfiles.storage.StaticFilesStorage has been deprecated.
karimi's user avatar
  • 545
0 votes
1 answer
69 views

I'm usind django e plotly dash to make a dashboard in my page. In this application we will to make a upload file, but this file have to save in "C:\tmp\Uploads". How can i make this and ...
Paulo Henrique A S A's user avatar
0 votes
1 answer
773 views

I've been following this tutorial on deploying my django app on Azure: https://testdriven.io/blog/django-azure-app-service/ Everything was working fine until I added Azure storage. Now my webpage is ...
champlooSIXSIX's user avatar
0 votes
1 answer
1k views

I have a Django REST Framework application that has a model with an ImageField: def upload_to(instance, filename): return f'images/model1/{instance.owner.pk}/${filename}' class Model1(...
Brandon Shute's user avatar
-1 votes
2 answers
499 views

I'm trying to run my django server but keep on getting this error, [Errno 2] No such file or directory. I tried using the cd manage.py command but also got this error cd : Cannot find path 'C:\Users\...
Champion_Develops's user avatar
0 votes
1 answer
2k views

In a Django project that uses django-storages and is configured with AWS credentials, I am getting the following error when uploading a file (i.e. saving a model that has a models.FileField field) An ...
Greg Sadetsky's user avatar
0 votes
0 answers
55 views

I have created some classes like STATE, DISTRICT, TALUK, and VILLAGE. Admin needs to add details in the admin panel. If the admin needs to add TALUK, he must select provided STATE, DISTRICT.I used a ...
Leo Sebastian's user avatar
0 votes
1 answer
630 views

I want to upload a file from my django-admin page to S3. I read the document of django-storages but my concern is that it requires AWS Credentials to be added in the settings.py. Which i don't think ...
Abhinav Kumar Sinha's user avatar
0 votes
1 answer
2k views

I'm using python Django framework for server and AWS-S3 for store uploaded image. Also, i'm using django-storages library for handle S3. But sometimes images were deleted by itself not through django ...
ys J's user avatar
  • 15
1 vote
0 answers
91 views

I am trying to get the seving_url for a project that uses django-storages with google cloud storage for media files. I am trying to serve the files with get_serving_url, but I get a silent failure ...
Gabriel Ficht's user avatar
0 votes
1 answer
183 views

I want to display the content of Trader class through an API call. But I don't know where am I wrong. models.py class Trader(models.Model): user = models.OneToOneField(User, on_delete=models....
I'm TreaSUre's user avatar
1 vote
1 answer
1k views

I dropped some table related to an app. and again tried the syncdb command python manage.py migrate It shows error like django.db.utils.ProgrammingError: (1146, "Table 'homeapp_enroll_course' ...
Anik Saha's user avatar
  • 145
1 vote
2 answers
1k views

Users in my django project can upload pdf files to a private storage. It is done using django-private-storage package - when user makes a request to get a file, django checks permissions on that and ...
S. T.'s user avatar
  • 71
0 votes
1 answer
139 views

How can I use S3Boto3Storage with django-pipeline? According to the docs it looks like it would work: https://django-pipeline.readthedocs.io/en/latest/storages.html#using-with-other-storages The ...
Philipp S.'s user avatar
0 votes
1 answer
868 views

I am trying to read static files from GCP storage using a service account key. The problem is while most of the requests are authenticated django-storages, some of the requests are public. Developer ...
Nick's user avatar
  • 61
2 votes
2 answers
1k views

I have a Django app running on a server and I would like to continue working on it locally with the runserver command. My problem concern the use of common static and media files. The media folder ...
Thomas's user avatar
  • 121
1 vote
1 answer
52 views

this is my models.py file models.py from django.db import models from django.utils import timezone class Movielist(models.Model) : Title = models.CharField(max_length=1000) Description = ...
user18390177's user avatar
0 votes
1 answer
103 views

models.py class Movielist(models.Model) : Title = models.CharField(max_length=1000) Description = models.TextField(blank=True) ReleaseDate = models.DateTimeField(...
user18390177's user avatar
2 votes
1 answer
937 views

The current state of our app is as follows: A client makes a POST request to our Django + DRF app server with one or more files, the django server processes the files, then uploads and saves it to S3. ...
Julian Sam's user avatar
0 votes
1 answer
759 views

When using the private media django-storages class below. When I view the uploaded file in the admin it does not generate the URL Query String Authorization parameters. from django.conf import ...
Daniel Butler's user avatar
2 votes
1 answer
695 views

I'm using S3 to store my static files, but I'm having an issue where only the admin static files are uploading to the bucket. I expected to see the css and other folders from inside static upload to ...
Danielle's user avatar
  • 147
1 vote
1 answer
999 views

I have an S3 storage which is not hosted by AWS. I tried my AWS account as a file-storage, which worked fine, however, when I switch the credentials to the non-AWS provider I get: botocore.exceptions....
Soerendip's user avatar
  • 9,305
0 votes
0 answers
309 views

I am trying to upload files & images to the GCP bucket which I created a while ago. I am using Django rest-framework as the backend. I came across this library called [django storages][1]. I did ...
Jeet Patel's user avatar
  • 1,261
-1 votes
2 answers
545 views

In the case creating a model, for example class Student(models.Model) name=models.charfield(),roll=models.integerfield() similarly, In the case creating a form, class newform(forms.Form) name=forms....
Shiro's user avatar
  • 31
0 votes
2 answers
1k views

I tried moving from local static files to S3 using django-storages. I followed the documentation carefully but still there is no access to the static files. In the local environment I have: STATIC_URL ...
NotSoShabby's user avatar
  • 3,778
1 vote
1 answer
1k views

I'm working on a Django(3) project which is deployed at Heroku. I'm trying to connect AWS S3 using Django Storages to upload Static and Media files to S3 Bucket. Note: I have googled a lot and tried ...
Abdul Rehman's user avatar
  • 5,704
3 votes
1 answer
3k views

I developed a Django app that I'm using VM's disk for saving and serving media and static files but in one of my models, I want to save my files in a FileField connected to my MinIO object storage. I ...
Omid Roshani's user avatar
  • 1,193
0 votes
1 answer
550 views

My GET, POST rquests works fine when there is no set headers in interceptors. If I do setHeaders in interceptors to set my userId data, 2 things I can see in Network tab: No response headers are seen ...
Charmi's user avatar
  • 123
2 votes
2 answers
2k views

So I am learning Django. And I have made some websites with it. Now I am hosting those to Heroku. I am using free Dyno on Heroku. Also, I am using supabase.io database instead of Heroku's because ...
Nahidujjaman Hridoy's user avatar
0 votes
1 answer
1k views

I am using a development server to test uploading and retrieving static files from AWS S3 using Django storages and Boto3. The file upload worked but I cannot retrieve the files. This is what I get: ...
Swalhamdan's user avatar
0 votes
0 answers
367 views

I have a strange problem using the SFTP-API from django-storages(https://github.com/jschneier/django-storages). I am trying to use it in order to fetch media-files, which are stored on a different ...
Sarius's user avatar
  • 155
6 votes
2 answers
3k views

I am trying to use django-storages to access my "Hetzner" Storage Box (https://www.hetzner.com/storage/storage-box) using SFTP which should hold media data, i.e. image files which users of ...
Sarius's user avatar
  • 155