Hian
Sessionmiddleware
Hian
Session middleware is lazyload?
Mirco
Sam
Does any one know how to clear code cache, I am running django project in docker container and I need to restart container each and every time while making code changes
Sam
Isn't there is way to clear this code cache
Sam
Эльдияр
how to set slug in url like that
localhost://8000/posts/?category=politics&category=life....
rightnow my url localhost:8000//posts/?category=3&category=5
__init__
how to Signing and Verifying in pthon with pkcs#12 certificate??
Agent Q
Prof K. S.
I have html page which takes 2 files as input and a python code for checking hash value sequence
I want to import that file(from html page) to python code and based on results it should return yes or no in html
How can I do that?
Prof K. S.
Doragonsureiyā
Kennedy
Hello guys, I have my authorization header keyword as Bearer, how can I make use of it in a DRF project?
Hian
Someboby use sentry?
Hian
Doragonsureiyā
Someboby use sentry?
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 ~90,000 people here, the probability that someone will help is pretty high.
How to ask smart questions: http://catb.org/~esr/faqs/smart-questions.html
EN
What do you mean ? You can use any library of js (react, vue and etc.)
Akash
Raja
Does any one have idea about the chunk files
Raja
How to compress network payloads
Enam_may
Can I use session and model for a comment form in the same time?
Enam_may
What's the difference between sessions and models data?
Hian
does anyone know how do I ignore the sentry just for a url?
Mirco
Mirco
Or create a custom filter for specific stuff to ignore
Everything is inside their docs
Hian
I need it to be a url, because he is accessing the user and I don't want him to do it because it is slow, it is a very simple view that generates a random value.
Hian
I created the before send but it catches the user before yet
Sai
Make the url and send it
Amor
Hi guys, does anyone know how to deploy django application in red hat linux. I'm facing lot of issue in that
Zey
I want to email the html template which will contain images but When I am receiving mail images are not showing?
Ngeene
Mirco
Hian
I debugged the code and saw that sentry is making use of the logged in user, however this view needs to be extremely fast.
Mirco
Hian
I thought that too, it doesn’t make sense without exception
Hian
without sentry 5miliseconds , with sentry 1 second
Mirco
malloc
How do I separate static files for django multiple apps?
Ikki
Ikki
🤪👁
I am in
клауб хартелл
How can I set up django offline? (I want to download django and make it portable to install it on offline machines) Does anyone here know?
Zey
I want to email the html template which will contain images but When I am receiving mail ,images are not showing?
zch0
vijay
hi how to build a video confrence app in django
Kennedy
Can you explain further on this issue?
I have my Authorization headers set as;
Authorization: Bearer <Token>
My understanding is that DRF uses Authorization: Token <Token>
So I want to modify my DRF to recognize Bearer.
I have a class already set with;
authentication.TokenAuthentication.keyword = 'Bearer'
While I try subclassing this doesn't detect the new keyword "Bearer"
Doragonsureiyā
hi how to build a video confrence app in django
Step 1: Open a browser
Step 2: Write down https://google.com or https://duck.com and press Enter
Step 3: In the search box, write down the same words you asked here
Step 4: Read the first results
Anonymous
Sumit
Can anyone tell me why keeping secret key in .env file is secured in production server, I mean what makes this secure?
Alexandro
Alexandro
not a good practice
Sumit
Alexandro
yes
Sumit
And if it has not to be loaded as public repo than no need , right?
Alexandro
you mean your code lives on a server, and it's not uploaded to any git service like github or bitbucket?
Alexandro
or just that your repo is private?
Sumit
Alexandro
even if it is private
Alexandro
not a good practice
other members of your team where you work together are going to use that code
Alexandro
and reuse it
let's say you upload your key from twilio to the repo
and you clone the repo on another server, but that one is going to use another key, then you have to remember that
Alexandro
you introduce more problems and resolve nothing without following good practices and standards
Sumit
I am following the standards , but I know the reasons too, thanks for your answer.
Spence
Hi,how do I create an email that sends message to all registered user's in Django, please any help
Sumit
Alexandro
Zey
Spence
Spence
Sumit
Thanks
https://agusmakmun.github.io/python/django/2016/04/20/adding-broadcast-mail-to-all-users-registered-inside-django-admin.html
Sumit
This will also helps you.
Sumit