Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Unified Diff: chromium-committers/model.py

Issue 25515004: Add chromium-committers appengine app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chromium-committers/hmac_util.py ('k') | chromium-committers/static/favicon.ico » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromium-committers/model.py
===================================================================
--- chromium-committers/model.py (revision 0)
+++ chromium-committers/model.py (revision 0)
@@ -0,0 +1,24 @@
+# Copyright (c) 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+"""This file defines datastore models used throughout the app."""
+
+__author__ = 'agable@google.com (Aaron Gable)'
+
+
+from google.appengine.ext import ndb
+
+
+class EmailList(ndb.Model):
+ """Represents a list of email addresses.
+
+ Does not perform any validation on the email addresses.
+
+ This app uses the id/name (unique datastore key) of the object to hold the
+ google-group email address to which all these emails belong.
+
+ Attributes:
+ emails: List of strings, one per email.
+ """
+ emails = ndb.StringProperty(repeated=True)
« no previous file with comments | « chromium-committers/hmac_util.py ('k') | chromium-committers/static/favicon.ico » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698