On Sun, Nov 9, 2014 at 4:50 PM, gerard wrote:
> Hello all,
>
> i have an application (Django 1.4 LTS) that can be accessed with 2 urls:
> the default is https://my.app.org
> and the second is http://consult.my.app.org
>
> In the templates, i'm using:
> {% trans "Connect to see more
> features" %}
Hello all,
i have an application (Django 1.4 LTS) that can be accessed with 2 urls:
the default is https://my.app.org
and the second is http://consult.my.app.org
In the templates, i'm using:
{% trans "Connect to see more
features" %}
and it's displayed as https://my.app.org/accounts/login if
On Sep 5, 6:54 am, Petr Tuma wrote:
> One more note, just if somebody else runs into this.
>
> Apparently, the problem with this solution is that under certain
> conditions, SetEnv from one virtual host can be visible inside the
> Python interpreter associated with another virtual host. Since
>
One more note, just if somebody else runs into this.
Apparently, the problem with this solution is that under certain
conditions, SetEnv from one virtual host can be visible inside the
Python interpreter associated with another virtual host. Since
mod_python suggests not to use SetEnv, one should
Hi Andrew,
> What is the error 500? Is it the same error every time?
I did not find any details in the logs and with DEBUG = True, the site
starts behaving correctly.
> Also, you have restarted apache? Different apache processes could be
> out of sync and running different django configs, thu
> strangely unreliable. When both sites are used, an Error 500: Internal
> server error is frequently returned (but mere repeated reloading of
> the same page eventually gives a correct page).
What is the error 500? Is it the same error every time?
Also, you have restarted apache? Different ap
Hello,
I have a Django application that I need to appear on multiple Apache
virtual hosts with different URLs (e.g. the same view would be
accessible under http://one.site/view and under
http://another.site/another/path/to/view).
So far, I have tried to have multiple interpreter instances under
Okay, so I've got get_absolute_url() to work, but I'm still running
into some trouble. The problem is that TVEpisode and Movie are both
subclasses of Source, and I can't seem to override the
get_absolute_url() function that's included in the Source class. How
can I override this method in the pare
Okay, so I finally found get_absolute_url(), and I wrote the function,
but I think I might have to back off from generic views because I need
the actual source object whereas I now only have a copy of the quote
object in the view. I'll have to look into this some more.
I was worried at first abou
I'd like to make a link to an item based on which class it is in. I'm
creating a quotes database that has quotes from movies, tv shows, etc.
Movie, TVShow, etc. are all separate classes, and they have separate
URLs for viewing them. I'm trying to create a link to the source based
on which subclass
10 matches
Mail list logo