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
Amir.M
Same place you are running manage.py comand try 'pip freeze' to see django is there
The problem was solved,. I was using the python -m venv command and this was happening, I went into the settings and created a virtual environment in the interpreter and I no longer get the error, can you tell me why this is?
Amir.M
I sometimes experience this when i have multiple python on my system and some their paths are not exposed
I'm very sorry, I'm a newbie and I want to move my Django projects from one system to another, what are the ways?, I've done it with githop but I've also heard about docker
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?
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
Pritiranjan
tyep error object of type builtin_or_method is not JSoN serialisable
First check whether ur passing a object instead of json if yes then convert it to json
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
I'm very sorry, I'm a newbie and I want to move my Django projects from one system to another, what are the ways?, I've done it with githop but I've also heard about docker
Github is a distributed version control system, used for storing your code changes over cloud, which you register yousing git itself. Docker is for deploying your project to your server.
Total
How can i redirect from one page to another by button
Make the button a link and add the url in the href.
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
🄿🄷🄾🄴🄽🄸🅇
I wanna be back end developer but I'm confused between nodejs and Django please help me
If you already knew js, i recommend you learn node js, because you can become a fullstack developer easier, for example after node, you can learn react for front
ᗰEᕼᖇᗩᑎ ᖇᗩᕼᗰᗩᑎI
I'm beginner and my goal is to get job offer for 3 years later
...
please tell me django template formatter
Rajat
How can i redirect from one page to another by button
Hi , If you are getting any issues with python django development feel free to connect with me via dm or telegram call
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
Rose
Anyone working on image reverse search engine
This is not a Python specific question, please delete your offtopic message, move to @PythonOfftopic and ask there.
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
X_ShaygaN_D
Yeah of course I like it and have a lot of passion even I can't get a job offer but in your mind which is better for future someone say's python does not made for web or node js is hard ...
The sentence "Python is not for web" is very old and since, Django has advanced alot. But every language has it's cons and pros. Truth is you're not gonna stay fixed with one, finding new jobs could mean learning new frameworks and you can't avoid that, so you're gonna learn many so start with the one you like more.
ᗰ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.
Brook
Ummm can I learn Ai and use it in backend development? Is that useful?
I think that's a great idea. May be first implement machine learning tools and libraries. Before going to advanced stuff.
X_ShaygaN_D
Ummm can I learn Ai and use it in backend development? Is that useful?
On that you have to research, it's not easy to take both at the same time since both are equally complex.
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]
Rose
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.
This is not a Django specific question, please delete your offtopic message. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
Ethiopia❨ከፍነው❩
Hey guys i am GC and i do my final project in face recognition attendance management system. Is there some body help me
Ethiopia❨ከፍነው❩
Maxim
I try to do the interface
then describe a specific Django-related problem, for help is provided here in the group
Ethiopia❨ከፍነው❩
Rose
Ok, i try to do home page.iy doesnot execute properly
Read this please: http://catb.org/~esr/faqs/smart-questions.html#intro
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
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
So, is it possible to define common fields for both student and teachers like (fname,lname,age) in user model to remove duplication?
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
hi, can you recommend me some good django repo in github?
Tons: https://github.com/topics/django-project
U+2063
Tons: https://github.com/topics/django-project
because there are tons of repo it can be difficult to find one with good practice so i ask to recommend the best one
Charly
because there are tons of repo it can be difficult to find one with good practice so i ask to recommend the best one
Is impossible to recommend the best one, that simply doesn't exist. The ones you can see on the link are good because are being used and are popular, don't hesitate to take a look.
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
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
Documentation is best! And there are many youtube channels which will teach you django to intermediate level