Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
django-taggit
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2557150b
authored
Mar 25, 2013
by
Florian Apolloner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prepare for 0.10a1 and fixed an order dependent test.
parent
ce666a0d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
11 deletions
+12
-11
MANIFEST.in
+4
-3
setup.py
+5
-5
taggit/__init__.py
+1
-1
taggit/tests/tests.py
+2
-2
No files found.
MANIFEST.in
View file @
2557150b
include LICENSE
include CHANGELOG.txt
include AUTHORS
include CHANGELOG.txt
include LICENSE
include README.rst
recursive-include docs *
.txt
recursive-include docs *
recursive-include taggit/locale *
recursive-include tests *
setup.py
View file @
2557150b
from
setuptools
import
setup
,
find_packages
from
taggit
import
VERSION
f
=
open
(
'README.rst'
)
readme
=
f
.
read
()
...
...
@@ -9,21 +7,21 @@ f.close()
setup
(
name
=
'django-taggit'
,
version
=
"."
.
join
(
map
(
str
,
VERSION
))
,
version
=
'0.10a1'
,
description
=
'django-taggit is a reusable Django application for simple tagging.'
,
long_description
=
readme
,
author
=
'Alex Gaynor'
,
author_email
=
'alex.gaynor@gmail.com'
,
url
=
'http://github.com/alex/django-taggit/tree/master'
,
packages
=
find_packages
(),
zip_safe
=
False
,
package_data
=
{
'taggit'
:
[
'locale/*/LC_MESSAGES/*'
,
],
},
license
=
'BSD'
,
classifiers
=
[
'Development Status ::
3 - Alpha
'
,
'Development Status ::
5 - Production/Stable
'
,
'Environment :: Web Environment'
,
'Intended Audience :: Developers'
,
'License :: OSI Approved :: BSD License'
,
...
...
@@ -32,4 +30,6 @@ setup(
'Framework :: Django'
,
],
test_suite
=
'taggit.tests.runtests.runtests'
,
include_package_data
=
True
,
zip_safe
=
False
,
)
taggit/__init__.py
View file @
2557150b
VERSION
=
(
0
,
10
,
0
,
'alpha'
,
0
)
VERSION
=
(
0
,
10
,
0
,
'alpha'
,
1
)
taggit/tests/tests.py
View file @
2557150b
...
...
@@ -229,8 +229,8 @@ class TaggableManagerTestCase(BaseTaggingTestCase):
guava
=
self
.
food_model
.
objects
.
create
(
name
=
"guava"
)
self
.
assertEqual
(
map
(
lambda
o
:
o
.
pk
,
self
.
food_model
.
objects
.
exclude
(
tags__name__in
=
[
"red"
]
)),
[
pear
.
pk
,
guava
.
pk
]
,
sorted
(
map
(
lambda
o
:
o
.
pk
,
self
.
food_model
.
objects
.
exclude
(
tags__name__in
=
[
"red"
])
)),
sorted
([
pear
.
pk
,
guava
.
pk
])
,
)
def
test_similarity_by_tag
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment