Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Commit

Permalink
[Fix bug 1115378] Add Mozilla Pontoon profile to external accounts.
Browse files Browse the repository at this point in the history
  • Loading branch information
swarnava authored and johngian committed Feb 3, 2015
1 parent c8a16f3 commit ba06bff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mozillians/users/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,7 @@ class ExternalAccount(models.Model):
TYPE_MOVERBATIM = 'MOZILLAVERBATIM'
TYPE_MOLOCOMOTION = 'MOZILLALOCOMOTION'
TYPE_MOLOCATION = 'MOZILLALOCATION'
TYPE_MOPONTOON = 'MOZILLAPONTOON'
TYPE_TRANSIFEX = 'TRANSIFEX'

# Account type field documentation:
Expand Down Expand Up @@ -820,6 +821,9 @@ class ExternalAccount(models.Model):
TYPE_MOLOCOMOTION: {'name': 'Mozilla Locomotion',
'url': 'http://mozilla.locamotion.org/accounts/{identifier}/',
'validator': validate_username_not_url},
TYPE_MOPONTOON: {'name': 'Mozilla Pontoon',
'url': 'https://pontoon.mozilla.org/contributor/{identifier}/',
'validator': validate_email},
TYPE_TRANSIFEX: {'name': 'Transifex',
'url': 'https://www.transifex.com/accounts/profile/{identifier}/',
'validator': validate_username_not_url},
Expand Down

0 comments on commit ba06bff

Please sign in to comment.