Commits

Anonymous committed 50982a9

add some tags

Comments (0)

Files changed (12)

 # use glob syntax.
 syntax: glob
 
+dist/*
+jingo_tags.egg-info/*
+build/*
 *.elc
 *.pyc
 *.swp
+# file GENERATED by distutils, do NOT edit
+setup.py
+jingo_tags/__init__.py

Empty file added.

Add a comment to this file

jingo_tags/django/__init__.py

Empty file added.

Add a comment to this file

jingo_tags/django/helpers.py

Empty file added.

Add a comment to this file

jingo_tags/guardian/__init__.py

Empty file added.

jingo_tags/guardian/helpers.py

+#-*- coding:utf-8 -*-
+from jingo import register
+from guardian.shortcuts import get_perms as guardian_get_perms
+
+
+@register.function
+def get_perms(user, obj):
+    return guardian_get_perms(user, obj)
Add a comment to this file

jingo_tags/pymorphy/__init__.py

Empty file added.

jingo_tags/pymorphy/helpers.py

+#-*- coding:utf-8 -*-
+from pymorphy.django_conf import default_morph
+from jingo import register
+
+
+@register.filter
+def plural(string, count):
+    string = unicode(string)
+    result = default_morph.pluralize_inflected_ru(string.upper(), count)
+    return result.lower()
Add a comment to this file

jingo_tags/sorl/__init__.py

Empty file added.

Add a comment to this file

jingo_tags/sorl/helpers.py

Empty file added.

+try:
+    from setuptools import setup
+except ImportError:
+    from distutils.core import setup
+
+
+setup(
+    name='jingo_tags',
+    packages=['jingo_tags'],
+    version='0.0.1a',
+    description='Jingo tags for popular django applications',
+    author='Yevgeniy Shchemelev',
+    author_email='shchemelevev@gmail.com',
+    url='https://bitbucket.org/silver_sky/jingo_tags',
+    license='License :: OSI Approved :: GNU General Public License (GPL)',
+    classifiers=[
+        'Development Status :: 2 - Pre-Alpha',
+        'Environment :: Web Environment',
+        'Environment :: Console',
+        'Environment :: Plugins',
+        'Framework :: Django',
+        'Intended Audience :: Developers',
+        'Operating System :: MacOS :: MacOS X',
+        'Operating System :: Microsoft :: Windows',
+        'Operating System :: POSIX',
+        'Programming Language :: Python',
+        'Topic :: Internet',
+        'Topic :: Software Development :: Libraries :: Python Modules',
+    ],
+)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.