<file_sep>from test_basic_tagging import *<file_sep>""" various tagging_ext template tags """

from django.template import Library
from django.conf import settings

register = Library()

@register.inclusion_tag("tagging_ext/includes.html")
def wysiwyg_setup(protocol="http"):
    """
Create the <style> and <script> tags needed to initialize the rich text editor.
 
Create a local tagging_ext/includes.html template if you don't want to use Yahoo's CDN
"""
    return {"protocol": protocol}<file_sep>"""
Tests basic django-tagging-ext functions

"""

from django.conf import settings
from django.contrib.auth.models import User
from django.test import TestCase
from django.test.client import Client
from django.utils import simplejson

class TestSearchForms(TestCase):
    fixtures = ['auth.json','blog.json']
    
    def setUp(self):
        pass
        
    def tearDown(self):
        pass
        
    def blah(self):
        pass
    <file_sep>from setuptools import setup, find_packages
 
version = '0.1.0'
 
LONG_DESCRIPTION = """
=====================================
django-tagging-ext
=====================================
 
`django-tagging`_ gives you a lot of useful capabilities but it doesn't provide
 you with attractive views or synonym handling. This addresses those issues
  and more. 
"""
 
setup(
    name='django-tagging-ext',
    version=version,
    description="Adds in lots of features to supplement django-tagging",
    long_description=LONG_DESCRIPTION,
    classifiers=[
        "Programming Language :: Python",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Framework :: Django",
        "Environment :: Web Environment",
    ],
    keywords='django,pinax',
    author='<NAME>',
    author_email='<EMAIL>',
    url='http://github.com/pydanny/django-tagging-ext/tree/master',
    license='MIT',
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    install_requires=['setuptools'],
    setup_requires=['setuptools_git'],
)<file_sep>""" Here for backwards compatability with Pinax's old tag_app """

from django.template import Library
from django.conf import settings

register = Library()

@register.inclusion_tag("pinax_legacy/tag_list.html")
def show_tags_for(obj):
    return {
        "obj": obj,
        "MEDIA_URL": settings.MEDIA_URL,
        "STATIC_URL": settings.STATIC_URL,
    }

@register.inclusion_tag("pinax_legacy/tag_count_list.html")
def show_tag_counts(tag_counts):
    return {"tag_counts": tag_counts}