Sarthak
https://dpaste.org/Uz8d
Sarthak
Pls check code
Sarthak
Also pls guide how to make it work
Sarthak
I want to assign the model field with label from request data
Anonymous
They have already told in documentation
I didn't find anything for login view.
Saurav
Bored at home? Want to earn some money? We have came up with an affiliate program through which you can easily earn money just through your phone by sharing and getting new clients. Dm for details.
Bheeshma
I didn't find anything for login view.
https://docs.djangoproject.com/en/3.1/topics/forms/ Go down and find rendering manually
Anonymous
Thanks Man..
Anonymous
I also found a stack overflow answer but this looks better.
Anonymous
cursor=connections['orapay'].cursor() cursor.execute("PYR_INT_LTATOPAYROLL %s %s %d %d %d %d %s %s",[code, pMode, advnc, amtPssd, amtTaxable, amtTaxFree, actDir, 'True']) ret=cursor.fetchall() cursor.nextset() cursor.close() return ret
Anonymous
What are "non field errors" in forms.
#elvin
Hi. How i run docker on acer aspire one 725 amd processor?
Jeevachaithanyan
IS https://www.squarespace.com developed Python / Django ?
Ariel
How can I make Django save the changes at the database after test have been completed successfully?
Ariel
Of ok --> don't rollback
Mirco
!ot
Doragonsureiyā
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Sagar
ERROR: Could not install packages due to an EnvironmentError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/87/dc/3f96196718beab06849f94f54ff20ffec78af8424c866c61cdced30fb1ce/Django-3.0.9-py3-none-any.whl (Caused by ReadTimeoutError("HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. (read timeout=15)"))
Sagar
how to solve this errir..
Sagar
i got this error while installing Django in virtual env.
Sagar
pip install "Django==3.0.*" : was my code
Scrim
SSL problem
Scrim
Can u access google normally?
Mike
hello everyone I have question about functions like this django.contrib... where I have find all functions list
Pradyum
https://stackoverflow.com/q/63503920/7999665
Pradyum
Can anyone help in this?
Partha
Can we host multiple django application in wamp single port. Like Websiet1.test.com:8001 Website2.test.com:8001
Anonymous
When i add free addson on heroku its asks to enter credit card information Can someone help me ... coz i haven't credit card and heavy to got it in our country
Anonymous
In django,how to compare 2 objects data in django sample history. Suppose you have 5 data in model ,you can 5 out of 3 changes,then it's fine.if same data are there I don't want same object.if untill any data changes then it's fine. Please give me solutions.
Anonymous
Make a primary key no
It's no working
Bheeshma
What do you want to say
Punit
how can i use zoom api in django project
setiawan
I want to ask I have a manytomany field in model 3 and I want to read the data name_model field from model1 and model2 by accessing it through model3, how is the proper template writing? class model1(models.Model): name_model1 = models.CharField(max_length=30) ids = models.IntegerField(default=1) kode_model1 = models.CharField(max_length=4, primary_key=True) class model2(models.Model): ids = models.IntegerField(default=1) kode= models.CharField(max_length=4, primary_key=True) name_model2 = models.CharField(max_length=30) class model3(models.Model): model1 = models.ManyToManyField(DataPenyakit, default='') model2 = models.ManyToManyField(DataGejala, default='') test1 = models.FloatField(default=0) test2 = models.FloatField(default=0) test3 = models.FloatField(default=0)
Prateek
Is there anyone who has a live website on Apache?
Almaz
Hi everyone! Would be glad for any suggestions what questions to prepare for django and flask interview. Thanks in advance!
Ismael
be yourself
Shubham
how to add a view count for a post
Tejas
I am using the django-cors-headers to enable cors in response. But still the access-allow-cross-origin header is not being added to the response. I am using react as front-end. What is the solution?
Meba
thankyou
Anytime
Anonymous
Yo hi Guys
Tamim
Guys have except django-hitcount there is any module that we can use it for list view? Because Django-hitcount is for details view.
Ashish
EMAIL_HOST_USER EMAIL_HOST_PASSWORD when i set os.environ.get('some environmen variables') it gives error but when i provide directly gmail id and password it gives me the output **django 3.1 possible solutions?
thala
If anyone has done Django project plz share in github
Anonymous
Hi, Suppouse I have a model named Question , then what is the difference between 1) Question.objects.create() 2)Queston()
Anonymous
How can I filter data in template according to the user
Eguakhide
Hello. Goodday. Please am getting this error. No name 'route' in module 'channels.routing'
Anonymous
Does anyone have a link to a detailed tutorial on how i can upload my Djabgo website to Cpanel.All the tutorials I find on hoogle explain how i can install django in the cpanel,but non seem to explain in detail how i can upload the whole website (website folder) from my computer .
Bunty chhatri wala..
I need Post from home.model in comment.model
What? Why are you using 2 different model file?
Anonymous
anyone use django messages with popup ??
Doragonsureiyā
Hello. Goodday. Please am getting this error. No name 'route' in module 'channels.routing'
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev
El
I want to use unique together in my model between post_section and post_type, but only if the value of post_type is index 1. who can I solve the issue?
El
how*
Eguakhide
!paste
Okay thanks. It is sorted already.
Eguakhide
Thanks
Darth✧
How can I filter data in template according to the user
Model.objects.get(id=user_id) You can use username instead....* read docs
Anonymous
Hi
Anonymous
Can anyone please help me understand how to deploy a drf api
Anonymous
Django works with its own database, so should i host that somewhere else?
Məhəmməd
Hello guys. Can anybody help me? I got an error in Django This polls app tutorial. I did everything how it said I get ValueError at /polls/4/vote/. Field 'id' expected a number but got 'question_id'
Məhəmməd
I can't figure it out
Məhəmməd
Please help me
Anonymous
Did you try googling?
Məhəmməd
Yes
Məhəmməd
They said delete migrations and makebmigrations again
Məhəmməd
But it doesn't work