Skip to main content
-4 votes
1 answer
51 views

I have a survey app that works fine as a standalone app with no complaints (using sqlite). But when I incorporate the survey app into another that is using postgres as a database, it fails to run the ...
miller the gorilla's user avatar
0 votes
1 answer
29 views

I have a survey app that works fine as a standalone app with no complaints (using sqlite). But when I incorporate the survey app into another that is using postgres as a database, it fails to run the ...
miller the gorilla's user avatar
0 votes
0 answers
31 views

I have "successfully" set up django-storages to work with our self hosted Minio instance. This is the settings for the setup: STORAGES = { "default": { "BACKEND&...
4bs3nt's user avatar
  • 90
1 vote
2 answers
54 views

Let's say this is my model: from django.core.exceptions import ValidationError class MyModel(models.Model): value = models.CharField(max_length=255) def clean(self): if self.value == &...
Farhad Mohammadi's user avatar
4 votes
0 answers
74 views

Problem I am working on a Django project using a PostgreSQL container in Docker. I added a ManyToManyField to one of my models. I keep migrations in .gitignore because my local and production ...
Pratham Tawar's user avatar
0 votes
1 answer
25 views

I'm attempting to display a form for a tennis event (location, time/date) and each of its participants (name, status). I was recommended to use an inlineformset, which I assume would allow editing of ...
Harry S's user avatar
  • 79
1 vote
0 answers
81 views

I added following and followers by using intermediate model, it's ok but does not correctly specify objects in the intermediate model. I expect the user who follows must to be in the user_from field ...
Samyar's user avatar
  • 29