Anonymous
Are there any product based startup which uses Django?
Tushar
Actually there are many
Pratik
I wants, if user entered a wrong path then he will redirect to login page.. is there anyway to global login for a wrong path
Tukhtamurod
SAM
what😳
I just want to use js libraries
SAM
SAM
Tukhtamurod
SAM
Tukhtamurod
Exactly and use it in a form
alright you can do it with javascript if you found smth, but i dont understand one thing, it is on the front end and has nothing to do with python
Tukhtamurod
js doesnt compile in server as long as you are using non-js framework, it only compiles on the client side
SAM
Tukhtamurod
Yes I know this, I just want a calender in my forms
well, i understand if you could find the appropriate js library and learned how to use it, just use it, why are you asking if you can use js library inside python as long as you know js has nothing to do inside python
sam
Hello my friends. I have a django channels backend & i want to connect that into react typescript. Can you recommend me any resource?
Tukhtamurod
sam
Tukhtamurod
Arezoo
i used get_obj in RetrieveUpdateAPIView ,but when get_object_or_404 can not find object,i get this error:
Arezoo
django.contrib.sites.models.Site.DoesNotExist: Site matching query does not exist.
Anonymous
Arezoo
because 106 record there is not in my table..then i get this error
Random
How to create validation for createview
reza
Hi guys. Please introduce me to the best e-book you have read about django.
âshîsh
SAM
Dharmendra
How can Weasyprint pdf open on new tab?
reza
reza
Anonymous
Hello, How can i get charfield value of class B in Class A in model
Anonymous
Sopan
Ajitesh
Ajitesh
Arezoo
hi,what is 'django.contrib.sites' that is in installed app in django setting
Titus
hello guys I have the following but static images do not show any help?
Titus
Thanks @Harish, where should I put it?
Tushar
I need grocery website any help?
That should be pretty similar to this job portal app as here they are connecting jobseekers and employers and you just want to connect grocery sellers to buyers. But I think this playlist is not yet complete
https://www.youtube.com/channel/UC_5JilzwYSqd-5C430yEPAA/playlists
Abdul Aziz
hello guys I have the following but static images do not show any help?
Check your static folder name very well, the directory (it should be in the directory of the app where views.py, models.py and so on are located ),
To load the images in the static folder inside the app type {% load static %} on top of the html file and type {% static 'image.png' %}
M.
Media files isn't loading when debug = false in settings.py. How to solve it?
Beka
Beka
Beka
Beka
the best way to show image is just use image directory. That's all.
For example:
<div class="nextdirection most-next"><img src="{% static '/webapp/moviestrailer/movies/img/right-arrow.svg' %}"></div>
M.
Titus
Titus
Thanks
Titus
Manish
https://stackoverflow.com/questions/66645325/how-to-overwrite-the-create-method-in-writable-nested-serializer-for-nested-m
Abhishek
I need help to host my django project on firebase
Anonymous
Guys rest api or graphQL? which one ia best
𒂵𒐊𒍝𒊏
hi any one her try hosting django on python anywhere
Mirco
Mirco
Doragonsureiyā
hi any one her try hosting django on python anywhere
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 ~90,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
𒂵𒐊𒍝𒊏
antonov
Hi there!
Can someone share an article about setting up several django apps like reusable app. Cause I always get exceptions "ModuleNotFoundError: No module named app1" when I try to add app of my reusable app root to the INSTALLED_APPS like "reusable_app.app1, reusable_app.app2"
Agent Q
antonov
https://docs.djangoproject.com/en/3.1/intro/reusable-apps/
Thanks, but I've already checked this article, It doesn't help with reusable app with submodules :)
I've solved my problem with specifying a relative path including parent module for every app (done it with django-allauth repo as example )
Agent Q
ok
pankaj
Deleted
pls help with this question, thanks. https://stackoverflow.com/questions/66648793/implement-authentication-in-request-send-to-ldap-server-for-connecting-in-python
DD
I have created a model Education which contains foreign key field Person
In that, I want to render a normal model form and all the forms with related instances for update operation of data stored to specific Person object
How can I render both simultaneously,
In other way how can I render form without any argument to update a data ?
Anonymous
Anonymous
If request is post then do whatever you want with it
Sergio
Hi people, I have a problem with my project, I don't understand why admin_interface doesn't work. I installed with pip a module named django-admin-interface, and nothing changed. Help
Sergio
And colorfield didn't work neither
Tushar
Vxvek
How to create auto Id in models with EMP1, EMP2 like I been trying whole day