AISHWARYA
Like any YouTube channels ?
Doragonsureiyā
Charly
Charly
kiran
okay..
Jayanthi
https://dpaste.org/wQtBF
Jayanthi
takink 2.5 seconds
Jayanthi
i need in ms
Georg
HI. I done this with a spectacular (move methods to separate block)
in swagger GUI it looks like this
GET /api/{model}/{id}/attribute
PATCH /api/{model}/{id}/attribute
Is there any way to replace a {model} with some multiple values and multiply this endpoint to many:
GET /api/account/{id}/attribute
PATCH /api/account/{id}/attribute
GET /api/product/{id}/attribute
PATCH /api/product/{id}/attribute
Абидов
multiple forms on one django page
How to do it
Nave
Is there any database that i can save unlimited string?
For example if i want to make a article's website and i want database that can store all the articles's content.
Georg
Georg
Georg
many databases can store 4GB in a string like field (varchar or similar)
Georg
but why you need this?
Nave
Georg
not sure about SQLITE
Georg
you'd better look into SQLITE docs
Nave
but why you need this?
One article could reach up to 80000 characters, so i need a field that can store that
Nave
Georg
Georg
mysql, postgresql, oracle.. I think noSQL db's can too
Wan
personal_user = models.ForeignKey(User, on_delete=models.CASCADE, null=True, blank=True, related_name='championed_by')
please help me, i'll show all data user on connect to foreign keys
Wan
Kinder #pupu
Hi all. Has anyone experienced this and can help?
During the work of task celery, many different connections to the database are raised, which are closed only after the completion of the entire task.
How can I force Celery to reuse connections?
Danilo
Hi guys
I need to create a query via django orm with custom left join how can I proceed?
Something like that:
….
from table1
left join (select field1, sum(field2) as total_points
from table2
group by field1) U0
on table1.field1 = U0.field1
who
Hai i have one doubt.. i have live stream the cctv footage in django webpage.. using on rtsp://example.com
who
I already used opencv but is called a frame
Nityananda
How to do logout using django jwt
Stormy
Anyone has any idea how to use pytube to save videos directly to user download directly without getting permission denied error, I have tried everything I can. Can anyone help please?
Adzmely
check your html rendered does option have any value? <option value=… > via your browser just inspect the drop down list …
Anonymous
How to setup azure ad authentication for django and react.. Do we need to set for both?
Harry gorilla
https://vegibit.com/how-to-sign-up-and-log-in-users-with-django/
This website is some kind of confusing on how to create signup form. Does it really show it the way it should be done?
I have questions like:
1. Is the name of the folder inside the template supposed to be accounts or account or register ?
daft
Please who knows how to update multiple instance of a model by filtering by users
Kene
Alexey
Morteza
Arshiya
Hi guys
How can i accses to the current page number in html?
Like next_page_number
Or
Previous_page_number
The Inspired
Swati
how to use unique together for two foreign key fields?
The Inspired
you can use the underscore notation
The Inspired
for example
unique_together=['ab', 'cd']
Swati
unique together is used with tuples right?
Kene
Kene
daft
Can you provide more clarity?
I have a model called PendingRequest that is created whenever a user apply to borrow a book.
So I want to update the instance of the model based on user
Alexey
Morteza
Swati
i have two fk and one char
talha
{% include %} only working with full path. I created an additional folder to keep my external html files clean. when I use {% include "myApp/templates/myApp/extFolder/external.html" %} it works. But, when I use myApp/extFolder/external.html it doesn't work throws this error:
Django tried loading these templates, in this order:
Using engine django:
This engine did not provide a list of tried templates.
by the way, this is only happening with include tag, django 4.1
Главный
Good hour! Why does it give an error?
Главный
https://nekobin.com/duwajufece
Главный
python manage.py makemigrations
Главный
Unresolved attribute reference 'id' for class 'Book'
Главный
Shoosh
import requests
n = 5 # number of requests
#api_url = "https://meme-api.com/gimme/5"
urls = []
for i in range(n):
api_url = "https://meme-api.com/gimme"
response = requests.get(api_url)
api_data = response.json()
url = api_data['url']
print(url)
Shoosh
i am thinking of using this api call for one of my project and it is supposed to give a random json each time requested , but when i use it like this it just returns the same call , can anyone tell me any workaround for this ? or is the api call caching?
Mohamed Nadhir
SantiU
Does anyone know how to implement a python webscraping script in Django? the idea would be to send a variable in a form in Django and that it is sent to the script.
S
Hello, Can anyone help me , i'm trying send mail in django, but its showing (535, b'5.7.3 Authentication unsuccessful') this error
Anshuman
How to do pagination with django rest framework
Денис
Gideon
Hello i need your help please .
I am creating a portfolio using django .
I am facing an error that says TemplateDoesNotExist at /
Portfolio_app/portfolio.html
matrix
👑 Dharmzeey
Yavar kazemi
OverflowError at admin /login
Python int too large convert to C long
Yavar kazemi