Simon
Can you answer the question?
Lemme try this first
Rose
User ∆ has 1/3 warnings; be careful! Reason: rules #3 and #8 violations
Charly
What kind format you want if not html or css?
(⌐■-■)
You can define a Meta class inside the form and do some tweaks
Charly
But why not the HTML and CSS? Ilof not that what do you mean by format?
Charly
That's done on the template
Rohan Ekke
Use django crispy form
(⌐■-■)
You can define a Meta class inside the form and do some tweaks
A bit of correction... This is for model forms only
Shan
I have 10k records data could be upload within 10seconds?
Shan
I have multiple foreign key in my models
Bakhtiyor Ergashev
I have 10k records data could be upload within 10seconds?
You can use bulk_create or bulk_update. They may take 10-12 seconds
dr.Ibrahim
please help me to find a solution to use location(COUNTRY, STATE, CITY) in Django admin and API
Adxamjon
hello everyone, how can I do django otp authorization only user but admin authorization at admin panel worked login password?
Rose
User SCRAP has 1/3 warnings; be careful! Reason: this is neither a job board nor a bulletin board
Osondu
Hey Everyone. Please is there any other exchange that supports USDT/NGN API for free now?
Rose
Hey Everyone. Please is there any other exchange that supports USDT/NGN API for free now?
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
.
i want to be a python web developer , and i dont know what i need to know for that
Charly
i want to be a python web developer , and i dont know what i need to know for that
Start by learning python then Django and develop a bunch of projects, you'll see you need more knowledge like dbs, queues, etc
.
thank u very much
Anonymous
i want to be a python web developer , and i dont know what i need to know for that
Learn python then data structures then ,django,sql,nosql,html,css,js, django rest framework,oauth,celery and do projects
Alex
Make sure you make mind note of everything when you get stuck on something.
Rampertel
hello Django family i would like to know which django books are better for beginners
Charly
because django gets updated faster than any book
Hamad
Can Any one suggest that Django for everyone video on code camp, is it worth to watch, how should I approach learning django
Gaston
everything is there
Samuel
Almost everyone recommends official documents, does anyone know a slightly easier document?
luckyDev777
How to debug with vscode Django app running in docker container?
luckyDev777
Pdb, pudb are not options for me
DC
Hello, I have a question. Have you used Django + fastapi?
Maxim
Hello, I have a question. Have you used Django + fastapi?
no polls, no surveys, no roll calls here ask your real question
DC
no polls, no surveys, no roll calls here ask your real question
I'm looking for an alternative to DRF, check out Django-ninja but it has little documentation.I am interested in maintaining data management with Django but the platform contains several API endpoints, so I am looking for alternatives.
Charly
DRF is slow
according to what?
Charly
do you have a super hig performance requirement? why are you using python then?
cj
according to what?
according to his badly written code, I'm sure
Charly
according to his badly written code, I'm sure
En if that wasnt the problem, he wants to use django AND fastApi, double performance hit
Charly
So what then other than python for fast web apps
A compiled language. But do you really have strict performance requirements?
Gaston
Almost everyone recommends official documents, does anyone know a slightly easier document?
Oficial doc is the most clear path, and told you everything about product. But can't teach u to code that is on you. We cant spect to watch a 2 hours video not reading the doc and be a django guru
Gaston
Most People recommend django official because there's no programmer who don't use offical doc of is languague as the daily basis
KO
A compiled language. But do you really have strict performance requirements?
Sorry what would you consider as "strict"? Cuz for me, I see no need to use other languages that are compiled because of speed
cj
En if that wasnt the problem, he wants to use django AND fastApi, double performance hit
that could be possible to do, but totally pointless and that's gonna be overcomplicating things (and duplicating code)for nothing
Rose
User nhẫn has 1/3 warnings; be careful! Reason: crossposting
Vlad
Hi guys, I'm trying to connect to supabase via django and receive such error: django.db.utils.OperationalError: connection to server at "aws-0-us-east-1.pooler.supabase.com" (44.216.29.125), port 5432 failed: FATAL: Tenant or user not found connection to server at "aws-0-us-east-1.pooler.supabase.com" (44.216.29.125), port 5432 failed: FATAL: Tenant or user not found what origin is this problem? I checked the config for db in settings.py and everything matches data on the dashboard on supabase
Vlad
it says user not found, but the one specified in settings is correct
M. Hossein
How to detect if user has changed his/her password in Django? Without using signals
M. Hossein
Why not using signals?
Our policy in company is to avoid signals. Since they seem harder to maintain in long term
Khaled
Our policy in company is to avoid signals. Since they seem harder to maintain in long term
you can override the save method in your custom user model and compare the _password attribute with the user’s existing password
DeathLikeSilence
Hello friends, good time We created a site with React and Django. When the user registers, he enters the site and when he logs out, he leaves. But the problem is , if the same user wants to register another account on the same browser, for example, he will not be registered and will encounter an error Error: csrf faild: csrf cookie not set When we go to inspect the browser and delete the cookies, the register will be created and the user can register Is it a problem for front or back? Should we make any changes in the logout section? Thank you for guiding me
Khaled
Does it check the hashed password?
you can add the same hash algorithm for then new password before that
Khaled
I’m not an expert in JavaScript, but I believe there is a way to add a listener from the frontend side to achieve the same thing
Khaled
then try to override the save method
ali
Hello friends Have a nice time For the product filter part, I want the previous filter or filters not to be deleted when the new filter is applied. What should I do? For example, the url should be like this: /products/?color=red&size=28 But when I apply the size filter, for example, the color filter is removed.
Tahmid
I am new in django, and I want to deploy a project in python-anywhere/ replit/netlify. But am unable to figure out how to publish it. Any guided steps or a better explanation video from you guys would be really helpful. Thanks
👑 Dharmzeey
Our policy in company is to avoid signals. Since they seem harder to maintain in long term
Seems harder to maintain in the long term?? 🤔 Hmmmm How true is that
ali
👑 Dharmzeey
Do you have an example of this code? If you have, can you send it to me?
How are you passing the query fields and parameters
anton
I'm enjoying Luca Pointzero - Senses Overloaded (Original Mix) on the Hard Techno channel https://www.di.fm/hardtechno
ali
M. Hossein
Seems harder to maintain in the long term?? 🤔 Hmmmm How true is that
https://www.django-antipatterns.com/antipattern/signals.html#:~:text=Signals%20can%20result%20in%20infinite%20recursion&text=This%20will%20trigger%20the%20signal,infinite%20recursion%20when%20defining%20signals. In short, don't use signals with ORM
👑 Dharmzeey
Through forms and JavaScript codes
I don't know why, but it's not difficult. As you are taking the query fields and parameters from the front-end to the views.py you will just check all query fields. Maybe if I can see your view.py handling the search functionality, maybe I can say one or two
(⌐■-■)
facing this error. I want to insert some data(room name) in a model(Room). Created a view that gets POST request from a form and hits the /rooms/create_room endpoint. DoesNotExist at /rooms/create_room/ Room matching query does not exist.