From 6aa42538c56dfd614d44f021b04ea1a311b87c2a Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Aug 29 2016 10:41:08 +0000 Subject: Added realname and description data for groups in the dev data generator --- diff --git a/dev-data.py b/dev-data.py index 5dfceb9..293d094 100644 --- a/dev-data.py +++ b/dev-data.py @@ -94,6 +94,8 @@ def insert_data(session, username, user_email): item = pagure.lib.model.PagureGroup( group_name='admin', user_id=1, + display_name='admin', + description='Admin Group', ) session.add(item) session.commit() @@ -103,6 +105,8 @@ def insert_data(session, username, user_email): group_name='group', group_type='user', user_id=1, # pingou + display_name='group group', + description='this is a group group', ) session.add(item) session.commit() @@ -111,6 +115,8 @@ def insert_data(session, username, user_email): group_name='rel-eng', group_type='user', user_id=1, # pingou + display_name='Release Engineering', + description='The group of release engineers', ) session.add(item) session.commit()