-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renamed directory, name of the app and fixed a syntax error
- Loading branch information
1 parent
4a31c07
commit c898be9
Showing
16 changed files
with
673 additions
and
9 deletions.
There are no files selected for viewing
File renamed without changes.
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,11 +1,11 @@ | ||
"""Template context processor for askbot's classifytags app | ||
"""Template context processor for askbot's categorizetags app | ||
""" | ||
|
||
def application_settings(request): | ||
"""The context processor function""" | ||
from django.utils import simplejson | ||
from classifytags.models import generate_tree | ||
from categorizetags.models import generate_tree | ||
return { | ||
'cats_tree': simplejson.dumps(generate_tree()) | ||
'cats_tree': simplejson.dumps(generate_tree()), | ||
'current_category': request.session.get('current_category', None) | ||
} |
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
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
File renamed without changes.
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
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