Mirco
Addition
Hello please wanted to know which is best to do. Btech in computer science or bsc in computer science. I've searched but some say its btech some to say its bsc. Please want help
Kσϝɾα
Yulia
The last link in mistake path me to file pathlib.py in my comp
Yulia
And i see 1385 str :
Yulia
def exists(self):
"""
Whether this path exists.
"""
try:
self.stat()
except OSError as e:
if not _ignore_error(e):
raise
return False
except ValueError:
# Non-encodable path
return False
return True
Yulia
self.stat is 1385 str
Yulia
Where i should wrote it? In settings?
Yulia
I had my project been worked before today
Yulia
all it i have in my project
Yulia
import os and other staff
virtualenv
django superuser can login on local panel admin but does not in server.
local ==> sqlite
server ==> postgres
why?
Pythonero
Anshu
@killall
Harishwar......
Guyz anybody having good knowledge in Spring Boot
Shoxrux
Hi guys .Why most django backend devs dont use Firebase for sending sms for registration. As i know it is free for 10k users monthly or it has any real drawbacks
Addition
Proton
pranav
I am trying softdelete operation,
but not able to do.
anyone have simple exaple code of softdelete ?
Anshu
pranav
okay then ?
Azizbek Xushnazarov
reverse('app_name:view-name')
TypeError: 'str' object is not a mapping
cant reverse url. Can someone help me
Anshu
okay then ?
Inherit your main model with this Softdeletemodel
Fan / Ac
pranav
Fan / Ac
Azizbek Xushnazarov
Fan / Ac
where is app_name in your urls.py
Azizbek Xushnazarov
this is so annoying
Fan / Ac
urlpatterns = [
path('articles/2003/', views.special_case_2003
name='viewA')
]
Fan / Ac
you are missing name in some urlpattern
make sure you specify kwargs correctly
follow above format
Azizbek Xushnazarov
Azizbek Xushnazarov
Fan / Ac
peter
Hello, anyone who has worked with idemia morpho gadgets? am looking for a user name & password to their maven repository
artifactory_remoteUrl=https://mi-artifactory.otlabs.fr/artifactory/verify-sdk-android-release
artifactory_username=<username>
artifactory_password=<password>
Anshu
What you need is dependent drop-down
Infobeginner
For my information, it Depends on the tables of the db that you are making use of. Or have to hardcode it from FE.
Shoxrux
Infobeginner
Harshiv
https://stackoverflow.com/questions/70403458/django-url-not-mapping-even-there-is-no-error-why?noredirect=1#comment124452347_70403458
Harshiv
Manav
How do I print an SQL query's result on the front end of a django project?
Anshu
Mirco
Manav
Thanks! Will check them out!
ann
Is there any way to list wedding anniversary’s within a range of days
Azizbek Xushnazarov
ann
Yes
Azizbek Xushnazarov
Yes
https://pastebin.com/fPcm1F0b
here is my filter backend for date range filter.
create a filters.py and paste this to it
and add the Filter backend to 'filter_backends' in view class
declare which field to filter like this in view:
'date_range_filter_fields' = ['date_field']
Azizbek Xushnazarov
in query params:
api/weddings?date_field-gte=2021-12-15&date_field-lte=2021-12-30
means that greater date than 2021-12-15 and less date than 2021-12-30
ann
Okay thanks will try them
ann
Yup
Smiley
Can anyone tell me what to learn in REST_framework in django
Hamidulloxon
When I created a form to edit the user profile inherited from UserChangeForm in Django, I can't lose the Currently and Clear fields.
Hamidulloxon
please help me
Phill
Кодиров
How to save Base64 encoded image to Django ImageField?
Marcos
Lamepic
Hello everyone, please how do i convert a .doc file to pdf before saving into the model filefield
𝕁𝕒𝕧𝕠𝕙𝕚𝕣
Hello everyone, I have a django website deployed on heroku, but it doesn't show user-uploaded images, what can I do?
Roman
Vivek
I want to generate a single Global api key so that my front end can interact with my django rest api, how can i do that?