Doragonsureiyā
Django how to make keyword research ?seo
Adding the word Django to your Off-Topic question doesn't magically turn it to a Django related question, so delete your question here and move to the @PythonOfftopic group and ask there.
Habib
Using htmx with Django sign up I was render partials/signupform for the validation errors And it works but on successful registration I want it to redirect to dashboard...but due to htmx it is still treating as a partial.html
Habib
https://django-htmx.readthedocs.io/en/latest/middleware.html
Thank you. Yeah I did found the solution The exact solution for me was HttpResponseClientRedirect()
Dreamer
Is there any tutorial or guide for hosting django project in Azure cloud server using Nginx
FORTUNATE
I want to design a vtu website like Fortunatesubapi.com using Django. Any tutorials video ? Any one who can help ?
Fred
Hello, how are you? I had a question, now I have a View written through a class. I'm running my own functions when I get is_valid by holding the data through the form. And at the end I will attach the pdf file to the response. The code is working well, but the situation is unclear, and it is not possible to know whether the function is working or not in the frontend part. I have now made a separate view, in which I have placed animation "loading..." with text. I am redirecting the form data from the first view to the second loading... view through the session, but the problem is that all the functions I set in the second view are executed, then the loading... page is rendered, so it is not rendered before it is rendered. be given
Wanda
I hate sql language but I build projects using django orm but in interview they ask sql but I hate it. What should I do?
Wanda
Means I have to learn sql🙂
𖥚‌▸▹𝐑𝐓𝐒 🎴🍁 ꯭‌|‌⃟🏴
I am a python developer who just learnt some flask but want to create a complex e-commerce website do where can I learn Django from?
Doragonsureiyā
I am a python developer who just learnt some flask but want to create a complex e-commerce website do where can I learn Django from?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
ing Christian Nou
*I have to build an api using django an api having the same and exact functionalities as that of twiter or facebook i need resources like books or step by step tuto helping me to do that please *please
Shubhtiwarii
From django.utils import baseconv Import error cannot import baseconv from django.utils
Shubhtiwarii
How to solve this error
Charly
From django.utils import baseconv Import error cannot import baseconv from django.utils
You are following old documentation or tutorial. What exactly are you trying to do?
Shubhtiwarii
I have one health management application when I run I got this error
Charly
I have one health management application when I run I got this error
Yes but I mean where specifically are you doing to get that error why are you importing that module
clouded
I have one health management application when I run I got this error
Then you're running it with the wrong Django version.
ishaan
Then you're running it with the wrong Django version.
yes, this module has issues with django 5 versions
Shubhtiwarii
Ok
Nerd
Food for thought Can we do django full stack without JavaScript 🧐? If anyone one has done it before let me know how you do it😊
Nerd
😂😂 i know right I think throughout my experience in Web and App dev there is always some bit of JavaScript
Nerd
What do you think full stack means?
Frontend + Backend, with a simple tkinter gui, you can develop app for Desktop no JavaScript Am curios about web
Nerd
yeah
How do you achieve interactivity with JavaScript, because if you are going by Ajax, it JavaScript
Nerd
Fulkstack is web only
No we can have App Full stack too, like Flutter is full stack but react native is not
Nerd
I don’t think so, because you might want to handle on click, and other events, how do you get those 😊
Nerd
Yh am just curious maybe it possible, I haven’t thought of a solution
Alex
Fulkstack is web only
nope,most server client architecture is full stack
Nerd
I do understand, that when you are handling incoming and outgoing events But something like a dropdown (all in app events), needs some level of js
Charly
nope,most server client architecture is full stack
In this context (a web development group) it is
clouded
that is extra(or I say specific) feature, a fullstack can exist without javascript.
Go ahead, call yourself full-stack developer and when they ask, tell them a) you don't refer to web development or b) that you don't know JavaScript.
Juanma
Hello friends Does anyone know how to create the "Remember Me" or "Stay Sign In" functionality in Django? I tried to do it with Cookies, obviously by configuring settings.py but my session always stays active until I logout.
Mohammad Hossein
That's exactly what "Stay Sign in" means
Isn't that implemented by default in Djnago?
Juanma
That's exactly what "Stay Sign in" means
I have not made myself clear. The functionality is optional, and even if I select in my form that I do not want to remain logged in, I remain active.
Juanma
Isn't that implemented by default in Djnago?
Yes, that's why I want it to be optional, because I don't want accounts to remain logged in forever.
Mustafa
Hi everyone I am currently learning Django I have basic knowledge of structure and I want to built projects but I can't get confidence to start can you suggest me toturial of GitHub repo so I can built projects and gain confidence
Alex
Go ahead, call yourself full-stack developer and when they ask, tell them a) you don't refer to web development or b) that you don't know JavaScript.
That's people own interpretation and reflection of their knowledge. If a non technical person call you for help with linux, you know they are talking about OS but if hypothetically linus Torvalds call you for help with linux it will surely mean the kernel. Even though it is well accepted and referred as OS, linux != OS, I wouldn't have gone for sheer technicality if that question of @Nerd_Fai wasn't "food for thought"
Jansen
Any recommend course for beginner django?
Doragonsureiyā
Any recommend course for beginner django?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
clouded
That's people own interpretation and reflection of their knowledge. If a non technical person call you for help with linux, you know they are talking about OS but if hypothetically linus Torvalds call you for help with linux it will surely mean the kernel. Even though it is well accepted and referred as OS, linux != OS, I wouldn't have gone for sheer technicality if that question of @Nerd_Fai wasn't "food for thought"
While you're right on the Linux part, if we stick to sheer technicality, we must admit that not every client server architecture can be considered full stack. It is the knowledge and ability to work on both ends, including all other necessary knowledge like DBMS, version control systems, an understanding of security, hosting environments, etc.
clouded
> linux != OS Nice joke 😂😂😂
Technically Linux is the operating system kernel. What makes it a full operating system is what distributions do with the kernel.
clouded
We have a group for those kind of dicussions: @pythonofftopic (including the one I continued with).
One Piece Is Real
class Customer(models.Model): customer=models.OneToOneField(User,on_delete=models.CASCADE) is_customer=models.BooleanField(default=True) phone=models.CharField(max_length=10,null=True) address=models.TextField(null=True) def __str__(self): return self.customer.username class Worker(models.Model): worker=models.OneToOneField(User,on_delete=models.CASCADE,null=True) is_customer=models.BooleanField(default=False) salary=models.BigIntegerField(null=True) worker_type=models.CharField(max_length=10,null=True) name=models.CharField(max_length=250,null=True) img=models.ImageField(upload_to="pics",blank=True,null=True) I have two type of users worker and customer how to prevent worker from accessing customer pages like customer dashboard and vice versa
At
Using django or django rest framework
ishaan
is there any proper course for django which covers max concepts, if not all
Doragonsureiyā
is there any proper course for django which covers max concepts, if not all
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
At
Django
If you are building using django then you cannot use the permission class
The Inspired
I have a basic question, How to learn these extra concepts
This are not django-specific concepts... These are general API concepts
The Inspired
you can learn them from any general API course on youtube
Itctli
Hello everyone, I have an iPad and I want to create a local server, the Pyto program, but I can't do anything. I create a project folder, then go to the folder I created, and then create a local server Gives : TypeError: argument must be an int, or have a fileno() method.
Nima
Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings
Nima
what is this?