diff --git a/rrs/views.py b/rrs/views.py index 432e30a..fae34d6 100644 --- a/rrs/views.py +++ b/rrs/views.py @@ -76,15 +76,6 @@ class Raw(): remahi: Recipe Maintainer History """ - @staticmethod - def get_re_all(): - """ Get all Recipes """ - cur = connection.cursor() - cur.execute("""SELECT id, pn, pv, summary - FROM layerindex_recipe; - """) - return Raw.dictfetchall(cur) - @staticmethod def get_re_by_mantainer_and_date(maintainer, date_id): """ Get Recipes based on Maintainer and Recipe Maintainer History """ @@ -214,18 +205,6 @@ class Raw(): """, [date]) return Raw.dictfetchall(cur) - @staticmethod - def get_reupg_by_dates(start_date, end_date): - """ Get Recipe Upgrade for the milestone """ - cur = connection.cursor() - cur.execute("""SELECT id, recipe_id, maintainer_id, author_date, commit_date - FROM rrs_recipeupgrade - WHERE commit_date >= %s - AND commit_date <= %s - ORDER BY commit_date DESC; - """, [start_date, end_date]) - return Raw.dictfetchall(cur) - @staticmethod def get_reupg_by_dates_and_recipes(start_date, end_date, recipes_id): """ Get Recipe Upgrade for the milestone based on Recipes """