Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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