Amir.M
My friends, I have a project in GitHub, I cloned this project in the main project folder with Git and then created a virtual environment and activated it and installed the requirements, but it gives an error when executing the python manager.py runserver command. . Either Django is not installed or the virtual environment is not activated
ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment
ford
ford
Amir.M
ford
Nushh
Hi guys, I'm working on an ocr project on my local host. The framework I'm using is django. My server is stuck at "performing system checks...."
in my command prompt and upon check the inspect, the console gives typeError: cannot read properties of null.
How should I fix this error so that my server could work?
Pablo
Juan del
Hello, where can I find an online payments course using django?
Python Py 🇮🇳
Deepak
How to fix csrf token issue in drf
Deepak
In url I added as-view() but not working
Software
tyep error object of type builtin_or_method is not JSoN serialisable
Software
Sachu S
Hello,
I need assistance with encrypting Django source code for deployment on a production server. Is this feasible?
Pritiranjan
Na
Ethiopia❨ከፍነው❩
How can i redirect from one page to another by button
Amir Y.
Hey there ppl
I am a beginner in django and i wanted some resources to learn about all the details about django and also share some youtube videos please🙏
Natalia
I'm beginner too 😁 We can do a small study group 🤔🤗
X_ShaygaN_D
How can i redirect from one page to another by button
To these kinds of base questions, you can find an answer in less than 15 seconds using google.
However posting them here won't help you because most people aren't willing to spend the time to answer such questions, here is for more complex questions and this is not Django related.
ᗰEᕼᖇᗩᑎ ᖇᗩᕼᗰᗩᑎI
I wanna be back end developer but I'm confused between nodejs and Django please help me
X_ShaygaN_D
Total
Ethiopia❨ከፍነው❩
Ethiopia❨ከፍነው❩
py
I have created a custom user model and two other models, 'Student' and 'Tutor'. These two models inherit common fields from the custom user model. I have configured the settings with AUTH_USER_MODEL = 'base.Tutor'. When I register a student or tutor, their information is stored successfully. However, when I try to log in as a student, it displays an error message stating that the password or username is incorrect. Strangely, I can log in as a tutor. The logic used in the models, forms, and views is the same for both, so I'm unsure why I can register a student but can't log in. Help me please
ᗰEᕼᖇᗩᑎ ᖇᗩᕼᗰᗩᑎI
ᗰEᕼᖇᗩᑎ ᖇᗩᕼᗰᗩᑎI
I'm beginner and my goal is to get job offer for 3 years later
...
please tell me django template formatter
Jithie
While using modelviewset, is it possible to override responses ?
I need to make validation error message inside 'message' key.
Irakoze
Anyone working on image reverse search engine
Eli
Sowmya
I have a table on website that table was created using context values i.e. {{value1}} I want to create a database with this table. Is it possible?
Jj
Hi i am trying do deploy an example of djando on google cloud platform, i have some issues, now i'm trying with this tutorial https://testdriven.io/blog/django-gae/ but when i deploy the app i have the error 502 bad gateway, some now hoe to fix that problem or some tutorial to deploy django on gcp?
Pydeveloper
I have one question how to make CRUD operation in django
.
TonFutures 💎
Hello friends
I have a question
I am going to use jwt token
the problem is token on the client side must be saved somewhere so that it can be included in the header with every request and sent to the server.
I don't know where to save it If it is stored in a cookie, the problem of csrf will arise and they can be hacked If I put it in local storage, they can easily capture the token with xss
Now I'm confused where to save it
Rose
please tell me django template formatter
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.
X_ShaygaN_D
I'm beginner and my goal is to get job offer for 3 years later
You should first know if you really want to become a software engineer or not, don't chase it if you just think "it's cool" or "it pays alot".
Like any other profession, it needs a lot of passion and effort, which you need to put ij for long times, that is if you really love programming and have the ability to code.
But if you're just a beginner, for starters you should look at the syntaxes of both frameworks and see which one you like more, and then start with that.
Later if you keep continuing, you will learn the other one anywaysm
ᗰEᕼᖇᗩᑎ ᖇᗩᕼᗰᗩᑎI
ᗰEᕼᖇᗩᑎ ᖇᗩᕼᗰᗩᑎI
Thanks a lot and now I wanna learn Python and then Django
ᗰEᕼᖇᗩᑎ ᖇᗩᕼᗰᗩᑎI
Ummm can I learn Ai and use it in backend development? Is that useful?
Tareem
Hello, I want a course that teaches me the complete login and signup process, including email verification, using the Django framework.
i.askari
Hello, I have a problem about the file htaccess I had and for me
No such application (or application not configured) "project"
The received data is wrong. Contact support for resolution.
i.askari
RewriteEngine On
# Redirect from www to non-www and from HTTP to HTTPS
RewriteCond %{HTTP_HOST} ^www\.project-askari\.ir [NC,OR]
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://project-askari.ir/$1 [L,R=301]
Ethiopia❨ከፍነው❩
Hey guys i am GC and i do my final project in face recognition attendance management system. Is there some body help me
Maxim
Ethiopia❨ከፍነው❩
Ethiopia❨ከፍነው❩
Maxim
Ariyo
py
I want how to handle multiple user types in a Django application where users have different functionalities. Let say student and teacher. They can have common field as well as specific fields to them.
So, how do I create a model for such kinds of things any, clue please?
Nerd
I will suggest three tables
Students, Parents, User
and you set user in Students and Parents
so in that case the have a common table but can have further more info
py
Nerd
yes or possibly you can use Inheritance
so
Class Studentt(CommonFieldClass):
Class Parent(CommonFieldClass):
Nerd
it will inherit from it
U+2063
hi, can you recommend me some good django repo in github?
Charly
U+2063
Abhinand
Any documents for implementing django- react live chat
Life
My friend got a backdoor job in Django now his looking offline support in hyd location can any one help with them to support
Amir
Hello guys, I'm a beginner.
Any one can help me to find a complete resource for django?
If possible, it should be a book
Anonymous
Hello guys, I'm a beginner.
Any one can help me to find a complete resource for django?
If possible, it should be a book
1. "Django for Beginners" by William S. Vincent: This book provides a step-by-step guide to building web applications with Django, starting from the basics and gradually progressing to more advanced topics.
2. "Django 3 By Example" by Antonio Mele: This book teaches Django by example, with practical projects that cover various aspects of web development using Django.
3. "Learning Django Web Development" by Sanjeev Jaiswal: This book covers Django fundamentals along with best practices for building web applications, making it suitable for beginners.
4. "Python Crash Course" by Eric Matthes: While not solely focused on Django, this book is an excellent resource for beginners to learn Python, which is essential for Django development. It includes projects that can be integrated with Django later on.
5. "Two Scoops of Django 3.x" by Daniel Roy Greenfeld and Audrey Roy Greenfeld: This book offers best practices, tips, and techniques for Django development, which can be beneficial for beginners once they have a basic understanding of Django concepts.
Priyanshu Pratap
Amir
Amir
Anonymous