diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2015-01-22 17:53:59 -0600 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-05-04 23:57:51 +1200 |
commit | a021f8d44147099a151b44442a81340c99f5cfa3 (patch) | |
tree | 37c7ca2d98545a049adc4c09b105133fbf7bce1d /rrs/models.py | |
parent | a7ede0d126b4dadff6879176a5b84461dfd3482c (diff) | |
download | openembedded-core-contrib-a021f8d44147099a151b44442a81340c99f5cfa3.tar.gz |
rrs: Recipes add url validation
Add url validation for Milestone and Upstream status and maintainer name
params if isn't valid raise HTTP 404.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Diffstat (limited to 'rrs/models.py')
-rw-r--r-- | rrs/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rrs/models.py b/rrs/models.py index c23a397b65..31577bb33b 100644 --- a/rrs/models.py +++ b/rrs/models.py @@ -101,6 +101,7 @@ class RecipeUpstreamHistory(models.Model): class RecipeUpstream(models.Model): RECIPE_UPSTREAM_STATUS_CHOICES = ( + ('A', 'All'), ('N', 'Not updated'), ('Y', 'Up-to-date'), ('D', 'Downgrade'), |