cj
Error Not Found! wanted to post this long code: https://hastebin.com/ewaquwehuc
𝓈𝒽𝒶𝒽𝓇𝑜𝑜𝓏
https://del.dog/pojerazide.coffeescript
Please can anyone help
$whoami
Aadhi
How to change a string variable in to a case insensitive inside views.py
inchidi
Aadhi
It should accept same in both uppercase and lowercase
cj
cj
depends on what do you want to do, you could use __i... when querying a model... but I'm not good (yet) at reading minds
𝓈𝒽𝒶𝒽𝓇𝑜𝑜𝓏
Aadhi
I have a string variable say "name" inside views.py.
Value of the variable is reads from an HTML form.
Now I want is if user inputs as CAT or cat, it should accept as same not as different values
Master
cj
Aadhi
I am storing those values into database
sahil
How to use mysql as a database in window 10
Aadhi
While taking the count of each values these CAT and cat shown as separate entries
cj
cj
show the query string (using the ORM obviously) you are using to count them.
Shiva
Guys I want to get parameters from url and after that I want to redirect them to a new HTML page , what should I learn to do this ?
Gaurav
Any celery expert here??
Can we load dedicated script only in celery instead of loading whole app in worker?
Михаил
Vaibhav
Gaurav
Gaurav
Do you mean you need deferred task launch?
I am doing a project in which i need to reduce the resources use by celery workers
I am deploying using docker compose and multiple instances of same app on same server
Vaaaa🌍🍪
when I am try run server , used "python manage.py runserver ", I have this text "Watching for file changes with StatReloader", how this fix?
Rahul
How to redirect after accounts/login to next page
Shiva
Guys I have a leaflet map , in HTML form I will ask for lat , long , maptype , zoom , to redirect to my map
I want to get values from user in url without showing HTML form
EG : https://maps.googleapis.com/maps/api/staticmap?center=Berkeley,CA&zoom=14&size=400x400&key=YOUR_API_KEY
Shiva
Rahul
Mirco
Mirco
Firdaus
any kind of help is very much appreciated 😀
Mohit
Firdaus
Failed to restart gunicorn.service: Unit gunicorn.service is not loaded properly: Invalid argument.
See system logs and 'systemctl status gunicorn.service' for details.
Firdaus
everything working now... my own stupid silly mistake... i forgot to
sudo systemctl daemon-reload
Firdaus
Mohit thanks for the help
Mohit
aPëx Prâdatør
Anyone in any graphic design group?
Sander
aPëx Prâdatør
I know a graphic designer
I just need a group so that I can ask solutions to problems when I encounter a problem in graphic design
Sander
What is the build in filter for summing two values in a Django template?
Oğuzhan
you mean structure while using it?
Oğuzhan
Oğuzhan
can you explain to me please?
Mohit
Mohit
It is better to do the computation inside the view and render it in the templates
Oğuzhan
i know that but which one is pipe "{{ 2 + 2 }}" or "+" symbol?
Mirco
Shiva
Guys how to redirect to a page after a successful post request , also I want to pass the value's posted by user to the page
Oğuzhan
thank you..
Oğuzhan
The pipe character indicates that you want to send the results of the left hand side to the filter defined on the right side. The filter will modify the value in some way.
The 'escape' filter is just one of many.
The list of built in filters can be found here: Django Documentation - Built-in filters reference
In a django template the | character definitely does not mean the 'bitwise OR' operator.
Rahul
raven
Anonymous
Anonymous
Not sure if this is the right thread to ask this question, but it’s about Bokeh, both Python and JS side, so please let me know if there is a more relevant chat for the topic.
Anyway, I’m trying to solve to following situation. I have a restful api endpoint which serves some data (using restful framework). The page does 2 things with the data: 1) renders it to an html table, and 2) sends it to another endpoint to get html and JS input in order to render a Bokeh chart. I’d like to be able to do the following- when the user hovers over a point in the table, the relevant point in the Bokeh chart lights up, and vice versa.
There’s quite a lot on how to add hover events to Bokeh in the front end, but I haven’t found anything extensive on how the Bokeh chart can influence other html elements. Has anyone maybe faced a similar problem and knows of the part of documentation or another source on the matter?
raven
you can search it
Mounikesh
raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
Mounikesh
guys im getting this erro even there is a secret key in my settings.py file
Naruto
Hey guys,
I have studied python and wants to learn Django ....so please provide me the best source.....and also tell me how to move further to be good at it
Dambe
Anonymous
Naruto
iNcAeLuM
hi i am doing a django curse, but am not getting one concept.
when you are mapping url in urls.py you use regular expresions to do so, i am not getting why not map the url without using regular expresions what is the diffrence??
Anonymous
Anonymous
N S
How can i prevent users for re entering a session from which they have logged out
N S
I have given login_required () in my view and login_url in settings.py