Skip to content

Commit

Permalink
Fix RemovedInDjango19Warning
Browse files Browse the repository at this point in the history
Deals with #73
  • Loading branch information
vmarkovtsev committed Oct 6, 2015
1 parent d431e9b commit 02616c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions threadedcomments/__init__.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
"""
Change the attributes you want to customize
"""
from threadedcomments.models import ThreadedComment
from threadedcomments.forms import ThreadedCommentForm

This comment has been minimized.

Copy link
@mrmachine

mrmachine Oct 8, 2015

Removing these imports broke our project. It's probably also broken django-fluent-comments. See https://github.com/edoburu/django-fluent-comments/blob/master/fluent_comments/__init__.py#L16



# following PEP 440
__version__ = "1.0"

def get_model():
from threadedcomments.models import ThreadedComment
return ThreadedComment

def get_form():
from threadedcomments.forms import ThreadedCommentForm
return ThreadedCommentForm

0 comments on commit 02616c3

Please sign in to comment.