use commonware.log
This commit is contained in:
Родитель
f0583780a9
Коммит
e0d396f843
|
@ -1,15 +1,18 @@
|
||||||
from hashlib import md5
|
from hashlib import md5
|
||||||
import json
|
import json
|
||||||
import logging
|
|
||||||
from urllib import urlencode
|
from urllib import urlencode
|
||||||
import urllib2
|
import urllib2
|
||||||
|
|
||||||
from django.core.cache import cache
|
from django.core.cache import cache
|
||||||
|
|
||||||
from bleach import Bleach
|
from bleach import Bleach
|
||||||
|
import commonware.log
|
||||||
import jinja2
|
import jinja2
|
||||||
import ttp
|
import ttp
|
||||||
|
|
||||||
from . import twitter_languages
|
from . import twitter_languages
|
||||||
|
|
||||||
log = logging.getLogger('z.firefoxcup')
|
log = commonware.log.getLogger('z.firefoxcup')
|
||||||
parser = ttp.Parser()
|
parser = ttp.Parser()
|
||||||
bleach = Bleach()
|
bleach = Bleach()
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,10 @@
|
||||||
import jingo
|
import jingo
|
||||||
from addons.models import Persona
|
|
||||||
from twitter import search
|
from twitter import search
|
||||||
|
|
||||||
|
from addons.models import Persona
|
||||||
from . import tags, email_enabled
|
from . import tags, email_enabled
|
||||||
from . import teams as teams_config
|
from . import teams as teams_config
|
||||||
|
|
||||||
import logging
|
|
||||||
|
|
||||||
log = logging.getLogger('z.firefoxcup')
|
|
||||||
|
|
||||||
|
|
||||||
# Create your views here.
|
# Create your views here.
|
||||||
def index(request):
|
def index(request):
|
||||||
|
|
Загрузка…
Ссылка в новой задаче