root / txapp / init.py @ 8:92f04bf7349c
History | View | Annotate | Download (306 Bytes)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
|
3 |
"""
|
4 |
Initialization functions for txapp.
|
5 |
"""
|
6 |
|
7 |
|
8 |
from django.conf import settings |
9 |
from txlib.http.http_requests import HttpRequest |
10 |
from txlib.registry import registry |
11 |
|
12 |
|
13 |
def setup(): |
14 |
"""Setup Transifex related functions."""
|
15 |
registry.http_handler = HttpRequest(settings.TX_URL) |