Ghorz
Django 3 alpha 1 is out.
Maksim
Nice
Mirco
Django 3.0 alpha 1 released | Weblog | Django https://www.djangoproject.com/weblog/2019/sep/10/django-30-alpha-1-released/
Mahakaal
any 1 data analyst?!??
Mahakaal
?!
Doragonsureiyā
any 1 data analyst?!??
Please don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello I need help on $z" Just ask about your problem directly! With 40k+ people the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
thor
Does anyone know a free elasticsearch service that can be integrated with pythonanywhere??
SatyendraN
Hi guys, Can anyone tell how can I import excel file outside of admin? I want to upload data using Excel file outside admin. I have tried using tkinter in python but it is not working as it is opening the window dialog of host machine.
SatyendraN
Thanks I'll try this
Shivansh
I have created a form where we fill our details along with our resume . The resume is getting stored and when I retrieve it from admin dashboard , I am unable to download the file....It says no file but when I get back to see the folder in which it gets stored so I get it..... Please check and help me out asap
Денис
Can u send pdf..of that book?
Not right now, been outside
Денис
Can u send pdf..of that book?
You can find it in this group's shared files
Anonymous
Any django 2.2 guide
Anonymous
?
cj
Any django 2.2 guide
is Google forbidden to use for you? 🤔
Anonymous
is Google forbidden to use for you? 🤔
Yup, i can not access it through, requests using python
cj
Yup, i can not access it through, requests using python
what about duck.com? is it forbidden too?
Anonymous
Never heard of it
cj
Any django 2.2 guide
Kudasai. Here you have a useful link: https://duckduckgo.com/?q=Any+django+2.2+guide
Anonymous
Ooo duckduckgo
Anonymous
Never tried
Anonymous
How django manage files upload ???
Anonymous
Where it saved ??
inchidi
Where it saved ??
as default in media folder
Anonymous
Yes
Денис
How django manage files upload ???
If I recall correctly, in production Django doesn't. Webserver does. nginx, apache or anything else.
Anonymous
Why we apply concatenate static file patH in urlpatters in django??
Денис
Why we apply concatenate static file patH in urlpatters in django??
do you mean something like STATIC_ROOT = os.path.join(BASE_DIR, 'static/') ?
Mirco
Why we apply concatenate static file patH in urlpatters in django??
Because in prod you cannot and must not serve them via staticfiles app
Oleg
Hello! Can anybody suggest a complete solution for RichText support in Django admin with editor, filebrowser and S3Boto3Storage for images?
Mirco
Yes
That's the reason why 😊
Anonymous
Okay got it
Anonymous
Thanks
Oleg
Hello! Can anybody suggest a complete solution for RichText support in Django admin with editor, filebrowser and S3Boto3Storage for images?
I've tried tinymce + filebrowser but there are couple of fundamental problems related to S3
Денис
Why we apply concatenate static file patH in urlpatters in django??
if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT) First it checks if debug mode is on. So it knows it must be done on a testing server, not production one.
Anonymous
I want to use mongodb with django application, so I installed djongo orm. But delete query is not working??
Oleg
When file from S3 is chosed via filebrowser it is inserted with temporary auth parameters and link expires after some time
Oleg
google ckeditor
I've also tried django-ckeditor, but was not able to launch it's uploader. Not sure it supports S3Boto3Storage
Anonymous
So can anyone share me the documentation of mongodb with django using djongo orm?
Денис
I've also tried django-ckeditor, but was not able to launch it's uploader. Not sure it supports S3Boto3Storage
I don't recall any problems when I used it a year ago. Uploaded pics like a god
Anonymous
Yes
Денис
Did you use S3?
no. I simply enabled uploadimage plugin in ckeditor
Oleg
no. I simply enabled uploadimage plugin in ckeditor
OK, thank you, I'll try it again)
inchidi
If I recall correctly, in production Django doesn't. Webserver does. nginx, apache or anything else.
are you confused media and static? coz am confused with your answer🤔
Anonymous
Is Django has MTV structure right?So, what is the controller in django
Anonymous
View is not a fully part of controller.
Денис
are you confused media and static? coz am confused with your answer🤔
Seems like I'm not. Read 'Django by Example', section 'Going live'
Oleg
are you confused media and static? coz am confused with your answer🤔
In context of "rich text" we're talking about "media", i guess
inchidi
Seems like I'm not. Read 'Django by Example', section 'Going live'
from what i know, static files served by web server and media files (uploaded files) served by django (whether stored locally on server, S3, etc)
Денис
from what i know, static files served by web server and media files (uploaded files) served by django (whether stored locally on server, S3, etc)
'Django by Example', section 'Serving static and media assets'. TLDR: nginx is set up to serve both
inchidi
oh i see, so we are talking about download right?
cj
View is not a fully part of controller.
Django is Django, not any kind of MXYZ thing
cj
go read this: https://docs.djangoproject.com/en/2.2/faq/general/#django-appears-to-be-a-mvc-framework-but-you-call-the-controller-the-view-and-the-view-the-template-how-come-you-don-t-use-the-standard-names
Shubham
what will be ORM query to get annunal salary of emp in django
Shubham
I wrote emp.objects.all().annotate(s=F('sal')*12);
cj
what will be ORM query to get annunal salary of emp in django
who knows 🤷🏻‍♂️ reading minds skills are not yet sharpened, we can't read your models just by staring at your eyes in your profile picture... maybe showing your code will help us to help you 🤷🏻‍♂️
Anonymous
😂😂😂
Anonymous
Django framework itself is a controller
cj
read that text again, and again, until you understand it
Anonymous
Where does the “controller” fit in, then? In Django’s case, it’s probably the framework itself: the machinery that sends a request to the appropriate view, according to the Django URL configuration
Anonymous
Yes
Anonymous
Okay, so we can say that view and django itself make a controller right?
cj
they wrote that just in case people —like you— want to find 5 foot to the cat 🤷🏻‍♂️ so they try to stop you to think Django is an MVC/MVT/MXYZ thingy, the real thing you have to read is the last sentence in that section: At the end of the day, of course, it comes down to getting stuff done. And, regardless of how things are named, Django gets stuff done in a way that’s most logical to us.
cj
Okay, so we can say that view and django itself make a controller right?
we can say that Django works in "The Django" way, no more, no less, no MXYZ things 🙂
Anonymous
Okay
Anonymous
Is there only one manage.py files for whole application in django even if we have multiple apps?