Mirco
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
Is-Haq
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
Umar
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
😳😳
Anonymous
~:$
Best logging django package for db queries and db exceptions.. Db is Postgresql.??? Expert opinion please... Thank you.
Agent Q
~:$
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
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
Bradypodion
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
~:$
Agent Q
Bradypodion
strange question..
yes i did, i saved my new models and its APIs
Mirco
Bradypodion
Mirco
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.
Sadra
Anonymous
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
SHAKEEL
SHAKEEL
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)
Mirco
omkar
Nivatharan
Can I publish my Django based web app using Cpanel ??
Anonymous
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
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
cj
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
Mirco