77from django .core .urlresolvers import reverse
88from django .db import models
99from django .template .defaultfilters import slugify
10- from django .utils .encoding import python_2_unicode_compatible
1110from django_extensions .db .fields import AutoSlugField
1211from hashids import Hashids
1312from rest_framework .reverse import reverse as rf_reverse
2625from junction .conferences .models import Conference , ConferenceProposalReviewer
2726
2827
29- @python_2_unicode_compatible
3028class ProposalSection (AuditModel ):
3129
3230 """ List of Proposal Sections"""
@@ -42,7 +40,6 @@ def __str__(self):
4240 return self .name
4341
4442
45- @python_2_unicode_compatible
4643class ProposalSectionReviewer (AuditModel ):
4744
4845 """ List of Proposal Section Reviewers"""
@@ -61,7 +58,6 @@ def __str__(self):
6158 return "{}:[{}]" .format (self .conference_reviewer , self .proposal_section )
6259
6360
64- @python_2_unicode_compatible
6561class ProposalType (AuditModel ):
6662
6763 """ List of Proposal Types """
@@ -77,7 +73,6 @@ def __str__(self):
7773 return self .name
7874
7975
80- @python_2_unicode_compatible
8176class Proposal (TimeAuditModel ):
8277
8378 """ The proposals master """
@@ -263,7 +258,6 @@ class Meta:
263258 unique_together = ("conference" , "slug" )
264259
265260
266- @python_2_unicode_compatible
267261class ProposalVote (TimeAuditModel ):
268262
269263 """ User vote for a specific proposal """
@@ -293,7 +287,6 @@ def get_reviewers_only_comments(self):
293287 return self .filter (reviewer = True , vote = False )
294288
295289
296- @python_2_unicode_compatible
297290class ProposalSectionReviewerVoteValue (AuditModel ):
298291 """ Proposal reviewer vote choices. """
299292
@@ -307,7 +300,6 @@ class Meta:
307300 ordering = ("-vote_value" ,)
308301
309302
310- @python_2_unicode_compatible
311303class ProposalSectionReviewerVote (TimeAuditModel ):
312304
313305 """ Reviewer vote for a specific proposal """
@@ -334,7 +326,6 @@ class Meta:
334326
335327
336328# FIXME: Need to move private, reviewer, vote to type
337- @python_2_unicode_compatible
338329class ProposalComment (TimeAuditModel ):
339330
340331 """ User comments for a specific proposal """
@@ -421,7 +412,6 @@ def get_comment_type(self):
421412 return "Public"
422413
423414
424- @python_2_unicode_compatible
425415class ProposalCommentVote (TimeAuditModel ):
426416
427417 """ User vote for a specific proposal's comment """
0 commit comments