Category "django"

SMTPConnectError (421, b'Server busy, too many connections')SMTPConnectError (421, b'Server busy, too many connections') [duplicate]

I have checked every single solution on other questions but they are of zero help,using bulk email services also require having a domain name

How to get notification when new Article is added to Website?

I have multiple blogging websites made in WordPress. I want to make a website, by which when I add some article on any of these websites, I have to get a notifi

Can I write posts for a personal Django blog website in static html files?

I'm pretty new to Django and have been experimenting making my own personal blog. General question I get that I can specify my blog post structure in models.py

Django complete form as signed up user

After you sign up, you are prompted to a page that contains a form used for gathering additional information about the new user and after that it redirects you

How to manually create a cron job to run a Django script?

I have been trying to run some code as a cron job using Django. There are a number of packages that help do this, but they do not seem to support the latest Dja

Create view to save data in django m2m parent and intermediate (through) table using a form and formset

I want to replicate the admin functionality shown in the screenshot below on the client side. This is app is meant to cost a recipe based on the ingredients and

Django aggregation Many To Many into list of dict

It's been hours since I tried to perform this operation but I couldn't figure it out. Let's say I have a Django project with two classes like these: from django

How to generate aware time object in Faker?

I have the following (simplified) model and factory: models.py class Event(): duration = FloatField() start_time = TimeField() finish_time = DateTim

Django ManyToMany validation in model layer

I have model with manytomany field and the task is to make an validation in model layer. When i run this code, this error occurs: ValueError at /admin/main/boss

Django Framework : Problems with views settings

im learning Django framework and having some issues that i dont get it. Actually i have apps like Polls/ Blog/ and my homepage/ installed and working as i want

How to hide fields that belong to the model I'm inheriting from in django admin panel

I have these 2 models in my models.py class Student(AbstractBaseUser): date_of_birth = models.DateField(null=True) phone_number = PhoneNumberField(null=

Django : Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

Error When Click Button for send data. Please Helping me to solve problem. Error When Click Button for send data. Please Helping me to solve problem. Error When

Django context processors available globally to templates in ALL apps

I am new to Django/Python, and am trying to figure out the best way to have global constants in my project that are available to templates in ALL APPS in the pr

Django form validation based on custom function that calls api to validate form input value

I've been trying to look around for resources on how to do this, but no luck so far. Any direction would be appreciated! I'm attempting to run a custom function

Django ORM: Get maximum value of a field with corresponding other fields values

I have this Table (Counters): cell_id tftralacc tfnscan thtralacc thnscan date_time 13997 10 360 94 360 2022-02-22 00:00:00+01 13997 0 360 0 360 2022-02-22 01:

NameError: name '_mysql' is not defined - Django tailwind

When I run python manage.py runserver, my django server runs and I can see my webpage, however some of the tailwind doesn't work. When I then stop that server a

How to setup frontail with Django and Docker

I am trying to setup Frontail to access the logs for a Django application deployed using Docker locally. Has anyone done this before? There is very little docum

Can't get the Profile instance that have logged user as field

So i have here a 'create_project' view where l’m trying to assigne to the 'owner' field of project instance created a 'profile of the current user logged

Python list overwritten each time the previous items

The objective of my application is to create a copy of documents and insert them into the database for each annotator, for example, let's say the master user ha

How I can connect each name in list using id concept (python)

I created a list of users page and user profile page and I want when click on any name in the list it should show that user profile page. in .html <table cla