Mirco
but i wanna empty string
blank=True is different from null=True
Doragonsureiyā
Thanks bud
You're welcome! 😊
Anonymous
my output is None instead of an empty line
Anonymous
I need to indicate the date of birth of a person and the date of death, if the person has not died, I leave the cell empty and None is displayed on the page
Mirco
?
Artyom
How to give custom names for this fields ? https://prnt.sc/yv0j9k
Madhu
I want one requirement. When I selected user. The associated source name should filter on time
Madhu
In admin page
Mike
Hello, who can explaine for me what is it in django "instance=" thankyou
Mirco
Hello, who can explaine for me what is it in django "instance=" thankyou
it's not Django related you need to study OOP first, instance = instance of a class
Hikmet
Hey everyone, I have a question: I want to make registration based on mobile phone and otp validation. I know the techniques of doing this, the only question I wanna to ask, should I do this on serializers part or views part? (django rest api) In my case I wanna user to be saved to the database once the otp validation passed
Artyom
Сan anyone help? After downloading DOCKERed rep and docker-compose this fail https://prnt.sc/yva7js in GET pages
Haleem
Can someone pls check https://stackoverflow.com/questions/66123492/django-template-rendering-from-for-loop
Artyom
https://pastebin.com/8HRhM5cX my docker-compose.yml
Anonymous
What method are you using for SEO in django
Anonymous
anyone work with django channel, i need help
Doragonsureiyā
anyone work with django channel, i need help
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! With ~80,000 people here, the probability that someone will help is pretty high. How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
Somesh
How can we inject different models data in same template? Send me some reference links
Artyom
Hi, can i add command makemigrations and migrate to docker-compose, if yes so how?
Anonymous
Hi, can i add command makemigrations and migrate to docker-compose, if yes so how?
docker-compose -f local.yml run --rm --service-ports django python manage.py makemigrations docker-compose -f local.yml run --rm --service-ports django python manage.py migrate
Slim
help. I am using cookie cutter and in the deploy I have the following error, despite having declared the domain in the setings in the allowed_host
Slim
django_1 | ERROR 2021-02-09 20:26:51,225 exception 14 140199213721344 Invalid HTTP_HOST header: 'grupovaligo.com'. You may need to add 'grupovaligo.com' to ALLOWED_HOSTS.
Slim
It's my settings ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS", default=['grupovaligo.com'])
Divyansh
Guys what I have to use function based views or class based for long term, if class based views where should I understand class based views beacuse django documentation is going bouncer
Fredy
Hello Group, I need help with security settings, I have these settings but I would like to know if it is enough or should I contemplate something else. # Security SESSION_COOKIE_HTTPONLY = True CSRF_COOKIE_HTTPONLY = True SECURE_BROWSER_XSS_FILTER = True X_FRAME_OPTION = 'DENY'
serg
Hello! Does anyone has a script or a script template for a windows Postgres for creating a new empty database with all required settings? I am tired of running these commands in cmd by hand
Divyansh
I want to add forms.py for text editor class where should I make forms.py 1. In app 2. In ptoject
RKumar
Inside app
Sopan
I want to add forms.py for text editor class where should I make forms.py 1. In app 2. In ptoject
Generally - inside App is best Place. If you want to add many and generic forms, projects is also good place. But try to keep Model based forms near Models.. in the same directory
Divyansh
Yes
Anonymous
advise a good celery tutorial
Divyansh
I added tinymce in textfield but after adding post in browser it will viewing as code
k
I have implemented a facebook bot in .py format, and on clicking the button on my html file..i want to run the function of login, which i have already included in my .py file. What to write in my views file?
k
Written sys.executable, 'filename.py'....what to write in output?
Tkusi
Is there any way of changing the ownership of the team to a member of same team in django?
Nani
Anybody can help to make django website about attendance system
Rohan
Can any one explain when to fetch data using session and when to fetch data using key .And how it works. And difference between both
Mr
Can i edit and view django on Andriod??
Anonymous
Is possible to do a django app into PWA?
Shubham
https://dpaste.org/tUwO
Shubham
How I can refer price field in customersubscription
Shubham
Model
neevot
What u use for frontend
Xfrad
hi i am writing a project using django rest. my mobile app will consume api and I also want to build a website using django template and views. Is this a good idea?
Anonymous
Creating a blog site using django My login and logout is not working, even though the code shows not error
;)
hy guys,I want to make a site so users can take time to go to the hairdresser
;)
There's someone who has an idea?
Yash
I calculated my data in pandas dataframe, now I want to upload the data to mysql database .How this can be achieved programmatically in django.
Yash
Thanks in advance 👍
Mirco
There's someone who has an idea?
it's normal booking website
Talha
i want to create a web based game on python django can someone guide me ?
A
Q: how to render metrics.classification_report as a table in django template ? https://dpaste.org/wYTH
Talha
Create fastest finger first game.
have to build a web host game, digits drop down on screen and randomly a no will be choose at start of game during the game, we can click twice digits with mouse and if some equal to that random generated no than game will stop otherwise loop will continue and digits will continuously dropping
Talha
Create fastest finger first game.
i need to know which python library is best for it
Anonymous
I want to create browser notification in my django project i follow (https://pypi.org/project/django-webpush/) But this is not working for me.someone help me in django web-push library
Aneesh
Iam using django oauth toolkit . After login also iam getting CSRF token error.any one know why is it
Aneesh
Now iam using CSRF exempt to eliminate this error
Aneesh
Any other method to clear this error
M
I am getting one weired situation .. i copied working project in another directory and running the runserver .. but it says that js and css files are not present however when i do check files it's there "GET /static/assets/js/adminlte.js HTTP/1.1" 404 179 68470 Nov 7 01:06 ./static/assets/js/adminlte.js
M
anyone can help in understanding .. template root is relative to base project
M
when i run python manage.py collectstatic i can see my file coming there .. is there any issue with browser cache
Anonymous
create a django web app where a user will provide schema ,table,column configuration details as an input and after clicking on submit a scheme table should create dynamically on database
Anonymous
hi How can i create a subdomain for each user automatically ?
Rajesh
hi How can i create a subdomain for each user automatically ?
use api for creating subdomain from domain registrar and nginx script
Divyansh
* How to upload media images and video by TinyMC editor in Django. *
Doragonsureiyā
* How to upload media images and video by TinyMC editor in Django. *
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Anonymous
Serializer.data is returning Ordereddict in it, json.dumps doesn't work...can someone have better idea?