Roy
Hello I have a doubt . I have hosted my django application on Vps . My domain name is testdomain.online My domain is working on www.testdomain.online But it's not working on http.testdomain.online Or whenever I go with only testdomain.online Kindly if anyone has a solution please share . Thank you
Praveen
Like configure your DNS to testdomain.online without www.testdomain.online
Vishu...
How delete all database entrys. In one commented
iamdreamer
Is that mandatory to use csrf tokens if I’m using axios REST API to drf django
The Inspired
yes
ㅤ
What is the best form? Django form or form html?
Vishu...
Html
Adam
Hello, are there any configuration that must be made in order for django channel to work on the server? The web sockets were working before installing SSL, but after installing SSL they no longer worked and the request became finished immediately. I use nginx, daphne
The Inspired
What is the best form? Django form or form html?
Django forms... but you will probably also need some additional plugins with them
Chinnu🦋
Can you send django app link Now only I started full stack python so
Chinnu🦋
How to install that
салли
Can some1 help me, how can i pass Django form in HttpResponse header ?
park seo joon
{ form.as_p} for paragraph On template to render it you need to query it if it's a post method or get method
салли
{ form.as_p} for paragraph On template to render it you need to query it if it's a post method or get method
In my case i need to catch djangos default HttpResponse in middleware and create another response with saving context data, but I can’t serialize original context if it has forms
Отабек
@receiver(post_save, sender=ApplicationInfo) def send_telegram_message_on_change(sender, instance, created, **kwargs): if instance.send_to_groups: message = f"send_to_groups changed in ApplicationInfo: {instance.pk}" asyncio.create_task(send_telegram_message(message)) async def send_telegram_message(message): await bot.send_message(chat_id=chat_id, text=message)
‹m›Javad‹/n›
Check HTTP status codes.
wrote method not allowed
clouded
alifreeguy has been muted for 1 hour: Sharing other groups or channels not allowed!
‹m›Javad‹/n›
Guys, what does error 405 mean in Django?
When I post my comment in the blog, this error is displayed
park seo joon
Prapti
Anybody who has idea about influxdb here ?
Arman
guys need assistance - https://stackoverflow.com/questions/78564274/why-factory-class-creates-more-than-one-django-model
Adam
how can I deploy django channels with ssl?
Charly
how can I deploy django channels with ssl?
Did you made some research about it?? Try to get general guidelines with Google then ask specific questions here
Charly
Anybody who has idea about influxdb here ?
That question has nothing to do with Django please ask in the offtopic group or elsewhere
Charly
When I post my comment in the blog, this error is displayed
And have you done the research we told you to do?
Charly
When there is a change in the django admin, the bot should receive a message, but it is not working
"Not working" is not an acceptable description of the issue, be more specific
Charly
I had to apply it on django hence asking bro
So ask then a question specific to Django not if someone knows influx db
Wanda
i guys i am new to django. I want to use MongoDb in my new project. I have made projects with SQL and sqlite but now i want to use MongoDB. Can You guys tell me how to start and what precautions i have to take while working with it. I am planning to add group chat functionality also
Doragonsureiyā
Wanda
Yes
Thanks For Clarifying
Qonteh
Hello I need help.....i created the base templates in my django project but once I need to extend it I gat templates does not exist *base.html* i correct every thing in the setting.py i.e TEMPLATES i set the django templates in my DIR but the problem not solved any one can help me this problem please
issues
Can i use PostgressDB?
do you think Redis or Postgre is better in Django rest?
Charly
do you think Redis or Postgre is better in Django rest?
You can't use redis as a main db in Django
issues
Excuse me, so what should be done for fast databases?
issues
site finn.no What kind of database did he use?
issues
Use default one sql.lite
This is a test database I want to choose a high-speed database on the server.
issues
I think the project is finished, I just have to choose the database
issues
Postgre is best
Are you serious?
Qonteh
Are you serious?
Sure mysql also is best but postgres is better because it can handle a large amount of data compared to those so i suggest to use it
issues
Sure mysql also is best but postgres is better because it can handle a large amount of data compared to those so i suggest to use it
It's true, but I wanted to use fast databases that can update information at a high speed with React.
issues
Example: firebase و mongodb و refis
Qonteh
Okeeey you can use mongodb
Charly
why not ?!
Beacause is not even a persistent database
issues
Because it makes many changes in the code
Charly
Example: firebase و mongodb و refis
You have the false illusion that these are faster or better but they are just different data approaches
Charly
It's true, but I wanted to use fast databases that can update information at a high speed with React.
How fast is fast for you? It usually don't comes by choosing a database but writing good code and have a good architecture
issues
I thought that by selecting the database, we can update the information faster
Charly
If you don't even have a starting point then you can't improve
issues
So actually the post gre is the best option
Charly
So actually the post gre is the best option
The best option for which use case?
issues
For the Django and React project, which is an advertisement site
issues
Thanks to my dear friends who guided me
Har!sh
Looking for django pet adoption app templates Can any one help me out
Doragonsureiyā
Looking for django pet adoption app templates Can any one help me out
Adding the word Django to your Off-Topic question doesn't magically turn it to a Django related question, so delete your question here and move to the @PythonOfftopic group and ask there.
Arnel
Hello everyone please Can I have a Book to learn Django in french?
Dani
is anyone here who uses celery in their project
Doragonsureiyā
is anyone here who uses celery in their project
Please don't ask meta questions like: - Any user of $x here? - Anyone used technology $y? - Hello, I need help on $z! Just ask about your problem directly! If you don't know what to ask, please read: http://catb.org/~esr/faqs/smart-questions.html
Arnel
no this is English-only group
Ok can I have a Book in english?
Doragonsureiyā
Ok can I have a Book in english?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Arnel
Thanks
Arman
guys pls help, even asked in stackoverflow - https://stackoverflow.com/questions/78566431/how-to-set-image-size-in-megabytes-for-factroy-django-imagefield-e-g-my-img