Roman
Yeap Roman i use jsPdf
Is it inside django ?
Dosanz
Guys I am having trouble with environment variables please help
Dosanz
😭
Amado
It is a Js library
Roman
But how can I do create the pdf with js library ?
Roman
But how can I do create the pdf with js library ?
Oh got it, I actually can’t generate on client coz I need to send it to the email
Omair
I find it hard to explain, but I thnink is not about NF How to deal wiith A ——— B —————— C model, when you whan to do querys from A filtering about C...... Default manager from django contemplates models from realted_twice? For this reason, I'm thinking about make a FK for A to C , and for B to C..... Or maybe I must wirte my manager from A, for this propuses...?
Ah I think I understand what you are trying to say, but your approach would just change the relationship from A———-B————C to A———--C————B that definitely would help if you are quering a A,C relationship, single join but it would make your schema lose some of its logical charm. IMHO I would go ahead with writing a custom query manager method, it will keep the database more maintainable.
Kuu
Hello guys Where to learn Django
Doragonsureiyā
Hello guys Where to learn Django
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Kuu
Yes i saw them but teachs not deeply
Mirco
Yes i saw them but teachs not deeply
official docs contains everything
Mirco
or buy a book like Django for Beginners or Django by Example
Kuu
Maybe any recommended udemy courses
Kuu
Only related to django
Mirco
there are many, I don't remember now the names
Bahadır
is there datetime item in bootstrap? I was tried many method, but I can't show (dd/mm/yyyy hh:mm) like that in textbox and there is no picker button in textbox.
Chetan
I need to pass 2 arguments in my DRF url field which i need along with modelViewset in DJango something like this routers.register('v1/<int:service_name>/services', AddServiceCategoryViewset) Any help or suggestion what should i do
Chetan
its giving me error Page not found(404) when i am passing http://127.0.0.1:8000/api/1/v1/services/
Chetan
i am coming from php background
Chetan
thats why dont know much about django
ⒶⓛⓔⓧⓈⓣⓑ
Hello. I'm writing a templaye with a detailview where I'd like use the label defined in a model or in a form. Django seems ignore every label I defined in form class or verbose_name I defined in the model associated to the detail view class. Have you some advice about this problem? It's first time I need only show information and I'm using the detailview.
Omair
its giving me error Page not found(404) when i am passing http://127.0.0.1:8000/api/1/v1/services/
Its giving you 404 because either your lookup_field in the ModelViewset is not defined or your object doesnt exist.
Chetan
The current path, api/v1/service/2/category/, didn't match any of these. this is the error when I am having an end point at api/ ^v1/service/<int:username>/category/
Kumar
Is pinax helpful ? Any review ...has someone used ?? I have to add social media features in my website.
Rounak
I have made a website for college counseling in django framework and i need to back up data after any deletion and updation on the website using signals like post and pre save , pist delete and pre delete.. Can anyone send me the the reciever function code (like how it will look like).and how to implement in my views also..
Anonymous
Hi, I want to learn rest api for django so please suggest me books or youtube channel.
Mirco
Buy book Django for APIs
Di
Hey guys I need a help with celery and redis, I need a teach and of course will pay for this, if someone here has this skills call in private
Manish
How to implement voice and video calling in Django??
For video and voice calling.. you should use webrtc or any webrtc framework. Webrtc based on javascript. You can use python for backend.
 Aryas
Hey guys. I have deployed a project on pythonanywhere but I got an error that says could not connect to the server. And also I have set my database on postgreSQL in settings.py. Is anyone to help me, please?
Cesar
Hello, how can i add a parameters in DRF -> viewsets.ModelViewSet so i can do something like: /api/orders/<pk>/add_detail/<detail_id>/
Gabs
good night could help me with this mistake import Updater as Updater ModuleNotFoundError: No module named 'Updater'
Gabs
I'm already trying to care about it, but I'm still getting the same thing.
Anonymous
Hello, how can i add a parameters in DRF -> viewsets.ModelViewSet so i can do something like: /api/orders/<pk>/add_detail/<detail_id>/
Override the drf methods Like get method post method put method or even ur custom method using action decorator then use it
Cesar
there is no route to that info
Cesar
i just gave up and did a reading of the body and sent detail_id inside the body 😅
Anonymous
Hi There! does anyone help me out how to open modal pop-up in django admin?
Doragonsureiyā
Hi There! does anyone help me out how to open modal pop-up in django admin?
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
FR
Hi There! I wanted change my default db sqlite to msssql then I read document and implement everything but I get error this " django.core.exceptions.ImproperlyConfigured: 'sql_server.pyodbc' isn't an available database backend. Try using 'django.db.backends.XXX', where XXX is one of: 'mysql', 'oracle', 'postgresql', 'sqlite3'"
FR
and also I use Django 2.1.5
Bhaskar
Can you help me out on this https://stackoverflow.com/questions/64430327/use-same-template-with-different-data-on-links-created-in-another-template?answertab=active#tab-top
SamFubuki
Can anyone help me in a flask project please
SamFubuki
Actually I made a simple code in flask to integrate an ml module but it is showing error in doing that
Sarjat
Hey i was just looking for some project ideas for my clg final year can someone recommend me something(please dont recommend blog website,socialmedia website and ekart website)
Sarjat
Anylatics sites like?
FR
what giving error
Bhaskar
NoReverseMatch error
FR
Django cannot find a matching url pattern for the url you've provided in any of your installed app's urls.
Peak
guys, I have 2 ChoiceFields in my djangoForm. I need to change content of second one, based on changing first choice Field. How can i do that?
Украинский
Sunny
Can anyone help me to connect django with mongoengine?
Sunny
With local database server
Mirco
have a look at djongo
Sunny
have a look at djongo
Is it good for production?
Sunny
I'm creating models from scratch. I also have to create custom user model in it. If any tutorial or video is available with any one then please share with me.
Sina
Hi. I want to deploy my django app on godaddy shared host. I deployed and it works but only root url works. Other urls don't work. For example mydomain.com is working but mydomain.com/api/links does not work. How can I solve this problem?
Sunny
https://youtu.be/HshbjK1vDtY
Thanks but looking for Mongodb mongoengine support
Prashant
I will want to create a OTT application but I doesn't know how I create a model class or database
Prashant
I want to create a django admin or database just like that when I open admin panel I will only show web series, movie, TV show etc But when I click anyone of them like web series it will show all the list of the web series like 1. Dark 2. 13 Reason why etc And when I click one of them it's will show all the basis information about series and the below of them it's will show list of the season like Season 1 Season 2 and it's contain one button which has add season And when I click the button it's will ask the basis information about season and contains list of episode or also contains add episode button like a season
Batman
Hello, I need a little help with NGINX, so I had a few URL Redirects at application level, the application has NGINX running in front of it, now I had to remove those redirects at application level, is there a possibility that they might be cached at NGINX level?
Anonymous
I'm creating one django application where user can post comments and like. I'm trying to add feature which is User can connect with other users... something like send connection request and if another user will accept that both will be connected. My question is how to notify user that another user wants to connect
Jun
Hello guys, how to create a sign up page with mobile and email OTP using built-in User model?
Jun
This will help you https://youtu.be/TGvK5z9R8Ik
Do you have any other tutorial link? I didn't get anything what he said😅
Rangarajan
Try this, https://youtu.be/JQf2BIT4OB8