Zelalem
how to develope django website first->backend then, frontend can I
Zelalem
Your question is not clear
can I first developing the backend (server side logic) with out start the frontend(client side logic)
Markus
hi, guys, do you know how create seed for db with images or files?
(⌐■-■)
set url in urls.py
Fixed it. Thanks
Никита
Со мной в переписке,ты попадёшь в настоящий мир Кайфа,пошлые разговоры Фото,💋 Видео,❤️ Видео звонок,💋 На заказ,❤️ Реал докажу Пробник скину 3 фото ❤️ Оплата вперёд Халявчики, не пишите❤️❤️❤️
Abdulloh
Hey, admin where you looking at? Ban those ads!
Mirco
Hey, admin where you looking at? Ban those ads!
Be civil, admins are normal people that maybe don't spend their whole time on the phone It will be banned for sure as soon as they can So if you wanna avoid a warning, be civil and respectful
All
pip install django Requirement already satisfied: django in c:\users\pallavi\appdata\local\programs\python\python312\lib\site-packages (5.0.2) Requirement already satisfied: asgiref<4,>=3.7.0 in c:\users\pallavi\appdata\local\programs\python\python312\lib\site-packages (from django) (3.7.2) Requirement already satisfied: sqlparse>=0.3.1 in c:\users\pallavi\appdata\local\programs\python\python312\lib\site-packages (from django) (0.4.4) Requirement already satisfied: tzdata in c:\users\pallavi\appdata\local\programs\python\python312\lib\site-packages (from django) (2023.4) PS C:\Users\PALLAVI> django --version django : The term 'django' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + django --version + ~~ + CategoryInfo : ObjectNotFound: (django:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
All
Someone help please
~𝙰𝚋𝚍𝚞𝚛𝚊𝚡𝚖𝚘𝚗
Someone help please
If you wanna see your Django version use "pip freeze"
~𝙰𝚋𝚍𝚞𝚛𝚊𝚡𝚖𝚘𝚗
But you already have Django
All
I see.
All
You know I was making a form, and I was getting yellow line below django
All
Yellow line below django and form in --> from django import form. Eh I think I have to figure this out.
Rose
User №1🖤 has 1/3 warnings; be careful! Reason: useless hello
All
Then check your import .
It still has the yellow line but it's working now. :')
~𝙰𝚋𝚍𝚞𝚛𝚊𝚡𝚖𝚘𝚗
Siva
No installed app with label 'myapp'
Siva
This problem arises when i give makemigrations
Siva
Any solution for this ?....help me plz
~𝙰𝚋𝚍𝚞𝚛𝚊𝚡𝚖𝚘𝚗
No installed app with label 'myapp'
You need to add your app to INSTALLED_APPS in django settings
All
Can you share these lines ?
The yellow lines are below everywhere wherever django is mentioned
~𝙰𝚋𝚍𝚞𝚛𝚊𝚡𝚖𝚘𝚗
~𝙰𝚋𝚍𝚞𝚛𝚊𝚡𝚖𝚘𝚗
1) Check you venv. Is there django 2) check your IDE if you're using
~𝙰𝚋𝚍𝚞𝚛𝚊𝚡𝚖𝚘𝚗
Ok thank you
Abdulloh
Be civil, admins are normal people that maybe don't spend their whole time on the phone It will be banned for sure as soon as they can So if you wanna avoid a warning, be civil and respectful
Ok, I understand. I apologize of I was rude. It's just, they set up bots to ban and you guys are also very quick to criticize people who wants to gain knowledge on Django, but when a sl*t wants to promote her channel then bots are blind, admin is gone and so on.
Mirco
Ok, I understand. I apologize of I was rude. It's just, they set up bots to ban and you guys are also very quick to criticize people who wants to gain knowledge on Django, but when a sl*t wants to promote her channel then bots are blind, admin is gone and so on.
Simply no one of them was online so there was no need to be rude with them as they are people, not bots And since spam message doesn't hurt you in any way you can just wait for cleaning from them as soon as they can Said that, enjoy your process here of gaining knowledge and just be respectful 🤙🏻
~𝙰𝚋𝚍𝚞𝚛𝚊𝚡𝚖𝚘𝚗
why you ain't helping if you are smart ???
Abdulloh
Simply no one of them was online so there was no need to be rude with them as they are people, not bots And since spam message doesn't hurt you in any way you can just wait for cleaning from them as soon as they can Said that, enjoy your process here of gaining knowledge and just be respectful 🤙🏻
Ok, but they can be more responsible than that. If admin has no time, he can hire new admins or just customize the bot. For example, n1 rule of the channel talking is in English, that slu*t's ad was in Russian, just add a function so that we don't see the content we don't wanna see.
Mirco
Ok, but they can be more responsible than that. If admin has no time, he can hire new admins or just customize the bot. For example, n1 rule of the channel talking is in English, that slu*t's ad was in Russian, just add a function so that we don't see the content we don't wanna see.
Again, admins are people that on Saturday maybe don't spend whole time on smartphone And since spam messages are just messages and you can live even if they are deleted after a while you report them So please, stop it and be patient and respectful Admins are volunteering their time for giving you a space where you can gain Django knowledge for free so pay more respect Have a nice evening/day, we have already stolen too much time on this topic that is off topic Rules are for humans, the bot that is running here cannot analyze every message and ban by its own if the message is not following rules I got your point and it's understandable, but you have to think also more on what I'm telling u
مهدی !🗽
Hi guys i have a question
مهدی !🗽
I want to learn django and i find a course on udemy that i think its good for me !!
مهدی !🗽
BUT... Its learn django 3.2 And i see that latest django versions is 5 !!!
مهدی !🗽
Is this have a problem or no i just start with this ? :)
Premal
Premal Patel: I am integrating gemini api key in django project. How can we show the stream data which is generated by the Gemini model that that chunk of data i wants to show in html templates The issue is the data which is generated is only showing when once it complete generated I wants to show the chunks of data when is generated not like once its completed and then i render the template Any guidance for that?
Kasra
Hello guys, I have a problem with sending email in html format using django, even with inline css styling, the css is not considered and only the html tags are being shown in the email for users, Anybody has ever encountered the same problem?
No One
Hi I am new to django celery I want to implement one function where I have one worker and I want to create queue on hit of url and want worker to work in round robin pick one task from each queue i am able to make queue on url hit but it not working correctly i think every task is going in main queue only any help would be appreciated
Sergey
Hi ! I am doing the same task in parallel on local comp and on hosting. Read the learning book about Django and implement both sides. Have the problem: after starting app and registering in models-, settings-, admin- files in admin panel (interface) on hosting there are no changes, but on local everything is OK. Everything is equal, files are same, step by step... Any idea?
Rose
User Mohameth has 1/3 warnings; be careful! Reason: nonsense
ㅤ
I have problem in forms django How do I remove help text from django UserCreationForm?
nz
i need help
nz
errors
ㅤ
By overriding init
How can i use it ?
Rose
User فوز has 1/3 warnings; be careful! Reason: learn how to share code
Un
I have a requirement in my django react project to do videocall and chat(1-1).so using webrtc or websocket which is best idea,.... First time iam doing this
northern
thanks
Rose
thanks
What are you talking about?
Rose
User Shicco has 1/3 warnings; be careful! Reason: this is neither a job board nor a bulletin board
Rose
User Sasha has 1/3 warnings; be careful! Reason: nonsense message (rule #3)
Rose
User Vladimir has 1/3 warnings; be careful! Reason: rule #1: speak English
Dhr
Anybody has any project where I can contribute?
Maxim
Anybody has any project where I can contribute?
this is not a project sharing group
Dhr
this is not a project sharing group
I would like to apply my skills and learn more
Valdez
Hi, please I have a problem hosting my django application on the Cpanel of the NameCheap browser that I purchased. I have already followed all the YouTube videos that ask me to go through the Setup Python App. but it doesn't work and I don't know why? Can someone help me please?
Charly
I would like to apply my skills and learn more
Yes, this group is nor for this, go to github and explore projects
Valdez
No because you havent provided any useful detail.
My problem is that I followed the steps for hosting my web application in the cpanel but at the end I got this error message yet on my side everything is configured correctly:Internal Server Error Error 500 This could be due to one of the following reasons: .htaccess file was misconfigured Permissions for the file requested on site were misconfigured PHP or CGI code was misconfigured in the file that is requested on site Site resources are approaching their maximum limits Please contact the server administrator webmaster@art.akhapi-okhapi.com and provide the following information: The time the error occurred The actions you took prior to and immediately following the error. This will help the administrator better understand what may have caused the error. Please refer to the server error log for more information.
Arman
Django package "django-cors-headers" doesn't work, I made research at whole internet and documentation, installed it both globally and in venv, no success, everythime - ModulNotFound, pls help or suggest alternative package
Mirco
Ok, pls more details if u can
It's better if you share the whole error via pastebin
Arman
It's better if you share the whole error via pastebin
Nice thanks, can I provide it to you tomorrow? During working on this problem and really messed up whole project, just need to rollback to the starting position than will provide u everything u need
Arman
It's better if you share the whole error via pastebin
can this help u? so, I imported the package both globally and in venv, and pip and poetry see him perfectly, in settings.py -> INSTALLED_APPS -> 'corsheaders', MIDDLEWARE(second in the list) -> "corsheaders.middleware.CorsMiddleware", CORS_ALLOWED_ORIGINS = [ "http://127.0.0.1:3000", "http://localhost:3030", ]
Arman
Mirco
https://dpaste.org/eZLX4
What are you using ? Poetry ?
Arman
Arman
What are you using ? Poetry ?
I tried both globally and venv, https://dpaste.org/p28Wb