X Tutup
Skip to content

Commit d91dfd3

Browse files
committed
App renamed (for namespace/sanity/because it's really different reasons).
1 parent acc1f5c commit d91dfd3

38 files changed

+154
-150
lines changed

AUTHORS

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
Primary Authors:
22

3-
* Daniel Lindsley
3+
* Daniel Lindsley (most of the code, much of the documentation)
4+
* Matt Croydon (documentation, sanity checks and the sweet name)
45

56

6-
Documentation:
7-
8-
* Daniel Lindsley
9-
* Matt Croydon
10-
11-
12-
Portions of the original implementation that remain written by:
7+
Portions of the original implementation of djangosearch that remain written by:
138

149
* Joseph Kocherhans
1510
* Jacob Kaplan-Moss

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ of conditions and the following disclaimer.
1010
Redistributions in binary form must reproduce the above copyright notice, this
1111
list of conditions and the following disclaimer in the documentation and/or
1212
other materials provided with the distribution.
13-
Neither the name of the djangosearch nor the names of its contributors may be
13+
Neither the name of the haystack nor the names of its contributors may be
1414
used to endorse or promote products derived from this software without specific
1515
prior written permission.
1616
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND

djangosearch/tests/__init__.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

djangosearch/tests/urls.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

djangosearch/urls.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/conf.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# -*- coding: utf-8 -*-
22
#
3-
# Djangosearch documentation build configuration file, created by
3+
# Haystack documentation build configuration file, created by
44
# sphinx-quickstart on Wed Jan 28 13:21:17 2009.
55
#
66
# This file is execfile()d with the current directory set to its containing dir.
@@ -41,8 +41,8 @@
4141
master_doc = 'index'
4242

4343
# General information about the project.
44-
project = u'Djangosearch'
45-
copyright = u'2009, Joseph Kocherhans, Daniel Lindsley'
44+
project = u'Haystack'
45+
copyright = u'2009, Daniel Lindsley'
4646

4747
# The version info for the project you're documenting, acts as replacement for
4848
# |version| and |release|, also used in various other places throughout the
@@ -153,7 +153,7 @@
153153
#html_file_suffix = ''
154154

155155
# Output file base name for HTML help builder.
156-
htmlhelp_basename = 'Djangosearchdoc'
156+
htmlhelp_basename = 'Haystackdoc'
157157

158158

159159
# Options for LaTeX output
@@ -168,8 +168,8 @@
168168
# Grouping the document tree into LaTeX files. List of tuples
169169
# (source start file, target name, title, author, document class [howto/manual]).
170170
latex_documents = [
171-
('index', 'Djangosearch.tex', ur'Djangosearch Documentation',
172-
ur'Joseph Kocherhans, Daniel Lindsley', 'manual'),
171+
('index', 'Haystack.tex', ur'Haystack Documentation',
172+
ur'Daniel Lindsley', 'manual'),
173173
]
174174

175175
# The name of an image file (relative to this directory) to place at the top of

docs/creating_new_backends.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ The process should be fairly simple.
77
#. Create new backend file. Name is important.
88
#. Two classes inside.
99

10-
#. SearchBackend (inherit from djangosearch.backends.BaseSearchBackend)
11-
#. SearchQuery (inherit from djangosearch.backends.BaseSearchQuery)
10+
#. SearchBackend (inherit from haystack.backends.BaseSearchBackend)
11+
#. SearchQuery (inherit from haystack.backends.BaseSearchQuery)
1212

1313

1414
SearchBackend

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
.. Djangosearch documentation master file, created by sphinx-quickstart on Wed Jan 28 13:21:17 2009.
1+
.. Haystack documentation master file, created by sphinx-quickstart on Wed Jan 28 13:21:17 2009.
22
You can adapt this file completely to your liking, but it should at least
33
contain the root `toctree` directive.
44
5-
Welcome to Djangosearch's documentation!
5+
Welcome to Haystack's documentation!
66
========================================
77

88
.. toctree::

docs/modelindex_api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Quick Start
1313
For the impatient::
1414

1515
import datetime
16-
from djangosearch import indexes
17-
from djangosearch.sites import site
16+
from haystack import indexes
17+
from haystack.sites import site
1818
from myapp.models import Note
1919
2020

docs/searchqueryset_api.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Quick Start
2626

2727
For the impatient::
2828

29-
from djangosearch.query import SearchQuerySet
29+
from haystack.query import SearchQuerySet
3030
all_results = SearchQuerySet().all()
3131
hello_results = SearchQuerySet().filter(content='hello')
3232
hello_world_results = SearchQuerySet().filter(content='hello world')
@@ -45,7 +45,7 @@ Most methods in ``SearchQuerySet`` "chain" in a similar fashion to ``QuerySet``.
4545
Additionally, like ``QuerySet``, ``SearchQuerySet`` is lazy (meaning it evaluates the
4646
query as late as possible). So the following is valid::
4747

48-
from djangosearch.query import SearchQuerySet
48+
from haystack.query import SearchQuerySet
4949
results = SearchQuerySet().exclude(content='hello').filter(content='world').order_by('-pub_date').boost('title', 0.5)[10:20]
5050

5151

0 commit comments

Comments
 (0)
X Tutup