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 """
@@ -260,7 +255,6 @@ class Meta:
260255 unique_together = ("conference" , "slug" )
261256
262257
263- @python_2_unicode_compatible
264258class ProposalVote (TimeAuditModel ):
265259
266260 """ User vote for a specific proposal """
@@ -290,7 +284,6 @@ def get_reviewers_only_comments(self):
290284 return self .filter (reviewer = True , vote = False )
291285
292286
293- @python_2_unicode_compatible
294287class ProposalSectionReviewerVoteValue (AuditModel ):
295288 """ Proposal reviewer vote choices. """
296289
@@ -304,7 +297,6 @@ class Meta:
304297 ordering = ("-vote_value" ,)
305298
306299
307- @python_2_unicode_compatible
308300class ProposalSectionReviewerVote (TimeAuditModel ):
309301
310302 """ Reviewer vote for a specific proposal """
@@ -331,7 +323,6 @@ class Meta:
331323
332324
333325# FIXME: Need to move private, reviewer, vote to type
334- @python_2_unicode_compatible
335326class ProposalComment (TimeAuditModel ):
336327
337328 """ User comments for a specific proposal """
@@ -418,7 +409,6 @@ def get_comment_type(self):
418409 return "Public"
419410
420411
421- @python_2_unicode_compatible
422412class ProposalCommentVote (TimeAuditModel ):
423413
424414 """ User vote for a specific proposal's comment """
0 commit comments