Ajn
hi, I have a requirement in which I need to implement multi tenancy with the isolated database approach i.e. each and every tenant will have its own database. I will have a master db in which we store all the tenant data and from the master db we will route the tenant to it's appropriate tenant database. so my question is can we implement this architecture using Django and mysql being the database, ie I have to route to the tenant db without hitting the master db, is this possible? I saw the source by saying that It is doable but I can't risk my time on implementing it without knowing whether it will fail or not, because this is an urgent requirement.
Kirill
Hamzat
Hamzat
Hamzat
MR Nemo
Hi,
How to use annotate whithout related name?
because when i add data(example 10) into annotate i got an error:
QuerySet.annotate recived non-expression:
Mr
MR Nemo
park seo joon
https://hastebin.com/share/iragiyilas.python
In this implementation though I'm not getting any error but just want to know if I'm on the right track
Ajn
Kirill
ishaan
I am trying to upload a word document and extracts it's content to auto fill the relevant fields.But I am unable to do it for table of contents
Charlie
As a beginner, where can I go to learn django system, please be specific
Charlie
Brown
Which approach offers better performance: using 5 different views to handle similar functionalities, or using a single view to manage all 5 functionalities?
Paulo
Hi, guys!
I'm a beginner in Django and I just finished a Django course (e-commerce project).
I would like know if this is enough to start looking a for job as a junior Django developer.
Charly
Yagi
can you run migrations / migrate even while python manage.py runserver is running?
Charly
Yagi
is it bad practice
Yagi
my app broke
Vijay
I am trying to create a custom signal in Django but again and again i am getting a TypeError: Signal.__init__() got an unexpected keyword argument 'providing_args' in my terminal. from django.dispatch import Signal, receiver
custom_signal = Signal(providing_args=["message"])
@receiver(custom_signal)
def custom_signal_receiver(sender, **kwargs):
message = kwargs.get('message', 'No message provided')
print(f"Custom signal received with message: {message}" # this is the code
Charly
Charly
I mean it is not a problem if your app dies locally because on production you don't use manage.oy
Vijay
Can somebody please tell me why i am getting this error message in my terminal
Sajjad
Vijay
L¿<>
Dont use signals
Better way
Celery
Vijay
Charly
Charly
ishaan
I am trying to upload a word file in my django model and auto fill my django field according to headers of that word file.
for example
my word file has four sections,
research methodology
frequent asked question
table of content
market overview
so based on these headers I m trying to split and send it to my django field while maintaining the html styling. I have almost implemented it but for toc and some section it's not working properly
ishaan
has anyone worked on anything similar to this, plzz help
Charly
Charly
Vijay
Vijay
or Youtube
Charly
Charly
Yes
Honestly I don't know how you expect me to show you how to read
Vijay
Vijay
aytan
Charly
aytan
George
Where!?
Django has an official website, its there
Doragonsureiyā
Where!?
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Sahnoon
in oder to learn django is it compulsory to have solid knowledge on data structure and algorithm ?
Hamzat
aytan
Vergo
Any book available here?
Doragonsureiyā
Any book available here?
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Самандар Шынназаров
Error: Unexpected server response: 404
Handshake Details
Request Method: GET
Status Code: 404 Not Found
Request Headers
Sec-WebSocket-Version: 13
please solution in django channels, uvicorn,nginx
Amir
How can I fix this problem
Amir
diango.utis not supported Errors
Mariadb 10.5 or later is required
,(found 10.4.32)
Mirco
Amir
What is a command?
MR Nemo
What is a command?
First: pip uninstall django
Second: pip install django==version number
Nima
I have a problem of relative import error please help me 🙏🙏
AZ
Text
Hello, in my Django project, I cannot see the products I added from my admin panel on my page, and I do not receive any error messages. hepl please
AZ
Text
Toni
The views
Toni
Check the context
Toni
Then check the template. Make sure u r sending the same value from the context to the template
Mr
ali
need some help to solve a little problem for my django task.who can help?
Monkey.D
how can i learn django free and fast ??