-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Sorry, something went wrong. |
||
|
||
|
||
# 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 |
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