Skip to content

Commit

Permalink
Remove user skills.
Browse files Browse the repository at this point in the history
Specifying the skills required to contribute to a hunch has always been
kind of weird and exclusive. It doesn't fit in the form either, so I'm
removing it.
  • Loading branch information
adammck committed Nov 17, 2011
1 parent b5d2c36 commit 1a65c1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 54 deletions.
55 changes: 7 additions & 48 deletions hunchworks/fixtures/sample_data.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,40 +75,6 @@
},


{
"pk": 1,
"model": "hunchworks.skill",
"fields":
{
"name": "Programming"
}
},
{
"pk": 2,
"model": "hunchworks.skill",
"fields":
{
"name": "Welding"
}
},
{
"pk": 3,
"model": "hunchworks.skill",
"fields":
{
"name": "Bomb dissarming"
}
},
{
"pk": 4,
"model": "hunchworks.skill",
"fields":
{
"name": "Flying license"
}
},


{
"pk": 1,
"model": "auth.user",
Expand Down Expand Up @@ -262,8 +228,7 @@
{
"user": 3,
"name": "Test User",
"email": "[email protected]",
"skills": [1,3]
"email": "[email protected]"
}
},
{
Expand All @@ -273,8 +238,7 @@
{
"user": 3,
"name": "Sean Rivello",
"email": "[email protected]",
"skills": [2]
"email": "[email protected]"
}
},
{
Expand All @@ -284,8 +248,7 @@
{
"user": 4,
"name": "Mark Spiegelman",
"email": "[email protected]",
"skills": [3]
"email": "[email protected]"
}
},
{
Expand All @@ -295,8 +258,7 @@
{
"user": 5,
"name": "Helena Cabag",
"email": "[email protected]",
"skills": [2,4]
"email": "[email protected]"
}
},
{
Expand All @@ -306,8 +268,7 @@
{
"user": 6,
"name": "Betty Heral",
"email": "[email protected]",
"skills": [2,4]
"email": "[email protected]"
}
},
{
Expand All @@ -317,8 +278,7 @@
{
"user": 7,
"name": "Margunn Grabow",
"email": "[email protected]",
"skills": [2,4]
"email": "[email protected]"
}
},
{
Expand All @@ -328,8 +288,7 @@
{
"user": 8,
"name": "Jen Maura",
"email": "[email protected]",
"skills": [2,4]
"email": "[email protected]"
}
},

Expand Down
6 changes: 0 additions & 6 deletions hunchworks/hunchworks_enums.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,6 @@ class PrivacyLevel(Enum):
}


class SkillLevel(Enum):
"""Enum representing the various skill levels a user can have in a subject."""
EXPERT = 0
SKILLED = 1


class GroupType(Enum):
"""Enum representing the types of groups that can be made"""
MAP = {}
Expand Down

0 comments on commit 1a65c1e

Please sign in to comment.