File tree Expand file tree Collapse file tree 9 files changed +64
-89
lines changed Expand file tree Collapse file tree 9 files changed +64
-89
lines changed Original file line number Diff line number Diff line change
1
+ language : python
2
+ python :
3
+ - 2.6
4
+ - 2.7
5
+ - 3.2
6
+ - 3.3
7
+ - 3.4
8
+ env :
9
+ - DJANGO=1.4
10
+ - DJANGO=1.5
11
+ - DJANGO=1.6
12
+ - DJANGO=1.7
13
+ - DJANGO=1.8
14
+ matrix :
15
+ exclude :
16
+ - python : 2.6
17
+ env : DJANGO=1.8
18
+ - python : 2.6
19
+ env : DJANGO=1.7
20
+ - python : 3.2
21
+ env : DJANGO=1.4
22
+ - python : 3.3
23
+ env : DJANGO=1.4
24
+ - python : 3.4
25
+ env : DJANGO=1.4
26
+ fast_finish : true
27
+ install :
28
+ - pip install -U setuptools
29
+ - python bootstrap.py
30
+ - ./bin/buildout versions:django=$DJANGO
31
+ before_script :
32
+ - ./bin/flake8 tagging
33
+ script :
34
+ - ./bin/test-and-cover
35
+ after_success :
36
+ - ./bin/coveralls
37
+ notifications :
38
+ irc :
39
+ - " irc.freenode.org#django-tagging"
Original file line number Diff line number Diff line change 1
1
Django Tagging
2
2
--------------
3
3
4
- Copyright (c) 2007, Jonathan Buchanan
4
+ Copyright (c) 2007-2015 , Jonathan Buchanan, Julien Fache
5
5
6
6
Permission is hereby granted, free of charge, to any person obtaining a copy of
7
7
this software and associated documentation files (the "Software"), to deal in
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ CHANGELOG.txt
3
3
INSTALL.txt
4
4
LICENSE.txt
5
5
MANIFEST.in
6
- README.txt
6
+ README.rst
7
7
setup.py
8
8
docs/overview.txt
9
9
tagging/__init__.py
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ include CHANGELOG.txt
2
2
include INSTALL.txt
3
3
include LICENSE.txt
4
4
include MANIFEST.in
5
- include README.txt
5
+ include README.rst
6
6
recursive-include docs *.txt
7
7
recursive-include tagging/tests *.txt
Original file line number Diff line number Diff line change
1
+ ==============
2
+ Django Tagging
3
+ ==============
4
+
5
+ |travis-develop | |coverage-develop |
6
+
7
+ This is a generic tagging application for Django projects
8
+
9
+ For installation instructions, see the file "INSTALL.txt" in this
10
+ directory; for instructions on how to use this application, and on
11
+ what it provides, see the file "overview.txt" in the "docs/"
12
+ directory.
13
+
14
+ .. |travis-develop | image :: https://travis-ci.org/Fantomas42/django-tagging.png?branch=develop
15
+ :alt: Build Status - develop branch
16
+ :target: http://travis-ci.org/Fantomas42/django-tagging
17
+ .. |coverage-develop | image :: https://coveralls.io/repos/Fantomas42/django-tagging/badge.png?branch=develop
18
+ :alt: Coverage of the code
19
+ :target: https://coveralls.io/r/Fantomas42/django-tagging
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -355,12 +355,12 @@ def test_update_tags_exotic_characters(self):
355
355
self .assertEqual (tags [0 ].name , '你好' )
356
356
357
357
def test_unicode_tagged_object (self ):
358
- self .dead_parrot .state = u "dëad"
358
+ self .dead_parrot .state = "dëad"
359
359
self .dead_parrot .save ()
360
- Tag .objects .update_tags (self .dead_parrot , u 'föo' )
360
+ Tag .objects .update_tags (self .dead_parrot , 'föo' )
361
361
items = TaggedItem .objects .all ()
362
362
self .assertEqual (len (items ), 1 )
363
- self .assertEqual (six .text_type (items [0 ]), u "dëad [föo]" )
363
+ self .assertEqual (six .text_type (items [0 ]), "dëad [föo]" )
364
364
365
365
def test_update_tags_with_none (self ):
366
366
# start off in a known, mildly interesting state
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments