Midhun
Okay
Dexter
How to can do this , I have select field in form which queried from database , when we select one value I need to get specific field value from that row in next charfield
Is-Haq
As salamu alaikum wa rahmatullah
Is-Haq
can some guide me on how to deploy trained model using Django
Davoud
can some guide me on how to deploy trained model using Django
hey, are you going to deploy all your project into server?!
Is-Haq
hey, are you going to deploy all your project into server?!
no, I'm just doing it as final year project
Is-Haq
the problem i'm facing is that, i trained the model to predict diseases and it is working perfectly on Anaconda, but when i deployed it, i want the features to be inputed by the user from form. I don't know how handle the that values because the not numerical values and i used html's <select> tags to display all fetched symptoms from the database.... PLEASE HELP ME
Is-Haq
Dm me
Umar i can't get you
Is-Haq
right
Umar
Inbox me
Is-Haq
ok thank you
Sadra
Deleted
Hi guys, how to dev django project in pycharm GUI in linux sub system of windows?
Ubaid
Guys is there any way tht I cn call a URL in django(I know this part) and click on the elements of that website (entered url) to select the html tags of that particular element or elements. I am trying to build an web scraping application using django where any user can scrap a website by just selecting the elements of the website(which ultimately selects the html tags of that element in the background).
Ubaid
Please help iam stuck on this
TheDoc
😳😳
~:$
Best logging django package for db queries and db exceptions.. Db is Postgresql.??? Expert opinion please... Thank you.
Agent Q
Postgresql.
log_statement
Anonymous
Hi, who knows where I need to write my business logic
Anonymous
Do I have to create new module named services, where I'll write business logic, or better to write it in models file
~:$
log_statement
So you mean that instead of using any django package for db queries or db exceptions, we use log_statement config setting in postgresql.
Agent Q
If you rely on another Django package to a DB, you would have to make sure that it's always compatible for new DB updates.
Bradypodion
Hi guys, 1 question. I've wasted 30 minutes trying to makemigrations for the latest models. For 30 minutes i've had "no changes detected", but running makemigrations <myapp-label> it works. Can someone explain me why?
Mirco
Strange if it works for u when u specify the app label, it should work even without it
Bradypodion
and even after made migrations, in the admin panel i don't see any model declared
Bradypodion
i'm getting crazy
Bradypodion
strange question.. yes i did, i saved my new models and its APIs
Mirco
and even after made migrations, in the admin panel i don't see any model declared
That's not automatic, you need to register the model into Admin
Bradypodion
That's not automatic, you need to register the model into Admin
ok, thanks, i just forgot about that i'm facing the panic
Mirco
ok, thanks, i just forgot about that i'm facing the panic
Take a break and then everything will work fine magically
shankar uma
Can anyone send me the single view function code for singup and login forms present in a single page
Jay
Hi, can someone please help me regarding authentication? I am a frontend developer working with a django backend. I cannot authenticate the user.
Anonymous
How to Implement Token Authentication using Django REST Framework https://simpleisbetterthancomplex.com/tutorial/2018/11/22/how-to-implement-token-authentication-using-django-rest-framework.html
Anonymous
4 - Authentication and permissions - Django REST framework https://www.django-rest-framework.org/tutorial/4-authentication-and-permissions/
Anonymous
@jay refer and get to do same it's
Jay
did you install cors ?
There is cors error
Anonymous
There is cors error
May I know error message?
Charanjit Singh
Hi.Guys. Please let me know if this is possible. I have created a serialiser class In that class created some fields which is required = false. During initialisation can I convert this required = True
omkar
When I use router I get error every time.... TypeError method object is not subscriptable
omkar
Any fix for this. Pls help
Manpreet
Can anyone help me out... in loading the django form with the error and the data that was previously filled by the user
omkar
Model.object.get(pk=1)
omkar
share code and error
Help me router error
Mirco
Help me router error
share the full code with pastebin with the traceback
Nivatharan
Can I publish my Django based web app using Cpanel ??
Anonymous
Can I publish my Django based web app using Cpanel ??
Yeah you can. It has that option to deploy cpanel
Anonymous
Can I publish my Django based web app using Cpanel ??
Deploying Django Web Application using Cpanel. | by Python Zimbabwe Open Source | Medium https://medium.com/@pyzimos/deploying-django-web-application-using-cpanel-6687b8057439
Nivatharan
Thanks a lot
Nivatharan
U guys alyas boot up my mind and gives ur supports always am really thankful to this group and the people who always try to help 🙏🏻🤍
Anonymous
Deploy Django App on Cpanel ( Linux Shared Hosting ) | Making Django Project Live on Shared Hosting - YouTube https://m.youtube.com/watch?v=wFtiFQgk5Fk
Anonymous
Can anyone teach me Django?
Doragonsureiyā
Can anyone teach me Django?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
mat
What does this error mean :in order to allow non dict objects to be serialized set safe parameter to false
ƒilin
Hi, can smb give any advices about practicing Django ? (sorry, I’m Russian and can make mistakes)
Anonymous
I changed the .env values, but seens django is not getting them
Anonymous
only Gunicorn?
Anonymous
what is the command?
Shubham
when i put debug = false media files are not showing
Shubham
please help
Pouya
Hi. I want create pagination in my search function but it doesn't work Please help me My code: def search(request): if request.method =="GET": q = request.GET.get('search') blogs = Blog.objects.filter(title__icontains=q) paginator = Paginator(blogs, 1) page_number = request.GET.get('page') blog_list = paginator.get_page(page_number) return render(request, 'blog/blog_list.html', {'blog_list': blog_list}) it worked for first page but when I click on page 2 I get this error: ValueError at /blog/search/> Cannot use None as a query value