Hello,
We need to enforce an https connection for production django application
running with apache and mod-wsgi. Can anyone please help me with what it
will take to implement this.
Thanks,
Bijal
--
You received this message because you are subscribed to the Google Groups
"Django users" grou
config.
>
> On 4.12.2017 10.03, BIJAL MANIAR wrote:
>
>
> Hello,
> We need to enforce an https connection for production django application
> running with apache and mod-wsgi. Can anyone please help me with what it
> will take to implement this.
>
> Thanks,
> Bijal
&
Hi,
There is an old application in Excel where macros are coded in VBScript and
there is both frontend (forms) and backend in Excel. Need to replicate it
as a web application (Python, Django, React). From scratch, have to build
it in python.
I have checked vb2py library is there for code conve
?
Thanks,
Bijal
On Tuesday, January 9, 2018 at 6:45:55 PM UTC+5:30, BIJAL MANIAR wrote:
>
>
> Hi,
>
> There is an old application in Excel where macros are coded in VBScript
> and there is both frontend (forms) and backend in Excel. Need to replicate
> it as a web applic
Hi,
I want to integrate an existing django web application with Okta identity
provider. I could find a couple of packages:
https://github.com/fangli/django-saml2-auth
https://github.com/MindPointGroup/django-saml2-pro-auth
Have started to use django-saml2-auth. Can we also configure advanced
s
Hi,
Using Python DictWriter can we rename the column names?
Need to rename headers in CSV file so that output looks like. Basically
need to rename database fieldnames like emp_name, emp_role to
Name,Designation:
*Name, Designation*
ABC, IT
DEF, Admin
I am using Python DictWriter in django vi
Hi,
Have created a custom context processor to retrieve extra user attribute
from custom UserData model. Passing this variable in "base.html" template
calls the custom context processor function on every request to render html
page. Since it is a database query, how to efficiently call custom
Hi,
Can anyone help on this. I want to pass value of "USERROLE" across all the
django templates through "base.html". How to efficiently call custom
context processor as it queries database for every page load.
Thanks,
Bijal
On Monday, April 15, 2019 at 6:35:15 PM UT
pass this
value to templates without hitting database query on every hit.
Thanks,
Bijal
On Monday, April 15, 2019 at 6:35:15 PM UTC+5:30, BIJAL MANIAR wrote:
>
>
> Hi,
>
> Have created a custom context processor to retrieve extra user attribute
> from custom UserData mod
Hi,
Currently we have an application built using django 1.4.
As the latest LTS release is 1.11, we are planning to upgrade it to 1.11.
Which of the below 3 alternatives is a better option for django version
upgrade.
1. Should we take it one release at a time? ie, Make the jump from 1.4 to
1.5
Hi,
I'm trying to upgrade existing application from 1.4 to 1.11.
Below snippet of code to align radio buttons horizontally is working fine
with django 1.4
from django.utils.safestring import mark_safe
class HorizontalRadioRenderer(forms.RadioSelect.renderer):
def render(self):
return mar
Hi,
I have existing setup of django app within virtual env (Python 2.7, Django
1.11), running on Apache2.2 on production environment.
On the same server, I want to setup one more django app within virtual env
(Python 3.5, Django 1.11).
How can we have two django apps with two different versions
t; I don't think you really need to use a different setup, just some
> configuration in your httpd.conf file.
>
> Otherwise you could also use uwsgi - which can handle that sort of thing
> easily.
>
> Regards,
>
> Andréas
>
> 2017-08-28 13:20 GMT+02:00 BIJAL
;C:/virtualenvs/ecst_venv_D111P36A22M51\lib\os.py", line 409
yield from walk(new_path, topdown, onerror, followlinks)
^
SyntaxError: invalid syntax
Can anyone please confirm if there is an alternative to using different
apache instances.
Thanks,
Bijal
On Monday, August 28, 2017 at 4:50:5
Hi,
I have current django application with django 1.11 and python 2.7.
Python 2.7 has support till 2020-01-01 and 3.5 has support till 2020-09-13.
I've been asked to upgrade to Python 3.5. My question is why is there a
need to upgrade from 2.7 to 3.5 as EOL support for both of them is nearly
th
Hi,
I had a production application running with Python2.7 and Django1.11
through Apache and mod_wsgi.
Now I have upgraded to Python3.5 and created virtual env. pip install
mod_wsgi is giving below error.
(p3_venv) bash-4.1# pip install mod_wsgi
Collecting mod_wsgi
Downloading mod_wsgi-4.5.18.
--with-apxs=/usr/local/apache2/bin/apxs
--with-python=/usr/local/bin/python3
On Friday, September 15, 2017 at 3:24:46 PM UTC+5:30, James Schneider wrote:
>
>
>
> On Sep 15, 2017 2:04 AM, "BIJAL MANIAR" >
> wrote:
>
>
> Hi,
> I had a production applicati
Hi,
I want my view to respond with a file for downloading, so that the browser
pops up the download/file save dialog.
I am using the 'Content-Disposition' header to specify the name of the file.
When I use the django development server, it works perfectly fine in all
browsers
When I run it on pr
Hello,
Consider below column in mysql table Employee. I need to write django orm
query for below mysql query.
emp_number
4-DEF-A111
3-MNO-333
2-DEF-222
1-ABC-111
Mysql query which splits by '-' and matches against last index.
SELECT * from Employee WHERE substring_index(emp_number, '-', -1) =
Hello,
Can anyone please help with this.
Thanks,
Bijal
On Thursday, January 3, 2019 at 6:47:43 PM UTC+5:30, BIJAL MANIAR wrote:
>
>
> Hello,
>
> Consider below column in mysql table Employee. I need to write django orm
> query for below mysql query.
> emp_number
> 4-
20 matches
Mail list logo