Skip to content

Commit

Permalink
renamed directory, name of the app and fixed a syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
evgenyfadeev committed May 25, 2011
1 parent 4a31c07 commit c898be9
Show file tree
Hide file tree
Showing 16 changed files with 673 additions and 9 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions classifytags/context.py → categorizetags/context.py
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.
664 changes: 664 additions & 0 deletions categorizetags/tests.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion classifytags/urls.py → categorizetags/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from django.conf.urls.defaults import url, patterns
from django.conf.urls.defaults import handler500, handler404
from django.contrib import admin
from classifytags import views
from categorizetags import views

admin.autodiscover()
urlpatterns = patterns('',
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions classifytags/views.py → categorizetags/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

from django.conf import settings as settings
from askbot.models import Tag
from classifytags.utils import CategoriesApiTokenGenerator
from classifytags.models import generate_tree
from categorizetags.utils import CategoriesApiTokenGenerator
from categorizetags.models import generate_tree


def admin_ajax_post(view_func):
Expand Down
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
import sys

setup(
name = "classifytags",
name = "categorizetags",
version = '0.0.1',
description = 'A Django application created for askbot project to categorize tags',
packages = find_packages(),
author = 'Evgeny.Fadeev, Ramiro Morales',
author_email = 'evgeny.fadeev@gmail.com',
license = 'BSD License',
keywords = 'follow, database, django',
url = 'https://github.com/ASKBOT/django-classifytags',
url = 'https://github.com/ASKBOT/django-categorizetags',
install_requires = ('django-mptt', 'django-categories',),
include_package_data = True,
classifiers = [
Expand All @@ -28,6 +28,6 @@
'Programming Language :: JavaScript',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
long_description = """The ``classifytags` django app allows to categorize
long_description = """The ``categorizetags` django app allows to categorize
tags in askbot forum, the app is only experimental."""
)

0 comments on commit c898be9

Please sign in to comment.