At the end, you'll earn `the badge`_:
Note
If you have problems using vagrant, check Troubleshooting_ below
[alias] | |
st = status --ignore-submodules |
def add_email_from_signup(sender, request, user, **kwargs): | |
params = {'access_token': kwargs['sociallogin'].token} | |
email_data = requests.get(EMAIL_URL, params=params).json() | |
make a change | |
if email_data: | |
verified_emails = [e for e in email_data if e['verified']] | |
if not verified_emails: | |
return None | |
sorted_emails = sorted(verified_emails, | |
key=lambda e: (e['primary'], e['verified']), |
[localhost] err: ./pt_BR/LC_MESSAGES/messages.po:2891: duplicate message definition... | |
[localhost] err: ./pt_BR/LC_MESSAGES/messages.po:1570: ...this is the location of the first definition | |
[localhost] err: ./pt_BR/LC_MESSAGES/messages.po:2898: duplicate message definition... | |
[localhost] err: ./pt_BR/LC_MESSAGES/messages.po:1577: ...this is the location of the first definition | |
[localhost] err: ./pt_BR/LC_MESSAGES/messages.po:2902: duplicate message definition... | |
[localhost] err: ./pt_BR/LC_MESSAGES/messages.po:1581: ...this is the location of the first definition | |
[localhost] err: ./pt_BR/LC_MESSAGES/messages.po:2906: duplicate message definition... | |
[localhost] err: ./pt_BR/LC_MESSAGES/messages.po:1585: ...this is the location of the first definition | |
[localhost] err: ./pt_BR/LC_MESSAGES/messages.po:2912: duplicate message definition... | |
[localhost] err: ./pt_BR/LC_MESSAGES/messages.po:1591: ...this is the location of the first definition |
regex = re.compile('(bug)\s+#?(\d+)', re.IGNORECASE) | |
content = regex.sub( | |
jinja2.Markup('<a href="https://bugzilla.mozilla.org/' | |
'show_bug.cgi?id=\\2" ' | |
'target="_blank">\\1 \\2</a>'), | |
content) |
(kuma)lcrouch-14912:kuma lcrouch$ curl -vk https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span$json | head | |
* Hostname was NOT found in DNS cache | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 63.245.215.53... | |
* Connected to developer.mozilla.org (63.245.215.53) port 443 (#0) | |
* TLS 1.2 connection using TLS_DHE_RSA_WITH_AES_128_CBC_SHA | |
* Server certificate: developer.mozilla.org | |
* Server certificate: DigiCert SHA2 Extended Validation Server CA | |
* Server certificate: DigiCert High Assurance EV Root CA |
3766957:[2014-12-23 19:42:24,485: INFO/MainProcess] Task kuma.wiki.tasks.send_first_edit_email[18e75775-7682-40d3-868d-49c9fa5313e5] succeeded in 1.20279693604s: None | |
3767114:[2014-12-23 20:32:06,222: INFO/MainProcess] Got task from broker: kuma.wiki.tasks.send_first_edit_email[58cfad86-c501-40b1-b265-a014a78089ae] | |
3767115:[2014-12-23 20:32:07,560: INFO/MainProcess] Task kuma.wiki.tasks.send_first_edit_email[58cfad86-c501-40b1-b265-a014a78089ae] succeeded in 1.29189014435s: None | |
3767503:[2014-12-23 22:10:50,923: INFO/MainProcess] Got task from broker: kuma.wiki.tasks.send_first_edit_email[ac836c49-a3da-4428-98e0-13815c5de7e0] | |
3767505:[2014-12-23 22:10:52,561: INFO/MainProcess] Task kuma.wiki.tasks.send_first_edit_email[ac836c49-a3da-4428-98e0-13815c5de7e0] succeeded in 1.59794998169s: None | |
3769315:[2014-12-24 03:33:17,880: INFO/MainProcess] Got task from broker: kuma.wiki.tasks.send_first_edit_email[17682167-ce43-4342-8ec4-96cfdac675fc] | |
3769316:[2014-12-24 03:33:19,305: INFO/MainProcess] Task kuma.wiki.tasks. |
CELERY_ALWAYS_EAGER = False |
(kuma)lcrouch-14912:kuma lcrouch$ curl -Ik https://developer-local.allizom.org/en-US/docs/User:groovecoder$json | |
HTTP/1.1 200 OK | |
Date: Tue, 23 Dec 2014 19:12:37 GMT | |
Server: WSGIServer/0.1 Python/2.6.9 | |
Vary: Cookie,Accept-Encoding | |
Last-Modified: Sat, 20 Dec 2014 08:55:41 GMT | |
ETag: "37235951ce382fa84a01e71da90e0045439c2d3e" | |
X-kuma-revision: 19 | |
X-Frame-Options: DENY | |
Content-Type: text/html; charset=utf-8 |
# Django settings for kuma project. | |
import logging | |
import os | |
import platform | |
import json | |
from django.utils.functional import lazy | |
from django.utils.translation import ugettext_lazy as _ | |
from django.core.urlresolvers import reverse_lazy |
At the end, you'll earn `the badge`_:
Note
If you have problems using vagrant, check Troubleshooting_ below