View -
{
"locations": [],
"settings": {
"exportForm": {
"server": "https://scope-trn.wfp.org/triplex/mobile/registration/v1/"
},
"features": {
"captureIris": true,
"captureFingerprints": true,
"updateToken": true
View foo.diff
diff --git a/scope/foodnet/apps/mobile/importer.py b/scope/foodnet/apps/mobile/importer.py
index 2ce4f0e..c1a8c0c 100644
--- a/scope/foodnet/apps/mobile/importer.py
+++ b/scope/foodnet/apps/mobile/importer.py
@@ -76,18 +76,22 @@ class MobileHouseholdImporter(object):
member = Person(uuid=member_uuid)
created = True
- member.last_name = member_data.get('lastName', '')
- member.first_name = member_data.get('firstName', '')
View foo.diff
diff --git a/scope/foodnet/apps/mobile/importer.py b/scope/foodnet/apps/mobile/importer.py
index 2ce4f0e..f6db43c 100644
--- a/scope/foodnet/apps/mobile/importer.py
+++ b/scope/foodnet/apps/mobile/importer.py
@@ -76,6 +76,10 @@ class MobileHouseholdImporter(object):
member = Person(uuid=member_uuid)
created = True
+ # Backwards compat for < 1.0.3
+ if 'info' not in member_data:
View keybase.md

Keybase proof

I hereby claim:

  • I am loic on github.
  • I am loic (https://keybase.io/loic) on keybase.
  • I have a public key whose fingerprint is 37BB 9B5F 9BE9 B13C 8257 E1C4 1F6E FAFA 7939 626D

To claim this, I am signing this object:

View foo.diff
diff --git a/www/app.js b/www/app.js
index 4e4898c..5836b84 100644
--- a/www/app.js
+++ b/www/app.js
@@ -102,6 +102,19 @@
}
})
+ .directive('input', function () {
+ return {
View foo.diff
diff --git a/django/forms/models.py b/django/forms/models.py
index 31e4bba..8a70baa 100644
--- a/django/forms/models.py
+++ b/django/forms/models.py
@@ -391,7 +391,13 @@ class BaseModelForm(BaseForm):
# Override any validation error messages defined at the model level
# with those defined at the form level.
opts = self._meta
- for field, messages in errors.error_dict.items():
+
View foo.diff
diff --git a/django/forms/models.py b/django/forms/models.py
index 31e4bba..38eacef 100644
--- a/django/forms/models.py
+++ b/django/forms/models.py
@@ -391,7 +391,13 @@ class BaseModelForm(BaseForm):
# Override any validation error messages defined at the model level
# with those defined at the form level.
opts = self._meta
- for field, messages in errors.error_dict.items():
+
View gist:c2dff2cac6acb05b7ba8
loic84: ping jarshwah_
11:09 jarshwah_: pong loic84
11:10 jarshwah_: I'm around for about 20 minutes then away for an hour or two
11:12 patrys has left IRC (Ping timeout: 246 seconds)
11:13 loic84: jarshwah_: cool that's plenty enough ;)
11:14 loic84: jarshwah_: what's the current status of expression for filter/exclude?
11:15 jarshwah_: as in the combining of Expressions and Lookups?
11:16 jarshwah_: I haven't done anything with it since my POC patch
11:16 jarshwah_: I've had ideas, but haven't got the chance to sit down and do it
11:16 loic84: is there a ticket?
View gist:6f451a411f7186994709
class F(Combinable):
def __init__(self, name):
self.name = name
self.functions = []
def __getattr__(self, name):
def wrapper(*args, **kwargs):
self.functions.append((name, args, kwargs))
return self
return wrapper
View foo.diff
diff --git a/crowd/backends.py b/crowd/backends.py
index 3b6bb7f..b854ddf 100644
--- a/crowd/backends.py
+++ b/crowd/backends.py
@@ -21,12 +21,15 @@ class CrowdBackend(ModelBackend):
myCookie = ''
theip = ''
+ @staticmethod
def get_cookie():