Anonymous
Roles Superuser/Admin Role  Add/Edit/View Personal Info, All Department Employee Info and Department Head Info Department Head Role  Add/Edit/View Personal Info, Employee Info of Authorized Department(His/Her Own Department) Employee Role  Add/Edit/View His/Her Personal Info  Can only view Employee Info of Authorized Department(His/Her Own Department)
Anonymous
plsease some one help me
Anonymous
some idea
Anonymous
please
Anonymous
Django restframework
Praveen
can anyone suggest me to cretae DeleteView
Saint
Good afternoon, how to connect the file correctly css in html template (Django)
Pulkit
can anyone suggest me to cretae DeleteView
class viewName(DeleteView): model = modelName success_url = '/'
Praveen
Saint
static files
I tried, but for some reason on "/static/style.css" - 404 error
Saint
static files
or can you send me an article, please
Faraday
How many models should be there is a school management system?
Anonymous
💗
Alex
How many models should be there is a school management system?
The question is pointless. You should create as much tables/models as you need and as required by the problem.
Cynthia
How many models should be there is a school management system?
Depends on the information want from the school
All in All
Why my urls are repeating I.e /register/register
All in All
Why my urls are repeating I.e /register/register
Only /register exist in urls.py but how /register/register works
kam
why adding views.py does not recognize rest_framework though in any other file it does. If i rename my views.py, say, to view.py it immediately recognizes the import. What's the problem
kam
Can anyone answer?
check urls.py and change /register to something else. You are refering to an app register maybe and have in urls.py something with register/ in urls
All in All
check urls.py and change /register to something else. You are refering to an app register maybe and have in urls.py something with register/ in urls
It happens with every url like I.e home/home About/about Contact/conatct These urls doesn’t exist Only / contact exist.
All in All
It happens with every url like I.e home/home About/about Contact/conatct These urls doesn’t exist Only / contact exist.
contact/ items/ items/fast-food about/ test/ login/ [name='login'] register/ [name='register'] admin/ contact/ items/fast-food items/ about/ test/ login/ register/ register/ contact/ register/ items/ register/ items/fast-food register/ about/ register/ test/ register/ login/ [name='login'] register/ register/ [name='register']
kam
if they are rendering, you have messed up in urls.py, if they are not, then you have messed up in your templates. Just take a second look, one by one
ꪉꫝꪖꪹᦋꪖꪜ
How to import view from another app?
kuzmich
How to import view from another app?
I'd suggest you to learn Python basics in the first place before diving into any framework
Anshu
How to import view from another app?
Just as normal Python imports
Muhammadjon
How to import view from another app?
from app_name import views
Jaykumar
How to add thumb impression option in form
Almaz
Hello, everyone! Is it possible to make number increase, discrease and delete number button by using only Django without other programming languages?
cj
Hello, everyone! Is it possible to make number increase, discrease and delete number button by using only Django without other programming languages?
Django is not a programming language... it's a framework to build web applications, and you usually use it along with JavaScript (that's a programming language) in the front-end, so depends on what you really want to do, you can use just Django (with some HTML to interact with) and no JS at all
Almaz
Django is not a programming language... it's a framework to build web applications, and you usually use it along with JavaScript (that's a programming language) in the front-end, so depends on what you really want to do, you can use just Django (with some HTML to interact with) and no JS at all
Oh, yes, it is a framework. I wanna create shopping cart and now i learn how to create button to increase, discrease the amount of items in the cart and also remove the item from cart. Can i create such button only by django and without Javascript? Or in that case i should use JavaScript?
Alex
Oh, yes, it is a framework. I wanna create shopping cart and now i learn how to create button to increase, discrease the amount of items in the cart and also remove the item from cart. Can i create such button only by django and without Javascript? Or in that case i should use JavaScript?
Django is not a programming language. It's a framework. To programm smt you need sort of language to do so. Like python or js. You could create an entire eshope with bare html and python, but that probably will be inconvenient for a user. To add a bit of dynamism you probably will want to use js for ajax requests.
Mohammed
Any one can help me ?
Mohammed
In my project
Doragonsureiyā
Any one can help me ?
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
Mohammed
I am working on a stocks management project, but I faced a problem with user management. That is, I want to have 3 types of users The first type are the superusers who have all permissions As for the second type, they are managers working in certain stores who have all the powers of a specific stock located in a particular area. As for the third type, they are the simple sellers who work in certain stores and can only sell
Mohammed
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
I am working on a stocks management project, but I faced a problem with user management. That is, I want to have 3 types of users The first type are the superusers who have all permissions As for the second type, they are managers working in certain stores who have all the powers of a specific stock located in a particular area. As for the third type, they are the simple sellers who work in certain stores and can only sell
Mohammed
And I work on django framework
Mohammed
And whats the issue with your requirement?
The problem is that each manager must show him what he has entered ie he cannot see the entries of the other managers . And the seller can only see what is in the place where he works, i.e. the entrance from his manager.
Mohammed
I tried a lot, but I couldn't do it
Mohammed
Every time I have problems
Charly
Can be also acomplished with Django groups
Mohammed
Can be also acomplished with Django groups
And this is the first time I'm working on Django, which means I'm still a beginner and it hides from me or I don't know many of the features of Django.
Charly
?
Rasearch about django groups
Mohammed
Ok
Alex
Yes
also, check this out https://github.com/django-guardian/django-guardian
Muhamedou
Any help please 🙏 😢 https://stackoverflow.com/q/69137308/12955152
Sloth
Damn this group is a mess compared to other technology groups, questions are not framed appropriately, people dont even know what they want some consider django as a language... Is there any way we can make this group a better place
Manish
Hi everyone, what is best way to use Django DB Pooling for MySQL.
Sloth
Man😂
Maxim
Unlocking the Meaning of Random Terms
Charanjit Singh
Hi I am working on online education website. Where users can purchase online courses. I have integrated payment gateway as well. On the successful payment on the button click I want to change buy button to already purchased. How could I achieve this
Muhammed
Django admin inline instances only if they exist....... Did anyone know to do it?
Charanjit Singh
Alex
Hi everyone, what is best way to use Django DB Pooling for MySQL.
why do you want to use connection pooling with django at all?
Nani
Hallo, How I can get static folder ?
Maxim
Hallo, How I can get static folder ?
google django get static folder
Nani
I didn’t it find 🥲
Nani
google django get static folder
Can you send me? Please ☺️
Doragonsureiyā
Can you send me? Please ☺️
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Nani
Okay , thanks
Maxim
sarcasm?
Muhammed
You want one form inside another form correct
Can i message you private? Let me explain my issue
Suhaib_0.0
Can you help me? When I add a field to a field customer It's not working properly.