Metadata-Version: 1.0
Name: django-like
Version: 0.0.1
Summary: Django application that provider like and ilike lookup in the querysets
Home-page: https://github.com/goinnn/django-like
Author: Pablo Martin
Author-email: goinnn@gmail.com
License: LGPL 3
Description: .. contents::
        
        ===========
        Django Like
        ===========
        
        Information
        ===========
        
        Django Like is a Django application that adds other useful fields.
        
        It is distributed under the terms of the GNU Lesser General Public
        License <http://www.gnu.org/licenses/lgpl.html>
        
        
        Requeriments
        ============
        
        Django 1.1 (or higher). It's possible that works with other versions lower 1.1
        
        
        Installation
        ============
        
        In your settings.py
        -------------------
        
        ::
        
            INSTALLED_APPS = (
        
                'django_like',
        
            )
        
        Or apply the next `Patch <http://github.com/goinnn/django-like/blob/master/src/patch/patch.r17282>`_ (This is not neccesary, you can install the app)
        
        Usage
        =====
        
        Anything that you can to do with `like <http://en.wikipedia.org/wiki/Where_(SQL)#LIKE>`_ sentence in SQL
        
        ::
        
            MyModel.objects.filter(field_name__like='xx%YY%zz')
            MyModel.objects.filter(field_name__ilike='xx%yy%zz')
            User.objects.filter(username__like='a%in')
        
        It is more quick that something like this, and more readable:
        
        ::
        
            MyModel.objects.filter(field_name__regex='^xx.*YY.*zz$')
        
        This app provider two new `lookups <http://docs.djangoproject.com/en/dev/topics/db/queries/#field-lookups>`_: like and ilike.
        
        Reported
        ========
        
         * `Stack overflow <http://stackoverflow.com/questions/8644146/django-query-how-to-write-where-field-like-10-8-0>`_
         * Ticket in `Django <https://code.djangoproject.com/ticket/17473>`_
         * `Pull request <http://github.com/django/django/pull/99>`_
        
        
        Development
        ===========
        
        You can get the leading edge version of django-like by doing a checkout
        of its repository:
        
          https://github.com/goinnn/django-like
        
        
        0.0.1  (2011-12-28)
        ===================
        
        * First version to django-like
        
Keywords: django,querysets,lookup,like,ilike
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Django
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
