If we use celery beat and run about 1000 tasks by same crontab schedule, will tasks run one by one or some tasks will not run (cause of out of time)? redis as M
I am following , django channels 2 chat app tutorial I am at the part "writing your first consumer", I exactly did what is in tutorial, you can find my code he
I've Django model which has foreign keys associated with other models. Each model is having same field names(attributes) created_at and updated_at In every dja
I was going to deploy my Django App on Namecheap shared hosting. My app needs Pillow to be able to run perfectly. But while installing pillow using pip install
I have seen this is a common mistake and there are a lot of entries in StackOverflow, but I can't connect the dots on this one. in my views.py, this one works d
I am trying to create a search function inside my class-based view using Django Rest Framework, but it does not seems to work. when I try to search for some cus
I am building a script that use the datetime module : def workspace_detail(request, token): yesterday = date.today() - timedelta(days=1) tomorrow = date.today
In the official Django 2 tutorial I found this: from django.db import models class Student(models.Model): FRESHMAN = 'FR' SOPHOMORE = 'SO' JUNIOR
What I want to accomplish is to be able to submit multiple forms contained on one page. What I have currenlty done is supplied a view that returns 8 forms. Is i
I know this question is quite popular, before asking it, I researched all the previous questions and their answers, but never found a solution for myself. My pr
My Visual Studio Code's Intellisense is not working properly. Every time I try to use it with Ctrl + Shift, it only displays a loading message. I'm using Python
Trying to configure pytest with django, the project already has a lot of test not written with pytest (written with unittest) but I am trying to get them run wi
I'm having trouble understanding the use of ManyToMany models fields with a through model. I can easily achieve the same without the ManyToMany field. Consideri
Im trying zip a few files from Google Storage. The zipfile of Python doesnt find the files in gcloud, just in the project. How can I do for my code find the f
Imagine this simple model: class Expense(models.Model): price = models.DecimalField(decimal_places=2, max_digits=6) description = models.CharField(max_len
I'm very new to this whole setup so please be nice. On dev the command usually works with no errors but since I have been experimenting with different commands
I have a problem with django forms, when submitting a form nothing seems to happen, even the server didn't get any response except GET request to view the form
I am trying a tutorial on Django called blog. I have the following structure: FirstBlog|FirstBlog settings urls __init__ etc blog templates | index.html migra
I fetch a proto object from an api , is there anyway I can validate that the response is a proto object. One thing which I did was check content-type as mentio
I am trying to run a filter in Python/django. All the data is coming from DB. This query currently works but I want to able show it in ascending order of Name f