Charly
Can someone send a link of a Django website created so I can see how it looks?
A Django website would look like any website you can find, the look and feel is something that you manage with css which is universal to any framework
Charly
Some people say the front end ain't too interactive
Django is not a fronted framework you can use it with any frontend framework to make it work as you desire
Anonymous
Django is not a fronted framework you can use it with any frontend framework to make it work as you desire
Yes I know but people do say website created with django the front end part ain't too interactive but the backend part is so good
.
Yes I know but people do say website created with django the front end part ain't too interactive but the backend part is so good
Of course, because Django is a framework for backend. If you need a very interactive frontend or some specific feature you may want to use a library like react, htmx or any other.
.
suppose an user registers or any event ooccurs then i want to send an in app notification how can i achieve this?
You can use signals or celery to execute tasks when a event such as user registration occurs.
ishaan
I have a model which has 15+ fields so horizontal scrolling comes in admin, l want to add a view button for each coloumn which will show all fields of that column as popup, for overview
ishaan
any suggestions how to do it, simple way
Kannan
Create a Django model - scenario is 1. Account has multiple users( multiple accounts are there each account having multiple users) 2. account manager has multiple support engineers( account belongs to account manager) 3.account manager has many with account 4.if issue is created un Portal it will go to account manager he will allocate issue to support engineer and in issue we have account id and enail id of the client who raised issue ms and add some fields like date of issue created priority of the issue status and very important note issue is allocated by account manager to support engineer not by issue 5. Status are request recieved request processing request completed and request acknowledge - create a model for this and understand it well for i need to submit this to manager
Kannan
This is the scenario anybody help me to create model
Kannan
Okay
Kannan
This is correct or not for the above assessment
Kannan
https://dpaste.org/xRw6O
𝓚!4𝓝
Hi everyone Do you know any great course/tutorial for django-channels?
Doragonsureiyā
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.
Bek
Uzbeklar bormi
Doragonsureiyā
Uzbeklar bormi
Python groups in other languages (⚠️Not managed by us ‼️) Amharic @python_amharic Arabic @arabipython Azerbaijani @azepug Chinese @pythonzh French @python_francais German @pythonde Hebrew @pythonisrael Hindi @pyhindi_ot Tamil @pythontamilcommunity Indonesian @pythonid Italian @python_ita @pythonita Kazakh @python_kz Malaysia @pythonmalaysia Persian @pyfarsi Portuguese @pythonbr Russian @ru_python_beginners @ru_python @python_scripts Spanish @PythonEsp Swahili @python_eafrica Turkish @python_tr Uzbek @python_uz If you have an active and well managed group that you want to be listed there, ask in the Meta group, link in the rules page.
kim
I'm trying to make backend for a dropdown that has different categories of homes such that admin can add from backend but facing a challenge on directing to a specific category so that it can be accessible from backend. Any heads up on how to do it?
clouded
kezmanye has been muted for 1 hour: Sharing other groups or channels not allowed!
MR Nemo
Hi Friends✋ I am new in django, i have a problem with AJAX that dose not send data to its view.(i print something in its view but dose not print anything) i will send pictures of my codes.
Doragonsureiyā
Hi Friends✋ I am new in django, i have a problem with AJAX that dose not send data to its view.(i print something in its view but dose not print anything) i will send pictures of my codes.
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://dpaste.org, https://hastebin.com, https://bin.kv2.dev or your favorite one!
Charly
So... Has Anyone have this problem yet?
Show your code or it will be impossible to help
Charly
Then i have to send pics
No pics, code is text, we told you how to send code here
dr.Ibrahim
I searched a lot for Django job opportunities, but I did not find whether it would be good for Odoo
dr.Ibrahim
Both Use python ?
Charly
Both Use python ?
Still nothing to do
Yagi
Using ORM how do you query all models (tables)?
Yagi
I wanna all_models_here.objects.all()
Charly
Using ORM how do you query all models (tables)?
You can't you need to query each table
Yagi
Is there a way of listing all tables using ORM
Yagi
for a for loop
clouded
Is there a way of listing all tables using ORM
Yes, but the way you ask that it, is unlikely you will be able to do something meaningful in that loop.
Yagi
how do you do it ?
clouded
how do you do it ?
For table in tables.
Charly
Is there a way of listing all tables using ORM
I mean, don't you know what models you have? Are you going to query other tables like the migrations and auth?
Yagi
I do but I'll be importing them all at once, it's more then 10 tables
Yagi
I wanna be able to fetch all table names
Charly
I do but I'll be importing them all at once, it's more then 10 tables
Yes, but you are not charged by imports or something
Charly
I don't see the issue
Charly
I wanna be able to fetch all table names
And the migrations table and the auth tables?
Charly
wym by charged?
That you don't need to pay to import something, doing it ,10 times is not an issue
Yagi
so it possible to fetch all tables using orm or not?
Yagi
and if so how do you do it
clouded
clouded
Why do you want to do that?
Gotila
Can anyone tell me that when i fetch data from admin panel using for loop it show some details of data but i want that data list in different card form
KAKASHI
hello my friends im creating an blog but there is some issue i wrote the models but when i want to migrate them i get these error I cant do anything https://dpaste.org/UdQyC#L41
Mamad
sqlite3.IntegrityError: UNIQUE constraint failed: new__app_blog.slug
either fix the unique constraint or remove the contraint and recreate the migration file depending on your project
OG
I've a list of 25 django projects to do as begginer. It's not like all 25 completely different projects but further projects connected to previous ones, by integrating functionality.Got it from gpt can I post here?
KAKASHI
sqlite3.IntegrityError: UNIQUE constraint failed: new__app_blog.slug
It's late sir I've deleted the database 😂
Text
I learned the basics of Django, but I cannot develop a project on my own yet, how can I proceed?
Mamad
It's late sir I've deleted the database 😂
well i mean that works as well 😬
Kannan
I created a model. Now what i need to do is create an issue(model) for this model without using forms and views. And using api . What i need to do ?
Habib
Please
By Starting to create one. Just start doing it...
OG
for what purpose?
To know if they're worth doing?
OG
I learned the basics of Django, but I cannot develop a project on my own yet, how can I proceed?
Watch a tutorial of end to end app development, make first one by seeing then make by your own.
Doragonsureiyā
I learned the basics of Django, but I cannot develop a project on my own yet, how can I proceed?
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Wolf
Hello everyone, I am currently facing a problem with django deployment on ubuntu server. User session is not properly stored on the server. Please any help?
anrays
hello guys i have problem when deploy Django on vps
anrays
so?
i can't fix static file and media ?
Human
Hey anyone please suggest me best YouTube for Django Rest Api
ishaan
if anyone need helps in django project, I am available to help. Not a pro, but still I will try me best
Charly
if anyone need helps in django project, I am available to help. Not a pro, but still I will try me best
Help here. No need to announce it. We don't allow people to offer private consulting here.
Doragonsureiyā
i can't fix static file and media ?
Impossible to help without details. Read this please: http://www.catb.org/~esr/faqs/smart-questions.html
Michael the wolf 🐺
Hi Guys, for migrations across different environments with same code, does it usually have different migration folder for each environment?