Hamidreza
Its shows 'os' not recognized i tried this bruh
if you using django 3.1 you should use Path
Hamidreza
from pathlib import Path STATICFILES_DIRS = (BASE_DIR / 'media/static', )
atkisai
русские есть?)
mr.INSOMNIA
atkisai
Есть)
ты не в курсе по такому вопросу, если мне надо отправить данные из формы в представление джанго, как это максимально просто сделать? надо создавать модель формы, ведь мне по сути не надо сохранять эти данные а только сделать действия с ними и отправить обратно ответ
Doragonsureiyā
ты не в курсе по такому вопросу, если мне надо отправить данные из формы в представление джанго, как это максимально просто сделать? надо создавать модель формы, ведь мне по сути не надо сохранять эти данные а только сделать действия с ними и отправить обратно ответ
Python groups in other languages: Amharic @python_amharic Arabic @arabipython Azerbaijani @azepug Chinese @pythonzh French @python_francais German @pythonde Hebrew @pythonisrael Hindi @pyindia Indonesian @pythonid Italian @python_ita @pythonita Kazakh @python_kz Persian @pyfarsi Portuguese @pythonbr Russian @ru_python_beginners @ru_python Spanish @PythonEsp Swahili @python_eafrica Turkish @python_tr Uzbekistan @python_uz
D
from pathlib import Path STATICFILES_DIRS = (BASE_DIR / 'media/static', )
I use both static files for my css/js files and do have a separate folder for STATIC and i want Media folder to store my database images
atkisai
!ol
I didn't ask your opinion
I didn't ask your opinion
I didn’t say my opinion
mr.INSOMNIA
Используй простые формы К примеру from django import forms class EmployeeForm(forms.Form): first_name = forms.CharField(...) Через метод clean уже можешь обрабатывать данные Учи английский и читай документацию, там всё подробно расписано
ㅤ◡̈⃝ВяСяОН
Hello friends I need a completed project Django can you send for me?
atkisai
0
github?
ㅤ◡̈⃝ВяСяОН
github?
They are broken
atkisai
Используй простые формы К примеру from django import forms class EmployeeForm(forms.Form): first_name = forms.CharField(...) Через метод clean уже можешь обрабатывать данные Учи английский и читай документацию, там всё подробно расписано
ну спасибо, просто долго делал проект с рест, а тут решил попробовать сделать быстро и по простому, и понял что не знаю как что делать без рест)))
ㅤ◡̈⃝ВяСяОН
usEr1024
0
1
atkisai
Будут вопросы по Django, обращайся, рад буду помочь)
спасибо) хочу по быстрому щас сделать бесплатный парсер инсты и залить в сеть
ㅤ◡̈⃝ВяСяОН
1
can you send me?
usEr1024
Github
ㅤ◡̈⃝ВяСяОН
Github
they are broken bro
atkisai
can you send me?
django gerls
ㅤ◡̈⃝ВяСяОН
atkisai
thanks
https://tutorial.djangogirls.org/en/
Holla
This is so weard ValueError ar/products <img src="{{product.image.url}} title="" alt="" > Raised error: the image attribute has no file asscociated with it
Holla
Any one saw that error before with out the image its working but i want to retirive it from my model
Anonymous
static at the top of template, relative path to static folder
Sahil
How to do custom template signup using class based views
Batman
Hello, has anyone used Greenlet workers with Gunicorn running a Django application, my sync workers keep timing out and are not really serving traffic performantly lately, so I'm thinking of switching out the worker class, has anyone ever used greenlets with Gunicorn running Django before, if yes, let me know about your experience running it, looking for suggestions about it
Ton618
Hi does anyone know how to integrate machine learning model with django ? I'm a beginner and I couldn't find appropriate stuffs online, it would be really helpful if anyone can guide me. Thank you
Ton618
Just invoke the method in view.
Okay.. I'll try and see
Anonymous
I am trying to create a two type of users, Prime and non prime and it have a email verification also other than superuser what approach should I use the base one which django provides django forms one or I should create a completely new model and auth system which one should I use?
Abhishek
Can any one tell me easy method to integrate payment payment gateway
Abhishek
Paytm payment
Abhishek
Help me
Ariel
Hey. Can someone please explain to me what is the difference between Django's Signals and Webhooks?
Omair
Hey. Can someone please explain to me what is the difference between Django's Signals and Webhooks?
Conceptually not much of a difference. They both perform some task when a condition is met i.e. for instance adding/updating a entry into the database, which would fire a webhook/django signal to perform some action with that updated/created instance.
Omair
Webhooks are exclusively used for communicating b/w different web-apps whereas django signal can be used for anything from validation of the data (although not recommended) to sending it over to a different web app.
Omair
Thank you
👍🏻
the LudoPaisa
Any one tell me how get data from MySQL in django
Hello world
Hello guys, I made project using vuejs and DRF,after that for vue i ran npm run build command so that it ready for production tn i render whole vuejs project to single index.html django template, now when i run python manage.py runserver command project is loading but bootstrap is not working,image is not loading. so what should i do?
Omair
Look up query set api in django docs.
Uttam
7yunubmu jukj ⅝5j. B jo. In.n Jo ji. J v. J king by vjgvvgvgvgvvvvvv vggvv
Alex
aaaand? P.S. mongo is a very very bad choice for main DB.
Sadra
Wow. Cool. ❤️
Tar
Any idea for a software to design the architecture of the entire website? Block diagram, functionality of each app and ect.
maroong
How do I implement a sync database for my Django app? I want multiple users to be able to use it offline on different computers.
Tar
👍
Anonymous
Hi which is the best database for django?
Tukhtamurod
Hi which is the best database for django?
database is completely different thing, how one could be best for django dude😅😅it depends on your use case
faran
hello How can I do partitioning for a table in django? when I use architect package, it makes me limited as I use MYSQL. any other ways?
Anonymous
database is completely different thing, how one could be best for django dude😅😅it depends on your use case
Database is important for a huge websites in django that's why I ask for those who have experience to share
Wannabe
Database is important for a huge websites in django that's why I ask for those who have experience to share
you can compare online the different databases and select the one that fits..
Dipak
check geeky shows yoiu tube channel
Do you have the copy of Django notes?
Karthik
Can anyone send the django tutorial for me
Karthik
Because I am new for it
Alex
Can anyone send the django tutorial for me
sure! https://docs.djangoproject.com/en/3.1/intro/tutorial01/
Karthik
Tq so much broo
Doragonsureiyā
Tq so much broo
I'm not your bro, bro; we weren't hatched from the same egg 🐍🥚
Meh
Has to be my favourite command 😂😂
Bahar
hi is there any body who can explain me what is rest api is?
Hossein
hi is there any body who can explain me what is rest api is?
Read the docs https://www.django-rest-framework.org/
Bahar
Rest API concept or whole rest API?
the concept! I don't know what exactly it is or why and when is used. if you can help me, I appreciate your help🙏
Meh
the concept! I don't know what exactly it is or why and when is used. if you can help me, I appreciate your help🙏
Start by checking YouTube. Read articles. Don't just watch or read one. Try 2-3 sources. If you are getting stuck in between or difficulty in understanding something then ask the doubt here.
Bahar
Read the docs https://www.django-rest-framework.org/
I have problem with the concept of rest api ☹