Confident
Confident
it's more expansive than others like shared hosting, cloud hosting...
Charly
Confident
Confident
the must cheap one
Charly
Confident
can I deploy my Django site on shared hosting?
Charly
Sunny
NARASIMHA
I have a celery task with acks_late=True
In my local if i quit celery and then start again, the tasks are getting requed and it runs well
But in my kubernetes environment, after the deployment, the task that was stopped is not being requed
What might be the issue
Amirhusein
How can we chain querysets of a same model and paginate it? There are large amount of data
nyctophile
Hi guys!
I need to send date time from py client to api but it is giving me 'Bad request'
Which format should I use? Can anyone help me with that
Abhijit
I have task in django project
In which I have uploaded a Excel file in that I have to send a mail to particular user who have checked checkboxes selected.and also want to pagination in this upload Excel file..I am sending the sample Excel data..
plsss help
Doragonsureiyā
Abhijit
Abhijit
As simple as simple I have made upload Excel file and in excel data there is checkboxes and email I'd I have send email to particular checked user
Doragonsureiyā
This is my difficulty
We're not here to do your job for you.
This group is to help you on specific issues you have in YOUR code, so you have to show the code you wrote by yourself and explain where and why you are stuck... as simple as that. 🤷🏻♂️
Abhijit
Maxim
Believe
Abhijit
I have wrote some code
But code is written in my company laptop.so I can send the code tomorrow
Sorry for inconvenience
Ayass
@override_settings(MY_SETTING={'EXAMPLE': None})
class CobaTest(TestCase):
That override_settings only works when running a specific test.
However, it does not work when tested for all.
python manage.py test
Any help? I need override_settings to work every time I run the test.
Ayass
That override_settings only works when running a specific test.
python manage.py test apps.tests.test_aja.CobaTest
Gee
Why html-> javascript changes are reflecting during debug of webpage and not shown while normal run?
Muflone
Hoopakid
I have a problem with elasticsearch when i use with drf who can help me?
Doragonsureiyā
nyctophile
nyctophile
Muflone
Angel
Hey guys… any help with the following problem would be appreciated…
I want to add a “logical” field to Django Admin change list view for each row… without modify the model definition… this new field needs to be a choice field and I also need to be able to validate if the value changes on save… any suggestions?
Сережа
Guys, i want to create forum. So ive made form, bd and so on. But... i want, that arg date_of_creation has value of now. How can i make that?
Muflone
summit
Hi guys,
I need help integrating stripe in django to enable suscription to the Saas platform that we are building. I found dj-stripe and I could sync my database with my stripe account. I want to integrate stripe connect. Any help is appreciated. Thanks
min
mirodil
Hi everyone, How can I change type of field when annotating ?
from geopy.distance import distance
queryset.annotate(
distance=distance(
(latitude, longitude),
(F("address__latitude"), F("address__longitude")),
),
).filter(distance__lte=query_distance)
Here F() should be float type to use geopy distance method.
I'm
Hi
Does anybody know how can I connect frontend using next.js and backend using django?
I’m
I’m
You could leverage API calls and call Django views to populate the DB
I’m
or use https://pypi.org/project/django-nextjs/
Gianluca
Hi all, is there anything avaliable similar to livewire for laravel? I am avoiding complex frontend stuff but that's hindering me from completing some projects without resorting to a frontend dev
Ali
https://dev.to/ericchapman/laravel-livewire-for-django-say-hello-to-unicorn-1fo7
Ali
Htmx
Vitaliy
server ASGI/Daphne version 4.0.0
django-rest-framework
API returns outdated project list unless i reboot the server
how to solve undesired caching?
i did not overload list method nor hang any decorators. almost pure framework
class ProjectViewSet(viewsets.ModelViewSet):
serializer_class = ProjectSerializer
queryset = (Project.objects.filter(project_status='Active')
.select_related('project_manager',
'project_sr_manager',
'project_location',
'facility')
.prefetch_related('release_set'))
Vaibhav
Vaibhav
Moein Trendone.ir
Hello friends, I would be grateful if anyone could help2 systems are uploading data to the postgres database (64 requests per second) on VPS, the code is the same for both, I added the third system in the morning, there was no problem, but in the afternoon I get the following error
In addition, the desired ports are open and other database information is completely correctpsycopg2.OperationalError: connection to server at "remote-######.com" (ip), port ##### failed: Permission denied (0x0000271D/10013)
Is the server running on that host and accepting TCP/IP connections?
Сережа
clouded
Anonymous
Please, help... My model with ImageField don't upload photos at all.
Eternity
Doragonsureiyā
Ali
Anonymous
OK. Tomorrow I'll share it.
Georg
hi. there are two methods in QuerySet: latest and earliest. How can I make this methods not to throw an exception when no data found? (like DoesNotExists)
Charly
Georg
Charly
too long 😂
What a dumb reason to not write proper code.
Charly
Georg
that's an opinion 🤷🏻♂️ It has a rights for to be
Georg
yep. but it is too expensive
Georg
order is most expensive operation
Georg
yep. U rright
Mukhil
How can host django project in local pc.
?
Iam using windows and Linux pc
I have static ip and domain
Ali
Install nginx gunicorn, ufw in your linux pc. Allow 8000 80 ports in ufw. Then go to youe model control page and open your ports and ip to global.
Mukhil