Vein
Is there anyone who can convert pdf file to html code?
Doragonsureiyā
Is there anyone who can convert pdf file to html code?
Looks like you need an offtopic group, please continue this conversation at @pythonofftopic as it's not related to Python
Mirco
If it's not related to Django please avoid it at all
Sai
It's related to python
Charly
It's related to python
This is a Django group, and we are not doing your homework
Sai
Not exactly... Juz want to know what actually they want
Hoper
Is any one here worked in Google Calendar api
Charly
Hoper
How it is related with Django?
I'm try to implement google calendar app for appointments booking.
Manu
ValueError: The database backend does not accept 0 as a value for AutoField. I am getting error, please help
Manu
class cart(models.Model): GSTIN=models.TextField() product_id=models.ForeignKey(Item, on_delete=models.CASCADE) quantity=models.IntegerField() Availablestock=models.TextField() This is my cart model and after doing migration I am getting this error
Sergey
Hello. I define my save method in serializer, but, when I call it, it calls native method (from parent), but in overwritten method there is no "super" call. What it can be?
Aman
can you suggest any django course
Doragonsureiyā
can you suggest any django course
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Cynthia
Any learning guide to GraphQl with django
Use graphene Django documentation and may be YouTube tutorial
Chandru
How to use django in visual studio code ? What are the steps need to follow ??
Doragonsureiyā
How to use django in visual studio code ? What are the steps need to follow ??
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Ankita
Can some one suggest a good tutorial for api using django?
Ankita
Want to make a chatbot api..
Doragonsureiyā
Can some one suggest a good tutorial for api using django?
Are you looking for Django REST Framework documentation? Here you have it: https://www.django-rest-framework.org/
Ankita
Yes
Ankita
Thanks
omurzhanov
Hi, do I need to know Django in order to learn Rest framework? By the way, is there any companies uses DTL in real projects? If not, why I have to learn django templates?
Swati
Hi. Can anyone help me with sharing of uploaded files in django??
..
Hi. Can anyone help me with sharing of uploaded files in django??
What do mean my sharing? Could you please elaborate
Swati
Actually,I am making a website where users can sign up and upload their files . I want to add this feature of sharing files between two authenticated users. So how to do that?
M?
Hello!
Morteza
Actually,I am making a website where users can sign up and upload their files . I want to add this feature of sharing files between two authenticated users. So how to do that?
a simple solution should be this. you can add a sender and reciever field which have foreign key relation with the user
Morteza
Want to make a chatbot api..
check just django channel in youtube
Vivian Alexander
Quick question (I dunno if it's possible) can I make django return a specific http error when a user clicks on a link? I'd like to return http error 418 as a joke
Charly
Or just Google how to send a custom HTTP code from a view in Django
Vivian Alexander
Alright
Charly
Not for me, read carefully I didn't asked it
Naveen
Hi guys am using Knox authentication when user login it gives token and using these token user can logout . In these scenario am passing token I header it show authentication credentials were not provided
Naveen
In production server
Naveen
Local server it's works
Mahendra
Hi all , I know implementation to website by using html,CSS, JavaScript,python, Django,MySql,Rest api but can't understand how to learn Machine leaning and how to implement in Django ? Please anyone know help me
McLean
Hie guys how can i create a like/dislike button
Phanee
Then you can use the pickle files to use your models in the backend
Phanee
Mahendra
karthik
I am getting operational error no such table found can any help me in this
Doragonsureiyā
I am getting operational error no such table found can any help me in this
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase
karthik
I had done that
Mahendra
As well as use migration command
.
Hi!! I'm facing a issue while creating a task manager application where there are two interfaces, the employee and the manager. The manager assigns the task to the employees and the employees can see the tasks assigned to him/her and can mark it as done if it's done. But I am facing an issue while creating the login . I created two models ,one for the employee and another for the manager. If I use the default django auth config, I can create a login for just one(either the manager or employee) any solutions for this??? What am I doing wrong? How can I use the django's auth for two different logins( employees and managers) in a same webpage??
cr
Anyone can help how can i retain selected value after submit im Django forms
Patrick
Hi, I have an app rendering a calendar. I want to include separately a form. Currently the form render correctly if it's called alone. Until now, I didn't manage to include the form into the main page with the calendar. The code. How can I include dialog.html (which contains the form) in base.html? Thank you in advance!
Doragonsureiyā
Anyone can help how can i retain selected value after submit im Django forms
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Akash
How to make views for two different image uploading frm html
Piyush
I had done that
I think you misspelt your model name in views
Piyush
How to make views for two different image uploading frm html
why are you make two different , you can handle it in a single view by name attribute in html forms
Sergey
Hello all, I use bulk_sync for massive create, delete, update operations with model, and with one of it I get next (even if i change nothing): django.db.utils.NotSupportedError: FOR UPDATE cannot be applied to the nullable side of an outer join So what can i do and maybe someone meet same problem?
Semon
Hi, i want to know why it gives me that error while running admin page
Patrick
What sort of error do you get?
Semon
'set' object is not reversable
Doragonsureiyā
Hi, i want to know why it gives me that error while running admin page
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase
Alex
'set' object is not reversable
most probably because you're trying to do something like reversed({1,2,3}) in your code.
Semon
most probably because you're trying to do something like reversed({1,2,3}) in your code.
i think so becouse when useing urls for admin page only it runs but how can i add more than ane urls without that error
Semon
urlpatterns = [ path('admin/', admin.site.urls), path('icgr/', include('icgr.urls')), path('cgr/', include('cgr.urls')), path('patternMatching/',include('patternMatching.urls')) ]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Semon
urlpatterns = [ path('admin/', admin.site.urls), ]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Tony
Does anybody know where I can find a tutorial or repository where I can have an interface in Django to add/remove a button for each variable (feature) on a ML project? In other words, is it possible to have an interface where users decide to add/remove any feature (variable) from a ML estimation?
Christof
does it happen in a real terminal?
Doragonsureiyā
does it happen in a real terminal?
What are you talking about?
Ali Hasan
hello everyone , I have a quick question. I have a model let's say as documentation example , pizza and toppings , they have a manytomany relationship. my case is , if I want the combination of these two (their record in the additional many-to-many table) to be referenced in another model. let's say a restaurant for the sake of this example. So: ``` Topping MODEL has: id name Pizza MODEL has: id name toppings as M2M field to Topping Restaurant MODEL has: id pizza-topping-id #other details ``` the pizza-topping-id field is the field that matches or references a record in the additional m2m table , how can i query or access that ? is it better to just make a Model myself with 2 foriegn keys and build this table myself instead of m2m field or what ? thanks in advance.
S
How's the course of Django REST API on Udemy by Shubham Sarda? Has anyone experienced?
Hirbod;
I want upload 3 image so how i can make view
If your uploading both of them in one html template then there is no need for 2 views
Akash
But when i make one views function that time occurred error that is multi dict value and no attribute.