niwla23
idk
cj
idk
then start here: https://docs.djangoproject.com/en/2.2/intro/
niwla23
okay i will further try to find an example....
cj
okay i will further try to find an example....
okaaaaaaay... I'll wait for you comming here to ask how to run it 🤷🏻‍♂️
niwla23
python3 mange.py runserver
niwla23
this group seems to have no sense
Trials
this group seems to have no sense
if you are new to Django, let me recommend you to first learn Django itself, then you can try to achieve your task
Trials
I have no task
oh I thought you wanted to control a smart-house using a django webapp ... nevermind then I misread
niwla23
Yes, i am doing that for myself.
niwla23
to LEARN django
Trials
Yes, i am doing that for myself.
then that's your task 😉
Trials
to LEARN django
good, then first start LEARNING django, then when you know how it works, go ahead and make your wonderful smart-house-controller webapp
Trials
don't try tu run if you don't know how to walk first
niwla23
bye
cj
bye
close the door when you leave, please
niwla23
i will try to let it open......
niwla23
I found a suloution now.
niwla23
can you tell me is it good?
niwla23
https://haste.thevillage.chat/wikonihuni.coffeescript https://haste.thevillage.chat/exiluzonog.py
niwla23
https://haste.thevillage.chat/kuxopiteju.cs
niwla23
i believe its hacky
Maz
Lol, what's up with this fool.
Kamesh
<a href={% url 'my_view' %}> data </a>
cj
can you tell me is it good?
it's not good, that's not how you're suppose to use views... trust me, learn how Django works first.
Kamesh
<a href={% url 'my_view' %}> data </a> I want to use that data in my views ....can any one help?
Андрей
Guys. need help with Django-ORM here https://stackoverflow.com/questions/57383881/django-orm-how-to-exclude-old-data
Anonymous
Any tips on switching backend on Sql lite to postgre?
Trials
Any tips on switching backend on Sql lite to postgre?
change the DATABASES configuration in settings.py
ಶಶಾಂಕ್
ಶಶಾಂಕ್
ಶಶಾಂಕ್
Yes u can
How I tried router but not working
ಶಶಾಂಕ್
Plz don't tell to refer documents I tried u only give example
ಶಶಾಂಕ್
In django
Anonymous
How can i make Django files in a one exe file. If i use pyinstaller then i can make only one script to single but i want to make whole project in single exe??
Михаил
Looks like it is http://google.com/?q=django%20to%20exe
Jimmies San
Looks like it is http://google.com/?q=django%20to%20exe
8 commits, 1 year old: for me doesn't work for sure
Jimmies San
just my 2 cents
Jimmies San
🤣
just sayin' :P
Naveen
Hello guys, My website logo is not showing on all the pages. Its shows fine on every page of navbar menu(about, blog) but when i go inside on blog(detail view) there is a cross sign at logo place
Akash
I am tryng to use pgbouncer, I have 50+ apps connecting to same database. And I get this error django.db.utils.InterfaceError: connection already closed
Nitesh
name = models.CharField(choices=NAMES, max_length=10) #models.py Q(name_contains=query) #views.py
Nitesh
while searching with name its not showing any result
Nitesh
???
Naveen
Try to use name_icontains
EnumSet
hi
EnumSet
-bash: pip: command not found -bash: pip3: command not found
Anonymous
Install pip
EnumSet
install: pip3: No such file or directory
EnumSet
pip3 install pip -(
Mohit
Any SqlAlchmey user here ?
Hernan
install: pip3: No such file or directory
https://pip.pypa.io/en/stable/installing/
Anonymous
anyone tried the django cms
Hernan
anyone tried the django cms
Wagtail is better for me
👍
media & static files not working in debub = False
Hernan
media & static files not working in debub = False
check who serve static files (nginx for example)
Hernan
done
https://docs.djangoproject.com/en/2.2/howto/static-files/deployment/
Denys
django
Anonymous
Is it possible to generate form from yaml and update yaml while saving the form ??
Luis
Is it possible to generate form from yaml and update yaml while saving the form ??
Form from yaml not idea Write a yaml while saving form it's possible. You should overwrite form's save method
Igor
Gi
Igor
hi, is it possible to monitor a query result and notify when it changes with django? I don't like running an query every 5 minutes
Igor
use channels
thanks, i'll try
Anonymous
Best resorces to learn django
Trials
Best resorces to learn django
did you read the pinned message?
Doragonsureiyā
Best resorces to learn django
Check out PythonRes, a channel for Python resources (links to help you out).
Hernan
Good afternoon, does anyone use or have used wagtail? I would need to add a captcha to the admin log form
Hernan
https://duckduckgo.com/?q=wagtail+captcha+login+form
Thank you very much, I had googled but I had not seen the tutorial of learnwagtail.com (great helper)