Aaron
path('foo/', csrf_exempt(views.foo), name='foo')
Aaron
is my url in urls.py
inchidi
but I'm not seeing a log I have in my view for that URL:
you didnt get any log or just the one you specified?
Aaron
Turns out to have been simple
Aaron
I had a syntax error and unupdated logs
Aaron
haha
godmode
hi, i got a form that is not being saved in the database and i don't know with i follow several tutorials and solutions in stack overflow... but it seems not to work, but i think is something stupid in the method is_valid()... this is my code https://github.com/Godm0de/uec/tree/master/uec/apps/blog
godmode
I'm using FormMixin with DetailView
Anonymous
I got the rules
godmode
?
Mahmoud
I searched for a chat website template alot and found nothing Anyone know good template ?
Anonymous
Can someone help me out with Django Channels?
Jimmies San
Can someone help me out with Django Channels?
don't ask to ask, just ask.
Naveen
Can someone help me on how to implement machine learning model into web app via Django framework
it would be very difficult to do it this way. Better to create REST API and then you can call the API in your django.view specifying the data and functions needed for ML model
Naveen
How can we save the average of two different fields in another field?
you can use post_save methods of django to automatically save average into other field. https://docs.djangoproject.com/en/2.2/ref/signals/#post-save
Anonymous
Is it possible to check how much time consuming to start my Django Project.
Raam Goulikar
Can we run django dev server on edge of IE?
Anonymous
How to make things real time with django. Like implementation of like button where the page isn't refreshed everytime?
Anonymous
And what's axios?
Anonymous
Used Ajax with Django
I am beginner, can you be more specific?
Raam Goulikar
You have to use ajax with django backend. Search in google you will get some sample projects
Anonymous
Okay
Ghorz
Can anyone help?
Are you on virtual env
Павел
Hello! Please, who can give me information haw to tune Debian 10 and install django here.
Mirco
Hello! Please, who can give me information haw to tune Debian 10 and install django here.
Go to the official docs and find installation on Linux topic 😊
Павел
ok. thanks
Chowdary
How can we write posts in local languages? When i used to publish my post wich contain local language(Telugu).. it showing the error and publishing the post..
Chowdary
How to add local languages
Chowdary
Thank you micro.. is there abu sample code how to set??
Chowdary
For multiple languages
Mirco
There's an entire topic about i18n on official docs
Chowdary
Ok done brother thankyou
Doragonsureiyā
Ok done brother thankyou
You're welcome! 😊
Alek
Could you help me, with issue, please? https://stackoverflow.com/questions/57523750/cancel-impact-of-css-from-bootstrap4-chrome
Goutham
Hello guys please help, I can't create a table using migrate, it says table doesn't exist
Ghorz
Anders (izznogooood) 🇳🇴: https://www.humblebundle.com/software/intro-to-code-bundle
This may be out of the scope of this group but its still has a taste of Django. I finally deploy Django on Docker with Mariadb as the storage. How do you commit code changes to the source files. It seem the src is embedded in the image file
Anders (izzno / gooood) 🇳🇴
You should read about dev/stage/Prod if you mean what I think you mean... If you do your dev in docker you have to mount the dir you copy your app to rw with the actual dev dir.
Anders (izzno / gooood) 🇳🇴
something like this: https://pastebin.com/vA7dhjaR This is a dev env
Anders (izzno / gooood) 🇳🇴
I dont have time to ellaborate now, but maybe someone else can.
Anders (izzno / gooood) 🇳🇴
You also need a docker file
Anders (izzno / gooood) 🇳🇴
You should run docker build if u change your code
If you set it up right you dont have to.
Anders (izzno / gooood) 🇳🇴
dockerfile: https://pastebin.com/ctCYAwWM docker-compose: https://pastebin.com/vA7dhjaR Entrypoint: https://pastebin.com/KB3npeVv
Anders (izzno / gooood) 🇳🇴
This is a local dev setup. My stage and prod are deployed by gitlab and uses a different compose/entrypoint
telf
Hi guys
Mirco
If you set it up right you dont have to.
What u mean ? Don't your rebuild and tag new image on every push to master ?
telf
Where i can download Django for beginners William - book
telf
Can u help me please
Anders (izzno / gooood) 🇳🇴
Mirco
Where i can download Django for beginners William - book
We don't support piracy, you should buy it
Anders (izzno / gooood) 🇳🇴
This is the dev env ;)
Mirco
This is the dev env ;)
Didn't read, sorry 👍🏻
telf
Okay. Sorry :)
Mirco
Okay. Sorry :)
No worries
Anders (izzno / gooood) 🇳🇴
Naveen
Guys I am using tinymce4-lite as rich text editor for django modal field. So the thing is whenever i insert an image in text editor..it is not responsive.is there anyway to make it responsive
Ghorz
Is there a way to update contenttype object
Naveen
I use to do It in the Code using bootstrap
Till yesterday i was doing too but for a dynamic blog website...richtexteditor is a good choice
godmode
Till yesterday i was doing too but for a dynamic blog website...richtexteditor is a good choice
No, i mean i use tinymce but when i put an image i make It resposive with the alt= " Responsive image" , and i do this un the option of edit source un tiny
Dmitrii
Hello. Are there any popular English-speaking chats with remote Django jobs?
start living
If anyone wants Unacademy subscription on sharing basis for 1 yr, do msg me
からっぽ
whut is django?
Anonymous
A framework
Anonymous
To develop apps n web
Anonymous
Services
Anonymous
Hey can anyone help me with presave in Django..?
Anonymous
Prasandeep
hello , anyone have Django ebook