Re: Where are the site variables set?

2012-03-29 Thread Mike Dewhirst

On 30/03/2012 10:02am, Robert Steckroth wrote:
Hello Gang, I have two other servers on Debian which have the correct 
site variables set. E.g. site.name , site.domain.
But on this particulaly crazy Centos setup the site variable is set to 
the default (www.example.com ).

It shows when I use it in this manner -->
{% load i18n %}
{% trans "Simply follow the link below to complete your Activation at" 
%} {{ site.name  }}:

http://{{ site.domain }}{% url registration_activate activation_key %}
{% blocktrans %}Link is valid for {{ expiration_days }} days.{% 
endblocktrans %}


How do I get the proper information in the site dictionary? Also, if 
applicable, might this

have anything to do with my crazy Centos/VirtualEnv setup?


www.example.com is in the database in the django_site table. If you have 
the Admin running, you can adjust it there under "Sites"


hth








--
Bust0ut, Surgemcgee: Systems Engineer ---
PBDefence.com
BudTVNetwork.com
RadioWeedShow.com
"Bringing entertainment to Unix"
"Finding the exit without looking"

--
You received this message because you are subscribed to the Google 
Groups "Django users" group.

To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Where are the site variables set?

2012-03-29 Thread Robert Steckroth
Hello Gang, I have two other servers on Debian which have the correct site
variables set. E.g. site.name, site.domain.
But on this particulaly crazy Centos setup the site variable is set to the
default (www.example.com).
It shows when I use it in this manner -->
{% load i18n %}
{% trans "Simply follow the link below to complete your Activation at" %}
{{ site.name }}:
http://{{ site.domain }}{% url registration_activate activation_key %}
{% blocktrans %}Link is valid for {{ expiration_days }} days.{%
endblocktrans %}

How do I get the proper information in the site dictionary? Also, if
applicable, might this
have anything to do with my crazy Centos/VirtualEnv setup?






-- 
Bust0ut, Surgemcgee: Systems Engineer ---
PBDefence.com
BudTVNetwork.com
RadioWeedShow.com
"Bringing entertainment to Unix"
"Finding the exit without looking"

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.