Alex
None
Vitaliy
https://skr.sh/sCHOMsgg6tA
Hello everyone, I made an index on a numeric field, it looks like this:
models.Index(fields=["-price_opponent",], name="p_price_opponent_nomenclature"),
how to make the query indicators of the first and second queries the same, or at least close to each other, so the difference is 200 times
Alex
Vitaliy
mirodil
How to deploy django + Vuejs app ? Any source?
Alex
What is this? is there an example?
https://www.postgresql.org/docs/13/app-psql.html
> For each relation (table, view, materialized view, index, sequence, or foreign table) or composite type matching the pattern, show all columns, their types, the tablespace (if not the default) and any special attributes such as NOT NULL or defaults
Alex
₩
₩
F:\Django>git push -u origin main
error: src refspec main does not match any
error: failed to push some refs to 'https://github.com/zeroOne81/my-first-blog.git'
₩
Sophia
Shafquet
What does request.POST.get() do
Vasileq
request.POST is just a dict
Sebastian
Unsupported lookup 'slug' for CharField or join on the field not permitted.
Sebastian
Hello, does anyone know what is causing this error?
I've searched everywhere and can't find any solution. Thanks
Fan / Ac
Sebastian
Affects uppercase and lowercase words in the slug?
Alex
Kuntal
How to delete any post after 5min automatically anyone please help
Kuntal
Mirco
How
study what a background job is in Django
Neo
study what a background job is in general
Thuy
tldr; no.
Alex
Yeah, I screwed up.
Mirco
R
Hi guys, I wrote a test for my project. I need to enter a query from my marketter table... this works normally, but the test says there is query Dose not exist . Does anyone know how to fix it?
Mirco
Abdulrasheed
Abdulrasheed
Please when I use password fields in my model whenever I am typing the password in my website I will be seeing what I am typing instead of dot dot.
Please hope you guys understand?
.tagall
Ahmed
cj
Daniil
Hi, guys. Can some help me? I'll try login to telegram at my website (use telegram auth at django) but when clicked to button auth, telegram return bot domain invalid. Although when auth at local (ngrok) machine it's work.
Monday Monkey
Hi ,guys i have a dought how to handle multiple form submission in single view any idea
Monday Monkey
Handled by Ajax
Kuntal
How to slugify data one model to another model please help I have a phone number on account model i want this data on post model
Fred
VJ
Hi I have doubt in manytomany in django
VJ
How can we post the data with formdata for many to many field in django
Somvit
how could i add google authentication in django through social-auth-app-django
Somvit
can anyone help me !
Kuntal
Саша
hello everyone
what if i have urlpattern with pk parametr:
re_path(r'^blog/(?P<pk>\d+)$', blog_detail, name="blog-detail")
and i want to write url tag without parametr
{% url "blog-detail" %}
How do i can do it?
Enes
Enes
If you will use it in a loop just add a function in your model
def get_absolute_url(self):
return reverse('blog-detail", kwargs={
"pk":self.id
}
Enes
Anyway
Enes
I need help too. I have a model with powered by Ajax. The post content is empty at admin when I submit the post while online. But if I am offline my ajax works perfectly. I think CORB activated when online and detect that I am requesting to post method from another url. But If it is due of this why my like_button url does not give the same error
Enes
My like_button is powered with ajax and it is working on different pages when request send. But don't know why please give me a solution guys
Ankit Anand
AnyOne help me
How to define cursor end pint to get response end pont value used in second time hit in url
Enes
Enes
I am using it almost all projects if required to add Google authentication
Oyindamola
Hello am having issues with error 404 page not found
How can it be resolved please
Oyindamola
404 can be generated from multiple reasons
If you share the traceback we can help u
Page not found (404)
Request Method: GET
Request URL: http://127.0.0.1:8000/family.html/
Using the URLconf defined in tutorial.urls, Django tried these URL patterns, in this order:
The current URL, family.html/, didn't match any of these.
You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page
Mirco
Oyindamola
Mirco
Rohith
How to connect cosmosdb with django
shiva
How to validate list of data using django serializers
shiva
Data = ["dhhd","hdhsh"]-ids
shiva
How to validate this data using serializers django
William
shiva
shiva
William
If all the items are string then try this
ListField in serializers
shiva
shiva
https://www.toptal.com/developers/hastebin/uvivineruq.py
Sunken
Hi every one
Is there any way to save "about us" information of a site in dB????
Neo
Sunken
But I want to save single individual text