anrays
i need deploy django channels asgi help me guys,
Doragonsureiyā
i need deploy django channels asgi help me guys,
No one can help you until you explain your difficulties.
👑 Dharmzeey
Post
Well, it'll be better if you can past the whole error on something like pastebin
Denilson
Well, it'll be better if you can past the whole error on something like pastebin
How I can do this?? Do you have a documentation? I’m beginning in this area.
Shahzodbek
Hi guys. I am having Error[111] Connection Error while trying celery. I have already tested that redis is working fine. Everything is good. But this error[111]
Cute
Hi All Good Morning..!! I am saving django logs into log file now i have to get those logs into HTML when i am trying to get one line logs are coming perfectly if the log is 3 or 4 lines it is not coming as one log can anyone help me with this please .
reza-_-
Hello everyone, does anyone know how to connect Scrapy to Django, if so, please send me a message
Rohan
Yes
reza-_-
Yes
how
Charly
how
Is not a good idea because you could block the request, but you could read this: https://codeburst.io/make-a-robust-crawler-with-scrapy-and-django-20e1bc199bca
Charly
this uses django not django rest also I use a proxy for change my IP
Django rest is Django, you can do it. And you can use proxy thats unrelated.
Tamerlan
I have user form app i want save user info step by step in database. Firs i want save data in redis then end of step i want save data in redis to database.won't the process like data loss happen in the middle?
Bobby
Any one have code for scanning xrayfilms using django
Vijay
Hello guys I am trying to using error_messages keyword in form but its not working
Vijay
how can i solve this?
Vijay
from django.core import validators from django import forms class Studentregistration(forms.Form): name = forms.CharField( error_messages={ 'required': 'Please enter your name' }) email = forms.EmailField( error_messages = { 'required' : 'Enter Your Email' } )
Vijay
This is my code
Vijay
c
Charly
can you help me now?
No, you haven't say whats the issue
Charly
And, no, saying doesn't work is not helpfull
Vijay
whenever i am submitting empty form it should say Please enter your name instead of saying this that showing me please fill out this form
Firdaus
whenever i am submitting empty form it should say Please enter your name instead of saying this that showing me please fill out this form
https://stackoverflow.com/questions/18843624/in-django-whats-the-difference-between-form-errorsfield-name-and-formfiel I think you're seeing the form error. What you want to display is the field error.
Vyacheslav
Hi guys I need some theoretical help, what is the best way to validate data in django views from frontend (I dont use django-forms)
Masoud
class Shopping_Cart(BaseModel): order = models.OneToOneField(Order, on_delete=models.CASCADE, default='') user = models.OneToOneField(Users, on_delete=models.CASCADE, default='') total_price = models.PositiveIntegerField() total_amount = models.PositiveIntegerField() list_cartitem = i need a field for get Cart_Item list in Shopping_Cart model. help me please for create that record
👑 Dharmzeey
How I can do this?? Do you have a documentation? I’m beginning in this area.
Check pastebin online and past the error code, then share the link here
LCZ80
Guys am I the only one having issues while debugging Django with Pycharm? Like ignored breakpoints etc?
LCZ80
I've checked online and there are many workarounds there, but I wonder if it is normal.
Kumar
Guys, I need some help on connecting my local django application to kafka on aws. But every time I'm getting an issue called broker not available... Can someone help me with this?
Kumar
In my local, I'm running kafka and its running and connecting the producer and consumer without any issue. But on aws I'm not getting how to connect?
M. Hossein
In django code including models.py, admin.py, Should I use " or ' ?
Charly
Kumar
That has nothing to do with django, is your kafka broker config,, it need to allow external connections
I have also set up the security group rules for inbound and outbound ports for kafka connection but it's not working.... First I tried with aws msk and then just setup kafka on an EC2 and setup the above rules but it didn't work... If you can help me with this?
Anonymous
Hello. I have a question about templates, namely, can rest_framework completely replace them. does it completely replace all api of server? What are templates for anyway? can rest return html?
Georg
hello. I'm using django-simple-history, can't find how to add property of a model to HistoricalRecords. Is it possible?
Vikash
Georg
?
my model has a calculated property, amount. I wanna push it in history
Vikash
In thi history field also added property amount
Vikash
it's also store backup of your models..
Georg
not a @property
Georg
by the way, I've already solve this
Georg
how
through custom historical model
Pradip
😊ok
Georg
well, I have another question. I built a custom historical model, is there a way to get original record from historical?
Georg
are there any references to it?
Georg
😊ok
yep )
Maxim
hello. I'm using django-simple-history, can't find how to add property of a model to HistoricalRecords. Is it possible?
https://django-simple-history.readthedocs.io/en/latest/historical_model.html#adding-additional-fields-to-historical-models
Georg
much thanks
Вячеслав
Hello. What is the common django way to make scheduled things happen by the exact ETA? For example, 30000 users has their taxes paying time at 9 pm. Of course there is a huge queue of tasks. What is the way to make them happen at approximately 9 pm and not 9:52?
LCZ80
In python code or in the templates code?
Thank you. Python code. I also tried with: getenv option, --no-cov option for isolate from pytest.
Anonymous
is there any way to learn django ORM?
Muflone
Thank you. Python code. I also tried with: getenv option, --no-cov option for isolate from pytest.
In tests simply the debug seems to be ignored but you can use a python command to execute them In python debug it works fine for me
Вячеслав
Because of big queue of tasks I think? I understand that code needs some time to run and it become considerable when there are a lot of such tasks. Actually very general question. I think that it has to do with architecture of our app, but maybe there are some tricks to deal with such troubles
ֆ33ʏ377
is there any way to learn django ORM?
U can refer documentation
Muflone
Anonymous
ֆ33ʏ377
Because of big queue of tasks I think? I understand that code needs some time to run and it become considerable when there are a lot of such tasks. Actually very general question. I think that it has to do with architecture of our app, but maybe there are some tricks to deal with such troubles
I think u need to increase workers and threads for executing multiple jobs at the same time but there will always be limitation so u need to look into scalability option for server that u are running at real time
Doragonsureiyā
anyother ways ?
Why? Seriously... Why? 🤔
ֆ33ʏ377
anyother ways ?
https://books.agiliq.com/en/latest/README.html
Ali
Hi guys ✋ How can I make the slug field be written in the same way as the title in Django... that is, if we write the title in any language, the slug will be automatically registered in the same language?
Aditya
Bro, I am new to django, just created a crm web application..can someone tell me how to host this jango app on cloud?