Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

move LICENSE.txt and README.txt

git-svn-id: http://django-tagging-autocomplete.googlecode.com/svn/trunk@21 4240b40c-c864-11de-9e96-3193d784f102
  • Loading branch information...
commit 75b1abcfa98a675fe157ebaaa318777c3a89261e 1 parent 2fd5361
ludwik authored

Showing 3 changed files with 55 additions and 3 deletions. Show diff stats Hide diff stats

  1. +20 0 LICENSE.txt
  2. +32 0 README.txt
  3. +3 3 setup.py
20 LICENSE.txt
... ... @@ -0,0 +1,20 @@
  1 +Copyright (c) 2009 Ludwik Trammer
  2 +
  3 +Permission is hereby granted, free of charge, to any person obtaining a copy
  4 +of this software and associated documentation files (the "Software"), to deal
  5 +in the Software without restriction, including without limitation the rights
  6 +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7 +copies of the Software, and to permit persons to whom the Software is
  8 +furnished to do so, subject to the following conditions:
  9 +
  10 +The above copyright notice and this permission notice shall be included in
  11 +all copies or substantial portions of the Software.
  12 +
  13 +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14 +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15 +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16 +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17 +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18 +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19 +THE SOFTWARE.
  20 +
32 README.txt
... ... @@ -0,0 +1,32 @@
  1 +*** Instalation ***
  2 +
  3 + 1. You need to have django-tagging already installed
  4 + 2. Download django-tagging-autocomplete and use setup.py to install it on your system:
  5 + python setup.py install
  6 + 3. Download jquery-autocomplete and put it in the folder specified in your project's MEDIA_URL setting. If you want to put it somewhere else add TAGGING_AUTOCOMPLETE_JS_BASE_URL to your project settings.
  7 + 4. Add "tagging_autocomplete" to installed apps in your project's settings.
  8 + 5. Add the following line to your project's urls.py file:
  9 +
  10 + (r'^tagging_autocomplete/', include('tagging_autocomplete.urls')),
  11 +
  12 +*** Usage ***
  13 +** Using the model field **
  14 +
  15 +You can use TagAutocompleteField to enable autocomplition right in your models.py file. In most cases this is the easiest solution. Example:
  16 +
  17 +from django.db import models
  18 +from tagging_autocomplete.models import TagAutocompleteField
  19 +
  20 +class SomeModel(models.Model):
  21 + tags = TagAutocompleteField()
  22 +
  23 +** Using the form widget **
  24 +
  25 +Alternatively you can use the TagAutocomplete form widget while creating your form. For example:
  26 +
  27 +from django import forms
  28 +from tagging.forms import TagField
  29 +from tagging_autocomplete.widgets import TagAutocomplete
  30 +
  31 +class SomeForm(forms.Form):
  32 + tags = TagField(widget=TagAutocomplete())
6 setup.py
... ... @@ -1,15 +1,15 @@
1 1 # -*- coding: utf-8 -*-
2 2 from setuptools import setup, find_packages
3 3
4   -long_description = open('tagging_autocomplete/README.txt').read()
  4 +long_description = open('README.txt').read()
5 5
6 6 setup(
7 7 name='django-tagging-autocomplete',
8   - version='0.1',
  8 + version='0.3.1',
9 9 description='Autocompletion for django-tagging',
10 10 long_description=long_description,
11 11 author='Ludwik Trammer',
12   - #author_email='',
  12 + author_email='ludwik@gmail.com',
13 13 url='http://code.google.com/p/django-tagging-autocomplete/',
14 14 packages=find_packages(),
15 15 classifiers=[

0 comments on commit 75b1abc

Please sign in to comment.
Something went wrong with that request. Please try again.