I found the answer here.
https://stackoverflow.com/questions/1271631/how-to-check-the-template-debug-flag-in-a-django-template
Thanks
On Monday, April 23, 2018 at 8:04:02 AM UTC-6, larry@gmail.com wrote:
>
> Somewhere in the code is a place where data is passed to the template.
> Did you wri
Somewhere in the code is a place where data is passed to the template.
Did you write the app?
On Mon, Apr 23, 2018 at 9:55 AM, Alexander Joseph
wrote:
> I dont know what that means
>
> On Monday, April 23, 2018 at 7:49:25 AM UTC-6, larry@gmail.com wrote:
>>
>> On Mon, Apr 23, 2018 at 9:34 AM,
Subject: Re: if statement for development/production mode in templates?
I dont know what that means
On Monday, April 23, 2018 at 7:49:25 AM UTC-6, larry@gmail.com wrote:
On Mon, Apr 23, 2018 at 9:34 AM, Alexander Joseph
wrote:
> Hello, is there a way to make an if statement that is based
I dont know what that means
On Monday, April 23, 2018 at 7:49:25 AM UTC-6, larry@gmail.com wrote:
>
> On Mon, Apr 23, 2018 at 9:34 AM, Alexander Joseph
> > wrote:
> > Hello, is there a way to make an if statement that is based on whether
> you
> > are running in development mode or product
On Mon, Apr 23, 2018 at 9:34 AM, Alexander Joseph
wrote:
> Hello, is there a way to make an if statement that is based on whether you
> are running in development mode or production mode? Or based on which
> settings file you are using?
>
> My app allows users to login with their office365 account
Hello, is there a way to make an if statement that is based on whether you
are running in development mode or production mode? Or based on which
settings file you are using?
My app allows users to login with their office365 account instead of with
django allauth and I'd like to only give them t
On 08-Jul-06, at 7:50 AM, Iain Duncan wrote:
>
>
>>> Do most shared hosting providers allow one to do that? I would have
>>> thought not
>>
>>
>> not - unless you are on vps hosting with root access, mod_python is
>> not an option unless your provider is kind enough to restart apache
>> reg
>>Do most shared hosting providers allow one to do that? I would have
>>thought not
>
>
> not - unless you are on vps hosting with root access, mod_python is
> not an option unless your provider is kind enough to restart apache
> regularly with a cron job - even that may not be enough
On 08-Jul-06, at 6:00 AM, Iain Duncan wrote:
> Do most shared hosting providers allow one to do that? I would have
> thought not
not - unless you are on vps hosting with root access, mod_python is
not an option unless your provider is kind enough to restart apache
regularly with a cron
On 08-Jul-06, at 1:37 AM, Iain Duncan wrote:
>
> This is my first time using mod_python in production, how do you
> handle
> the need to restart apache?
when you need to restart apache, you restart it
--
regards
kg
http://lawgon.livejournal.com
http://avsap.org.in
--~--~-~--~---
Wade Leftwich wrote:
> Iain Duncan wrote:
>
how do you handle changes on a site which is already online (talking
about changing models and/or views)?
>>>
>>>
>>>I typically maintain a duplicate setup on a testing machine (in my
>>>case, a laptop running Linux) and use that for developme
Iain Duncan wrote:
> >>how do you handle changes on a site which is already online (talking
> >>about changing models and/or views)?
> >
> >
> > I typically maintain a duplicate setup on a testing machine (in my
> > case, a laptop running Linux) and use that for development and
> > testing, then w
>>how do you handle changes on a site which is already online (talking
>>about changing models and/or views)?
>
>
> I typically maintain a duplicate setup on a testing machine (in my
> case, a laptop running Linux) and use that for development and
> testing, then when I know I've got the bugs w
On 7/7/06, patrickk <[EMAIL PROTECTED]> wrote:
> how do you handle changes on a site which is already online (talking
> about changing models and/or views)?
I typically maintain a duplicate setup on a testing machine (in my
case, a laptop running Linux) and use that for development and
testing, t
how do you handle changes on a site which is already online (talking
about changing models and/or views)?
do you have two different installations (development/production) or
do you use the development server.
thanks,
patrick
--~--~-~--~~~---~--~~
You received
15 matches
Mail list logo